	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_refspec_config
_write_refspec_config:                  ## @write_refspec_config
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %rdx
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -64(%rbp)
	movq	_option_mirror@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_option_bare@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_17
LBB0_2:
	movq	_option_single_branch@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_13
## %bb.3:
	testq	%rax, %rax
	jne	LBB0_13
## %bb.4:
	movq	_option_branch@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	je	LBB0_9
## %bb.5:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_starts_with
	movq	(%rbx), %rdx
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	leaq	-64(%rbp), %rdi
	movq	%rdx, %rcx
	xorl	%eax, %eax
	callq	_strbuf_addf
	jmp	LBB0_14
LBB0_13:
	movl	(%r14), %ecx
	leaq	L_.str.5(%rip), %rsi
	leaq	-64(%rbp), %rdi
	xorl	%eax, %eax
	callq	_strbuf_addf
	jmp	LBB0_14
LBB0_9:
	testq	%r15, %r15
	je	LBB0_14
## %bb.10:
	movq	(%r15), %rdi
	movq	%rdi, -88(%rbp)
	leaq	L_.str.3(%rip), %rsi
	leaq	-88(%rbp), %rdx
	callq	_skip_prefix
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.4(%rip), %rdi
	callq	_BUG
LBB0_12:
	movq	(%r15), %rdx
	movl	(%r14), %ecx
	movq	-88(%rbp), %r8
	jmp	LBB0_8
LBB0_7:
	movl	(%r14), %ecx
	movq	(%r13), %r8
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	leaq	-64(%rbp), %rdi
	xorl	%eax, %eax
	callq	_strbuf_addf
LBB0_14:
	cmpq	$0, -56(%rbp)
	je	LBB0_17
