	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_default_remote
_get_default_remote:                    ## @get_default_remote
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	$0, -32(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_resolve_ref_unsafe
	movq	%rax, %rbx
	movq	%rax, -24(%rbp)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_die
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_skip_prefix
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movq	-24(%rbp), %rsi
	movl	%eax, %edi
	callq	_die
LBB0_5:
	movq	-24(%rbp), %rdx
	leaq	L_.str.5(%rip), %rsi
	leaq	-16(%rbp), %rdi
	callq	_strbuf_addf
	movl	-16(%rbp), %edi
	leaq	-32(%rbp), %rsi
	callq	_git_config_get_string
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	callq	_xstrdup
	movq	%rax, %rbx
	jmp	LBB0_8
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_xstrdup                        ## TAILCALL
LBB0_7:
	movq	-32(%rbp), %rbx
LBB0_8:
	leaq	-16(%rbp), %rdi
	callq	_strbuf_release
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HEAD"

L_.str.1:                               ## @.str.1
	.asciz	"No such ref: %s"

L_.str.2:                               ## @.str.2
	.asciz	"origin"

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

L_.str.4:                               ## @.str.4
	.asciz	"Expecting a full ref name, got %s"

L_.str.5:                               ## @.str.5
	.asciz	"branch.%s.remote"

	.no_dead_strip	_get_default_remote
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_default_remote
_get_default_remote:                    ; @get_default_remote
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	xzr, [sp, #24]
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #16]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_resolve_ref_unsafe
	mov	x19, x0
	str	x0, [sp, #8]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_die
LBB0_2:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.3:
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #8
	mov	x0, x19
	bl	_skip_prefix
	cbnz	w0, LBB0_5
; %bb.4:
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	ldr	x1, [sp, #8]
	bl	_die
LBB0_5:
	ldr	x2, [sp, #8]
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #16
	bl	_strbuf_addf
	ldr	w0, [sp, #16]
	add	x1, sp, #24
	bl	_git_config_get_string
	cbz	x0, LBB0_8
; %bb.6:
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_xstrdup
	mov	x19, x0
	b	LBB0_9
LBB0_7:
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_xstrdup
LBB0_8:
	ldr	x19, [sp, #24]
LBB0_9:
	add	x0, sp, #16
	bl	_strbuf_release
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HEAD"

l_.str.1:                               ; @.str.1
	.asciz	"No such ref: %s"

l_.str.2:                               ; @.str.2
	.asciz	"origin"

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

l_.str.4:                               ; @.str.4
	.asciz	"Expecting a full ref name, got %s"

l_.str.5:                               ; @.str.5
	.asciz	"branch.%s.remote"

	.no_dead_strip	_get_default_remote
.subsections_via_symbols
