	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remote_get_1
_remote_get_1:                          ## @remote_get_1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	$0, -20(%rbp)
	xorl	%eax, %eax
	callq	_read_config
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movl	$1, -20(%rbp)
	jmp	LBB0_3
LBB0_2:
	movq	_current_branch@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	-20(%rbp), %rsi
	callq	*%rbx
	movq	%rax, %r14
LBB0_3:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_make_remote
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_valid_remote_nick
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	xorl	%eax, %eax
	callq	_have_git_dir
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	%rbx, %rdi
	callq	_valid_remote
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_read_remotes_file
LBB0_7:
	movq	%rbx, %rdi
	callq	_valid_remote
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_read_branches_file
LBB0_9:
	cmpl	$0, -20(%rbp)
	je	LBB0_12
## %bb.10:
	movq	%rbx, %rdi
	callq	_valid_remote
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_add_url_alias
LBB0_12:
	movq	%rbx, %rdi
	callq	_valid_remote
	xorl	%ecx, %ecx
	testl	%eax, %eax
	cmoveq	%rcx, %rbx
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_branch,8,3             ## @current_branch
	.no_dead_strip	_remote_get_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remote_get_1
_remote_get_1:                          ; @remote_get_1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	str	wzr, [sp, #12]
	bl	_read_config
	cbz	x19, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [sp, #12]
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _current_branch@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_branch@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	add	x1, sp, #12
	blr	x20
	mov	x19, x0
LBB0_3:
	mov	x0, x19
	mov	w1, #0
	bl	_make_remote
	mov	x20, x0
	mov	x0, x19
	bl	_valid_remote_nick
	cbz	x0, LBB0_9
; %bb.4:
	bl	_have_git_dir
	cbz	x0, LBB0_9
; %bb.5:
	mov	x0, x20
	bl	_valid_remote
	cbnz	w0, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_read_remotes_file
LBB0_7:
	mov	x0, x20
	bl	_valid_remote
	cbnz	w0, LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_read_branches_file
LBB0_9:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_12
; %bb.10:
	mov	x0, x20
	bl	_valid_remote
	cbnz	w0, LBB0_12
; %bb.11:
	mov	x0, x20
	mov	x1, x19
	bl	_add_url_alias
LBB0_12:
	mov	x0, x20
	bl	_valid_remote
	cmp	w0, #0
	csel	x0, xzr, x20, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_current_branch,8,3             ; @current_branch
	.no_dead_strip	_remote_get_1
.subsections_via_symbols