## %bb.15:
	movq	_option_origin@GOTPCREL(%rip), %r14
	movslq	(%r14), %rdx
	leaq	L_.str.6(%rip), %rsi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_strbuf_addf
	movl	-80(%rbp), %edi
	movl	-64(%rbp), %esi
	leaq	L_.str.7(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_git_config_set_multivar
	movq	%rbx, %rdi
	callq	_strbuf_reset
	cmpq	$0, (%r12)
	je	LBB0_17
## %bb.16:
	movslq	(%r14), %rdx
	leaq	L_.str.8(%rip), %rsi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_strbuf_addf
	movl	-80(%rbp), %edi
	leaq	L_.str.9(%rip), %rsi
	callq	_git_config_set
	movq	%rbx, %rdi
	callq	_strbuf_reset
LBB0_17:
	leaq	-80(%rbp), %rdi
	callq	_strbuf_release
	leaq	-64(%rbp), %rdi
	callq	_strbuf_release
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.comm	_option_mirror,8,3              ## @option_mirror
	.comm	_option_bare,4,2                ## @option_bare
	.comm	_option_single_branch,8,3       ## @option_single_branch
	.comm	_option_branch,8,3              ## @option_branch
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"refs/tags/"

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

L_.str.2:                               ## @.str.2
	.asciz	"+%s:%s%s"

L_.str.3:                               ## @.str.3
	.asciz	"refs/heads/"

L_.str.4:                               ## @.str.4
	.asciz	"remote HEAD points at non-head?"

L_.str.5:                               ## @.str.5
	.asciz	"+%s*:%s*"

L_.str.6:                               ## @.str.6
	.asciz	"remote.%s.fetch"

	.comm	_option_origin,4,2              ## @option_origin
L_.str.7:                               ## @.str.7
	.asciz	"^$"

L_.str.8:                               ## @.str.8
	.asciz	"remote.%s.mirror"

L_.str.9:                               ## @.str.9
	.asciz	"true"

	.no_dead_strip	_write_refspec_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_refspec_config
_write_refspec_config:                  ; @write_refspec_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	stp	q0, q0, [sp, #32]
Lloh3:
	adrp	x22, _option_mirror@GOTPAGE
Lloh4:
	ldr	x22, [x22, _option_mirror@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh5:
	adrp	x9, _option_bare@GOTPAGE
Lloh6:
	ldr	x9, [x9, _option_bare@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, #0, #4, eq
	b.ne	LBB0_16
; %bb.1:
	mov	x19, x3
Lloh8:
	adrp	x9, _option_single_branch@GOTPAGE
Lloh9:
	ldr	x9, [x9, _option_single_branch@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, #0
	ccmp	x8, #0, #0, ne
	b.eq	LBB0_3
; %bb.2:
	mov	x2, x0
	ldr	w8, [x19]
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.5@PAGE
Lloh12:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_12
LBB0_3:
Lloh13:
	adrp	x23, _option_branch@GOTPAGE
Lloh14:
	ldr	x23, [x23, _option_branch@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_6
; %bb.4:
	mov	x21, x1
	ldr	x0, [x1]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_starts_with
	ldr	x2, [x21]
	cbz	x0, LBB0_10
; %bb.5:
	str	x2, [sp]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_6:
	mov	x20, x2
	cbz	x2, LBB0_13
; %bb.7:
	ldr	x0, [x20]
	str	x0, [sp, #24]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #24
	bl	_skip_prefix
	cbnz	w0, LBB0_9
; %bb.8:
Lloh21:
	adrp	x0, l_.str.4@PAGE
Lloh22:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_BUG
LBB0_9:
	ldr	x2, [x20]
	ldr	x8, [sp, #24]
	b	LBB0_11
LBB0_10:
	ldr	x8, [x23]
LBB0_11:
	ldr	w9, [x19]
	stp	x9, x8, [sp]
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_12:
	add	x0, sp, #32
	bl	_strbuf_addf
LBB0_13:
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_16
; %bb.14:
Lloh25:
	adrp	x19, _option_origin@GOTPAGE
Lloh26:
	ldr	x19, [x19, _option_origin@GOTPAGEOFF]
	ldrsw	x2, [x19]
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #48
	bl	_strbuf_addf
	ldr	w0, [sp, #48]
	ldr	w1, [sp, #32]
Lloh29:
	adrp	x2, l_.str.7@PAGE
Lloh30:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	w3, #0
	bl	_git_config_set_multivar
	add	x0, sp, #48
	bl	_strbuf_reset
	ldr	x8, [x22]
	cbz	x8, LBB0_16
; %bb.15:
	ldrsw	x2, [x19]
Lloh31:
	adrp	x1, l_.str.8@PAGE
Lloh32:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x0, sp, #48
	bl	_strbuf_addf
	ldr	w0, [sp, #48]
Lloh33:
	adrp	x1, l_.str.9@PAGE
Lloh34:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_git_config_set
	add	x0, sp, #48
	bl	_strbuf_reset
LBB0_16:
	add	x0, sp, #48
	bl	_strbuf_release
	add	x0, sp, #32
	bl	_strbuf_release
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.comm	_option_mirror,8,3              ; @option_mirror
	.comm	_option_bare,4,2                ; @option_bare
	.comm	_option_single_branch,8,3       ; @option_single_branch
	.comm	_option_branch,8,3              ; @option_branch
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"refs/tags/"

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

l_.str.2:                               ; @.str.2
	.asciz	"+%s:%s%s"

l_.str.3:                               ; @.str.3
	.asciz	"refs/heads/"

l_.str.4:                               ; @.str.4
	.asciz	"remote HEAD points at non-head?"

l_.str.5:                               ; @.str.5
	.asciz	"+%s*:%s*"

l_.str.6:                               ; @.str.6
	.asciz	"remote.%s.fetch"

	.comm	_option_origin,4,2              ; @option_origin
l_.str.7:                               ; @.str.7
	.asciz	"^$"

l_.str.8:                               ; @.str.8
	.asciz	"remote.%s.mirror"

l_.str.9:                               ; @.str.9
	.asciz	"true"

	.no_dead_strip	_write_refspec_config
.subsections_via_symbols
