	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function map_refspec
_map_refspec:                           ## @map_refspec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, -32(%rbp)
	leaq	-32(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_count_refspec_match
	cmpl	$1, %eax
	jne	LBB0_11
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.2:
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	-32(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_query_refspecs
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	-64(%rbp), %r8
	testq	%r8, %r8
	je	LBB0_5
## %bb.4:
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	cmpq	$0, -48(%rbp)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	movq	-56(%rbp), %rcx
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_strbuf_addf
LBB0_10:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_strbuf_detach
	movq	%rax, %r14
	jmp	LBB0_11
LBB0_5:
	movq	_push_default@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PUSH_DEFAULT_UPSTREAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.6:
	movq	-32(%rbp), %rax
	movq	(%rax), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	-32(%rbp), %rax
	movq	(%rax), %rdi
	addq	$11, %rdi
	callq	_branch_get
	cmpl	$1, (%rax)
	jne	LBB0_11
## %bb.8:
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.9:
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	leaq	L_.str.4(%rip), %rsi
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_strbuf_addf
	jmp	LBB0_10
LBB0_11:
	movq	%r14, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s:%s"

L_.str.1:                               ## @.str.1
	.asciz	"+"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_push_default,8,3               ## @push_default
	.comm	_PUSH_DEFAULT_UPSTREAM,8,3      ## @PUSH_DEFAULT_UPSTREAM
L_.str.3:                               ## @.str.3
	.asciz	"refs/heads/"

L_.str.4:                               ## @.str.4
	.asciz	"%s:%s"

	.no_dead_strip	_map_refspec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function map_refspec
_map_refspec:                           ; @map_refspec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x2
	mov	x20, x1
	mov	x19, x0
	stur	xzr, [x29, #-24]
	sub	x2, x29, #24
	mov	x1, x8
	bl	_count_refspec_match
	cmp	w0, #1
	b.ne	LBB0_11
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.2:
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldur	x8, [x29, #-24]
	ldr	x8, [x8]
	str	x8, [sp, #24]
	add	x1, sp, #16
	mov	x0, x20
	bl	_query_refspecs
	cbnz	w0, LBB0_6
; %bb.3:
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_6
; %bb.4:
Lloh0:
	adrp	x9, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [sp, #8]
Lloh3:
	adrp	x9, l_.str.1@PAGE
Lloh4:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh5:
	adrp	x10, l_.str.2@PAGE
Lloh6:
	add	x10, x10, l_.str.2@PAGEOFF
	ldp	x3, x11, [sp, #24]
	cmp	x11, #0
	csel	x2, x10, x9, eq
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strbuf_addf
	add	x0, sp, #8
LBB0_5:
	mov	x1, #0
	bl	_strbuf_detach
	mov	x19, x0
	b	LBB0_11
LBB0_6:
Lloh9:
	adrp	x8, _push_default@GOTPAGE
Lloh10:
	ldr	x8, [x8, _push_default@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _PUSH_DEFAULT_UPSTREAM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PUSH_DEFAULT_UPSTREAM@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.7:
	ldur	x8, [x29, #-24]
	ldr	x0, [x8]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_starts_with
	cbz	x0, LBB0_11
; %bb.8:
	ldur	x8, [x29, #-24]
	ldr	x8, [x8]
	add	x0, x8, #11
	bl	_branch_get
	ldr	w8, [x0]
	cmp	w8, #1
	b.ne	LBB0_11
; %bb.9:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x3, [x8]
	cbz	x3, LBB0_11
; %bb.10:
Lloh17:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [sp, #16]
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #16
	mov	x2, x19
	bl	_strbuf_addf
	add	x0, sp, #16
	b	LBB0_5
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s:%s"

l_.str.1:                               ; @.str.1
	.asciz	"+"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_push_default,8,3               ; @push_default
	.comm	_PUSH_DEFAULT_UPSTREAM,8,3      ; @PUSH_DEFAULT_UPSTREAM
l_.str.3:                               ; @.str.3
	.asciz	"refs/heads/"

l_.str.4:                               ; @.str.4
	.asciz	"%s:%s"

	.no_dead_strip	_map_refspec
.subsections_via_symbols
