	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_ls_remote                  ## -- Begin function cmd_ls_remote
	.p2align	4, 0x90
_cmd_ls_remote:                         ## @cmd_ls_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$568, %rsp                      ## imm = 0x238
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -560(%rbp)                ## 8-byte Spill
	movq	%rsi, %r12
	movl	%edi, -572(%rbp)                ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -532(%rbp)
	movl	$0, -552(%rbp)
	movl	$0, -548(%rbp)
	movl	$0, -540(%rbp)
	movl	$0, -544(%rbp)
	movq	$0, -600(%rbp)
	movq	_ARGV_ARRAY_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -536(%rbp)
	movq	_STRING_LIST_INIT_DUP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -568(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_N_
	leaq	-528(%rbp), %rdi
	leaq	-548(%rbp), %rsi
	movl	%eax, %edx
	callq	_OPT__QUIET
	leaq	L_.str.2(%rip), %r13
	movq	%r13, %rdi
	callq	_N_
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	_N_
	leaq	L_.str.1(%rip), %rdx
	xorl	%r14d, %r14d
	leaq	-600(%rbp), %r15
	leaq	-488(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r15, %rcx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_OPT_STRING
	movq	_OPTION_STRING@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -448(%rbp)
	movq	$0, -440(%rbp)
	movl	%r13d, -432(%rbp)
	movl	%r15d, -428(%rbp)
	movq	%r13, %rdi
	callq	_N_
	movl	%eax, -424(%rbp)
	leaq	L_.str.3(%rip), %rdi
	callq	_N_
	movl	%eax, -420(%rbp)
	movq	_PARSE_OPT_HIDDEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -416(%rbp)
	leaq	-408(%rbp), %rbx
	leaq	L_.str.5(%rip), %rdi
	callq	_N_
	movq	_REF_TAGS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	leaq	L_.str.4(%rip), %rdx
	leaq	-532(%rbp), %r13
	movq	%rbx, %rdi
	movl	$116, %esi
	movq	%r13, %rcx
	movl	%eax, %r8d
	callq	_OPT_BIT
	leaq	-368(%rbp), %rbx
	leaq	L_.str.7(%rip), %rdi
	callq	_N_
	movq	_REF_HEADS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	leaq	L_.str.6(%rip), %rdx
	movq	%rbx, %rdi
	movl	$104, %esi
	movq	%r13, %rcx
	movl	%eax, %r8d
	callq	_OPT_BIT
	leaq	-328(%rbp), %rbx
	leaq	L_.str.9(%rip), %rdi
	callq	_N_
	movq	_REF_NORMAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	leaq	L_.str.8(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r13, %rcx
	movl	%eax, %r8d
	callq	_OPT_BIT
	leaq	-288(%rbp), %rbx
	leaq	L_.str.11(%rip), %rdi
	callq	_N_
	leaq	L_.str.10(%rip), %rdx
	leaq	-552(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %r8d
	callq	_OPT_BOOL
	leaq	-248(%rbp), %rdi
	leaq	_cmd_ls_remote.sorting(%rip), %rsi
	callq	_OPT_REF_SORT
	leaq	-208(%rbp), %rbx
	leaq	L_.str.13(%rip), %rdi
	callq	_N_
	movq	_PARSE_OPT_NOCOMPLETE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	leaq	L_.str.12(%rip), %rdx
	leaq	-540(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %r8d
	movl	$2, %r9d
	callq	_OPT_SET_INT_F
	leaq	-168(%rbp), %rbx
	leaq	L_.str.15(%rip), %rdi
	callq	_N_
	leaq	L_.str.14(%rip), %rdx
	leaq	-544(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %r8d
	callq	_OPT_BOOL
	leaq	-128(%rbp), %r15
	leaq	L_.str.17(%rip), %rdi
	callq	_N_
	movl	%eax, %ebx
	leaq	L_.str.18(%rip), %rdi
	callq	_N_
	leaq	L_.str.16(%rip), %rdx
	leaq	-568(%rbp), %rcx
	movq	%r15, %rdi
	movl	$111, %esi
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_OPT_STRING_LIST
	leaq	-88(%rbp), %rdi
	xorl	%eax, %eax
	callq	_OPT_END
	leaq	-592(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_ls_remote_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_PARSE_OPT_STOP_AT_NON_OPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	-572(%rbp), %edi                ## 4-byte Reload
	movq	%r12, %rsi
	movq	-560(%rbp), %rdx                ## 8-byte Reload
	leaq	-528(%rbp), %rcx
	callq	_parse_options
	movq	(%r12), %r15
	cmpl	$2, %eax
	jl	LBB0_4
## %bb.1:
	movl	%eax, %ebx
	movq	%r15, -560(%rbp)                ## 8-byte Spill
	movl	%eax, %edi
	movl	$8, %esi
	callq	_xcalloc
	movq	%rax, %r14
	movl	%ebx, %ebx
	decq	%rbx
	xorl	%r15d, %r15d
	leaq	L_.str.19(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12,%r15,8), %rsi
	movq	%r13, %rdi
	callq	_xstrfmt
	movq	%rax, (%r14,%r15,8)
	incq	%r15
	cmpq	%r15, %rbx
	jne	LBB0_2
## %bb.3:
	movq	-560(%rbp), %r15                ## 8-byte Reload
LBB0_4:
	movl	-532(%rbp), %eax
	movq	_REF_TAGS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.20(%rip), %rsi
	leaq	-536(%rbp), %rdi
	callq	_argv_array_push
	movl	-532(%rbp), %eax
LBB0_6:
	movq	_REF_HEADS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.21(%rip), %rsi
	leaq	-536(%rbp), %rdi
	callq	_argv_array_push
LBB0_8:
	movq	%r15, %rdi
	callq	_remote_get
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_9
## %bb.12:
	cmpl	$0, 8(%r12)
	je	LBB0_13
LBB0_14:
	cmpl	$0, -552(%rbp)
	je	LBB0_16
LBB0_15:
	movq	(%r12), %rax
	movq	(%rax), %rsi
	leaq	L_.str.25(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_printf
	movq	_cmd_ls_remote.sorting(%rip), %rdi
	callq	_UNLEAK
	jmp	LBB0_40
LBB0_9:
	testq	%r15, %r15
	je	LBB0_11
## %bb.10:
	leaq	L_.str.22(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_11:
	leaq	L_.str.23(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
	cmpl	$0, 8(%r12)
	jne	LBB0_14
LBB0_13:
	leaq	L_.str.24(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_die
	cmpl	$0, -552(%rbp)
	jne	LBB0_15
LBB0_16:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_transport_get
	movq	%rax, %r13
	movq	-600(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_18
## %bb.17:
	movq	_TRANS_OPT_UPLOADPACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_transport_set_option
LBB0_18:
	cmpq	$0, -568(%rbp)
	je	LBB0_20
## %bb.19:
	leaq	-568(%rbp), %rax
	movq	%rax, (%r13)
LBB0_20:
	leaq	-536(%rbp), %rsi
	movq	%r13, %rdi
	callq	_transport_get_remote_refs
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_transport_disconnect
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	_cmd_ls_remote.sorting(%rip), %rdi
	callq	_UNLEAK
	movl	$1, %ebx
	jmp	LBB0_40
LBB0_22:
	testq	%r15, %r15
	jne	LBB0_25
## %bb.23:
	cmpl	$0, -548(%rbp)
	jne	LBB0_25
## %bb.24:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rax
	movq	(%rax), %rdx
	leaq	L_.str.26(%rip), %rsi
	callq	_fprintf
LBB0_25:
	testq	%rbx, %rbx
	je	LBB0_31
## %bb.26:
	leaq	-592(%rbp), %r15
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_31
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movl	-532(%rbp), %esi
	movq	%rbx, %rdi
	callq	_check_ref_type
	testl	%eax, %eax
	je	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_tail_match
	testl	%eax, %eax
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=1
	movl	8(%rbx), %esi
	leaq	4(%rbx), %rdx
	movq	%r15, %rdi
	callq	_ref_array_push
	movq	%rax, %r12
	movl	(%rbx), %edi
	callq	_xstrdup_or_null
	movq	%rax, (%r12)
	jmp	LBB0_30
LBB0_31:
	movq	_cmd_ls_remote.sorting(%rip), %rdi
	testq	%rdi, %rdi
	je	LBB0_33
## %bb.32:
	leaq	-592(%rbp), %rsi
	callq	_ref_array_sort
LBB0_33:
	cmpl	$0, -592(%rbp)
	jle	LBB0_39
## %bb.34:
	leaq	L_.str.28(%rip), %r15
	leaq	L_.str.27(%rip), %r14
	xorl	%ebx, %ebx
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_35 Depth=1
	leaq	16(%r12), %rdi
	callq	_oid_to_hex
	movq	8(%r12), %rdx
	movq	%r15, %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	$0, -540(%rbp)
	incq	%rbx
	movslq	-592(%rbp), %rax
	cmpq	%rax, %rbx
	jge	LBB0_39
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movq	-584(%rbp), %rax
	movq	(%rax,%rbx,8), %r12
	cmpl	$0, -544(%rbp)
	je	LBB0_38
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=1
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_35 Depth=1
	movq	8(%r12), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_38
LBB0_39:
	movq	_cmd_ls_remote.sorting(%rip), %rdi
	callq	_UNLEAK
	leaq	-592(%rbp), %rdi
	callq	_ref_array_clear
	movl	-540(%rbp), %ebx
LBB0_40:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_42
## %bb.41:
	movl	%ebx, %eax
	addq	$568, %rsp                      ## imm = 0x238
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ARGV_ARRAY_INIT,4,2            ## @ARGV_ARRAY_INIT
	.comm	_STRING_LIST_INIT_DUP,8,3       ## @STRING_LIST_INIT_DUP
.zerofill __DATA,__bss,_cmd_ls_remote.sorting,8,3 ## @cmd_ls_remote.sorting
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"do not print remote URL"

L_.str.1:                               ## @.str.1
	.asciz	"upload-pack"

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

L_.str.3:                               ## @.str.3
	.asciz	"path of git-upload-pack on the remote host"

	.comm	_OPTION_STRING,4,2              ## @OPTION_STRING
	.comm	_PARSE_OPT_HIDDEN,4,2           ## @PARSE_OPT_HIDDEN
L_.str.4:                               ## @.str.4
	.asciz	"tags"

L_.str.5:                               ## @.str.5
	.asciz	"limit to tags"

	.comm	_REF_TAGS,4,2                   ## @REF_TAGS
L_.str.6:                               ## @.str.6
	.asciz	"heads"

L_.str.7:                               ## @.str.7
	.asciz	"limit to heads"

	.comm	_REF_HEADS,4,2                  ## @REF_HEADS
L_.str.8:                               ## @.str.8
	.asciz	"refs"

L_.str.9:                               ## @.str.9
	.asciz	"do not show peeled tags"

	.comm	_REF_NORMAL,4,2                 ## @REF_NORMAL
L_.str.10:                              ## @.str.10
	.asciz	"get-url"

L_.str.11:                              ## @.str.11
	.asciz	"take url.<base>.insteadOf into account"

L_.str.12:                              ## @.str.12
	.asciz	"exit-code"

L_.str.13:                              ## @.str.13
	.asciz	"exit with exit code 2 if no matching refs are found"

	.comm	_PARSE_OPT_NOCOMPLETE,4,2       ## @PARSE_OPT_NOCOMPLETE
L_.str.14:                              ## @.str.14
	.asciz	"symref"

L_.str.15:                              ## @.str.15
	.asciz	"show underlying ref in addition to the object pointed by it"

L_.str.16:                              ## @.str.16
	.asciz	"server-option"

L_.str.17:                              ## @.str.17
	.asciz	"server-specific"

L_.str.18:                              ## @.str.18
	.asciz	"option to transmit"

	.comm	_ls_remote_usage,4,2            ## @ls_remote_usage
	.comm	_PARSE_OPT_STOP_AT_NON_OPTION,4,2 ## @PARSE_OPT_STOP_AT_NON_OPTION
L_.str.19:                              ## @.str.19
	.asciz	"*/%s"

L_.str.20:                              ## @.str.20
	.asciz	"refs/tags/"

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

L_.str.22:                              ## @.str.22
	.asciz	"bad repository '%s'"

L_.str.23:                              ## @.str.23
	.asciz	"No remote configured to list refs from."

L_.str.24:                              ## @.str.24
	.asciz	"remote %s has no configured URL"

L_.str.25:                              ## @.str.25
	.asciz	"%s\n"

	.comm	_TRANS_OPT_UPLOADPACK,4,2       ## @TRANS_OPT_UPLOADPACK
	.comm	_stderr,4,2                     ## @stderr
L_.str.26:                              ## @.str.26
	.asciz	"From %s\n"

L_.str.27:                              ## @.str.27
	.asciz	"ref: %s\t%s\n"

L_.str.28:                              ## @.str.28
	.asciz	"%s\t%s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_ls_remote                  ; -- Begin function cmd_ls_remote
	.p2align	2
_cmd_ls_remote:                         ; @cmd_ls_remote
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #560
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	stp	xzr, xzr, [sp, #56]
	str	wzr, [sp, #52]
	str	xzr, [sp, #40]
Lloh3:
	adrp	x8, _ARGV_ARRAY_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARGV_ARRAY_INIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #32]
Lloh6:
	adrp	x8, _STRING_LIST_INIT_DUP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STRING_LIST_INIT_DUP@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_N_
	mov	x1, x0
	add	x26, sp, #72
	add	x8, sp, #72
	add	x0, sp, #60
	bl	_OPT__QUIET
	add	x22, x26, #40
Lloh11:
	adrp	x23, l_.str.2@PAGE
Lloh12:
	add	x23, x23, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_N_
	mov	x24, x0
Lloh13:
	adrp	x25, l_.str.3@PAGE
Lloh14:
	add	x25, x25, l_.str.3@PAGEOFF
	mov	x0, x25
	bl	_N_
	mov	x4, x0
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x27, sp, #40
	add	x2, sp, #40
	mov	x8, x22
	mov	w0, #0
	mov	x3, x24
	bl	_OPT_STRING
Lloh17:
	adrp	x8, _OPTION_STRING@GOTPAGE
Lloh18:
	ldr	x8, [x8, _OPTION_STRING@GOTPAGEOFF]
Lloh19:
	ldrsw	x8, [x8]
	stp	x8, xzr, [sp, #152]
	stp	w23, w27, [sp, #168]
	mov	x0, x23
	bl	_N_
	str	w0, [sp, #176]
	mov	x0, x25
	bl	_N_
Lloh20:
	adrp	x8, _PARSE_OPT_HIDDEN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PARSE_OPT_HIDDEN@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	stp	w0, w8, [sp, #180]
	add	x22, x26, #120
Lloh23:
	adrp	x0, l_.str.5@PAGE
Lloh24:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh25:
	adrp	x24, _REF_TAGS@GOTPAGE
Lloh26:
	ldr	x24, [x24, _REF_TAGS@GOTPAGEOFF]
	ldr	w4, [x24]
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #68
	mov	x8, x22
	mov	w0, #116
	bl	_OPT_BIT
	add	x22, x26, #160
Lloh29:
	adrp	x0, l_.str.7@PAGE
Lloh30:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh31:
	adrp	x25, _REF_HEADS@GOTPAGE
Lloh32:
	ldr	x25, [x25, _REF_HEADS@GOTPAGEOFF]
	ldr	w4, [x25]
Lloh33:
	adrp	x1, l_.str.6@PAGE
Lloh34:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x2, sp, #68
	mov	x8, x22
	mov	w0, #104
	bl	_OPT_BIT
	add	x22, x26, #200
Lloh35:
	adrp	x0, l_.str.9@PAGE
Lloh36:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh37:
	adrp	x8, _REF_NORMAL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _REF_NORMAL@GOTPAGEOFF]
Lloh39:
	ldr	w4, [x8]
Lloh40:
	adrp	x1, l_.str.8@PAGE
Lloh41:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x2, sp, #68
	mov	x8, x22
	mov	w0, #0
	bl	_OPT_BIT
	add	x22, x26, #240
Lloh42:
	adrp	x0, l_.str.11@PAGE
Lloh43:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh44:
	adrp	x1, l_.str.10@PAGE
Lloh45:
	add	x1, x1, l_.str.10@PAGEOFF
	add	x2, sp, #64
	mov	x8, x22
	mov	w0, #0
	bl	_OPT_BOOL
	add	x8, x26, #280
Lloh46:
	adrp	x0, _cmd_ls_remote.sorting@PAGE
Lloh47:
	add	x0, x0, _cmd_ls_remote.sorting@PAGEOFF
	bl	_OPT_REF_SORT
	add	x22, x26, #320
Lloh48:
	adrp	x0, l_.str.13@PAGE
Lloh49:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh50:
	adrp	x8, _PARSE_OPT_NOCOMPLETE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _PARSE_OPT_NOCOMPLETE@GOTPAGEOFF]
Lloh52:
	ldr	w5, [x8]
Lloh53:
	adrp	x1, l_.str.12@PAGE
Lloh54:
	add	x1, x1, l_.str.12@PAGEOFF
	add	x2, sp, #56
	mov	x8, x22
	mov	w0, #0
	mov	w4, #2
	bl	_OPT_SET_INT_F
	add	x22, x26, #360
Lloh55:
	adrp	x0, l_.str.15@PAGE
Lloh56:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh57:
	adrp	x1, l_.str.14@PAGE
Lloh58:
	add	x1, x1, l_.str.14@PAGEOFF
	add	x2, sp, #52
	mov	x8, x22
	mov	w0, #0
	bl	_OPT_BOOL
	add	x22, x26, #400
Lloh59:
	adrp	x0, l_.str.17@PAGE
Lloh60:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_N_
	mov	x23, x0
Lloh61:
	adrp	x0, l_.str.18@PAGE
Lloh62:
	add	x0, x0, l_.str.18@PAGEOFF
	bl	_N_
	mov	x4, x0
Lloh63:
	adrp	x1, l_.str.16@PAGE
Lloh64:
	add	x1, x1, l_.str.16@PAGEOFF
	add	x2, sp, #24
	mov	x8, x22
	mov	w0, #111
	mov	x3, x23
	bl	_OPT_STRING_LIST
	add	x8, x26, #440
	bl	_OPT_END
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh65:
	adrp	x8, _ls_remote_usage@GOTPAGE
Lloh66:
	ldr	x8, [x8, _ls_remote_usage@GOTPAGEOFF]
Lloh67:
	ldr	w4, [x8]
Lloh68:
	adrp	x8, _PARSE_OPT_STOP_AT_NON_OPTION@GOTPAGE
Lloh69:
	ldr	x8, [x8, _PARSE_OPT_STOP_AT_NON_OPTION@GOTPAGEOFF]
Lloh70:
	ldr	w5, [x8]
	add	x3, sp, #72
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_parse_options
	mov	x20, #0
	ldr	x21, [x19]
	cmp	w0, #2
	b.lt	LBB0_3
; %bb.1:
	mov	x22, x0
	mov	w1, #8
	bl	_xcalloc
	mov	x20, x0
	mov	x23, #0
	mov	w8, w22
	add	x22, x19, #8
	lsl	x8, x8, #3
	sub	x26, x8, #8
Lloh71:
	adrp	x19, l_.str.19@PAGE
Lloh72:
	add	x19, x19, l_.str.19@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x22, x23]
	mov	x0, x19
	bl	_xstrfmt
	str	x0, [x20, x23]
	add	x23, x23, #8
	cmp	x26, x23
	b.ne	LBB0_2
LBB0_3:
	ldr	w8, [sp, #68]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh73:
	adrp	x1, l_.str.20@PAGE
Lloh74:
	add	x1, x1, l_.str.20@PAGEOFF
	add	x0, sp, #32
	bl	_argv_array_push
	ldr	w8, [sp, #68]
LBB0_5:
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh75:
	adrp	x1, l_.str.21@PAGE
Lloh76:
	add	x1, x1, l_.str.21@PAGEOFF
	add	x0, sp, #32
	bl	_argv_array_push
LBB0_7:
	mov	x0, x21
	bl	_remote_get
	mov	x19, x0
	cbz	x0, LBB0_11
; %bb.8:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_14
LBB0_9:
	ldr	w8, [sp, #64]
	cbz	w8, LBB0_15
LBB0_10:
	ldr	x8, [x19]
	ldr	x1, [x8]
Lloh77:
	adrp	x0, l_.str.25@PAGE
Lloh78:
	add	x0, x0, l_.str.25@PAGEOFF
	bl	_printf
Lloh79:
	adrp	x8, _cmd_ls_remote.sorting@PAGE
Lloh80:
	ldr	x0, [x8, _cmd_ls_remote.sorting@PAGEOFF]
	bl	_UNLEAK
	mov	w0, #0
	b	LBB0_38
LBB0_11:
	cbz	x21, LBB0_13
; %bb.12:
	str	x21, [sp]
Lloh81:
	adrp	x0, l_.str.22@PAGE
Lloh82:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_die
LBB0_13:
Lloh83:
	adrp	x0, l_.str.23@PAGE
Lloh84:
	add	x0, x0, l_.str.23@PAGEOFF
	bl	_die
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_9
LBB0_14:
	str	x21, [sp]
Lloh85:
	adrp	x0, l_.str.24@PAGE
Lloh86:
	add	x0, x0, l_.str.24@PAGEOFF
	bl	_die
	ldr	w8, [sp, #64]
	cbnz	w8, LBB0_10
LBB0_15:
	mov	x0, x19
	mov	x1, #0
	bl	_transport_get
	mov	x23, x0
	ldr	x2, [sp, #40]
	cbz	x2, LBB0_17
; %bb.16:
Lloh87:
	adrp	x8, _TRANS_OPT_UPLOADPACK@GOTPAGE
Lloh88:
	ldr	x8, [x8, _TRANS_OPT_UPLOADPACK@GOTPAGEOFF]
Lloh89:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_transport_set_option
LBB0_17:
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_19
; %bb.18:
	add	x8, sp, #24
	str	x8, [x23]
LBB0_19:
	add	x1, sp, #32
	mov	x0, x23
	bl	_transport_get_remote_refs
	mov	x22, x0
	mov	x0, x23
	bl	_transport_disconnect
	cbz	x0, LBB0_21
; %bb.20:
Lloh90:
	adrp	x8, _cmd_ls_remote.sorting@PAGE
Lloh91:
	ldr	x0, [x8, _cmd_ls_remote.sorting@PAGEOFF]
	bl	_UNLEAK
	mov	w0, #1
	b	LBB0_38
LBB0_21:
	cbnz	x21, LBB0_24
; %bb.22:
	ldr	w8, [sp, #60]
	cbnz	w8, LBB0_24
; %bb.23:
Lloh92:
	adrp	x8, _stderr@GOTPAGE
Lloh93:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh94:
	ldr	w0, [x8]
	ldr	x8, [x19]
	ldr	x2, [x8]
Lloh95:
	adrp	x1, l_.str.26@PAGE
Lloh96:
	add	x1, x1, l_.str.26@PAGEOFF
	bl	_fprintf
LBB0_24:
	cbnz	x22, LBB0_30
LBB0_25:
	adrp	x21, _cmd_ls_remote.sorting@PAGE
	ldr	x0, [x21, _cmd_ls_remote.sorting@PAGEOFF]
	cbz	x0, LBB0_27
; %bb.26:
	add	x1, sp, #8
	bl	_ref_array_sort
LBB0_27:
	ldr	w8, [sp, #8]
	cmp	w8, #1
	b.lt	LBB0_37
; %bb.28:
	mov	x22, #0
Lloh97:
	adrp	x19, l_.str.28@PAGE
Lloh98:
	add	x19, x19, l_.str.28@PAGEOFF
Lloh99:
	adrp	x20, l_.str.27@PAGE
Lloh100:
	add	x20, x20, l_.str.27@PAGEOFF
	b	LBB0_34
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	x22, [x22, #16]
	cbz	x22, LBB0_25
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [sp, #68]
	mov	x0, x22
	bl	_check_ref_type
	cbz	w0, LBB0_29
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	w1, [x22, #8]
	mov	x0, x20
	bl	_tail_match
	cbz	w0, LBB0_29
; %bb.32:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	w1, [x22, #8]
	add	x2, x22, #4
	add	x0, sp, #8
	bl	_ref_array_push
	mov	x19, x0
	ldr	w0, [x22]
	bl	_xstrdup_or_null
	str	x0, [x19]
	b	LBB0_29
LBB0_33:                                ;   in Loop: Header=BB0_34 Depth=1
	add	x0, x23, #16
	bl	_oid_to_hex
	mov	x1, x0
	ldr	x8, [x23, #8]
	str	x8, [sp]
	mov	x0, x19
	bl	_printf
	str	wzr, [sp, #56]
	add	x22, x22, #1
	ldrsw	x8, [sp, #8]
	cmp	x22, x8
	b.ge	LBB0_37
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #16]
	ldr	x23, [x8, x22, lsl #3]
	ldr	w8, [sp, #52]
	cbz	w8, LBB0_33
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x1, [x23]
	cbz	x1, LBB0_33
; %bb.36:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x8, [x23, #8]
	str	x8, [sp]
	mov	x0, x20
	bl	_printf
	b	LBB0_33
LBB0_37:
	ldr	x0, [x21, _cmd_ls_remote.sorting@PAGEOFF]
	bl	_UNLEAK
	add	x0, sp, #8
	bl	_ref_array_clear
	ldr	w0, [sp, #56]
LBB0_38:
	ldur	x8, [x29, #-88]
Lloh101:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh102:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh103:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.39:
	add	sp, sp, #560
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_40:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdr	Lloh79, Lloh80
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdr	Lloh90, Lloh91
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.cfi_endproc
                                        ; -- End function
	.comm	_ARGV_ARRAY_INIT,4,2            ; @ARGV_ARRAY_INIT
	.comm	_STRING_LIST_INIT_DUP,8,3       ; @STRING_LIST_INIT_DUP
.zerofill __DATA,__bss,_cmd_ls_remote.sorting,8,3 ; @cmd_ls_remote.sorting
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"do not print remote URL"

l_.str.1:                               ; @.str.1
	.asciz	"upload-pack"

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

l_.str.3:                               ; @.str.3
	.asciz	"path of git-upload-pack on the remote host"

	.comm	_OPTION_STRING,4,2              ; @OPTION_STRING
	.comm	_PARSE_OPT_HIDDEN,4,2           ; @PARSE_OPT_HIDDEN
l_.str.4:                               ; @.str.4
	.asciz	"tags"

l_.str.5:                               ; @.str.5
	.asciz	"limit to tags"

	.comm	_REF_TAGS,4,2                   ; @REF_TAGS
l_.str.6:                               ; @.str.6
	.asciz	"heads"

l_.str.7:                               ; @.str.7
	.asciz	"limit to heads"

	.comm	_REF_HEADS,4,2                  ; @REF_HEADS
l_.str.8:                               ; @.str.8
	.asciz	"refs"

l_.str.9:                               ; @.str.9
	.asciz	"do not show peeled tags"

	.comm	_REF_NORMAL,4,2                 ; @REF_NORMAL
l_.str.10:                              ; @.str.10
	.asciz	"get-url"

l_.str.11:                              ; @.str.11
	.asciz	"take url.<base>.insteadOf into account"

l_.str.12:                              ; @.str.12
	.asciz	"exit-code"

l_.str.13:                              ; @.str.13
	.asciz	"exit with exit code 2 if no matching refs are found"

	.comm	_PARSE_OPT_NOCOMPLETE,4,2       ; @PARSE_OPT_NOCOMPLETE
l_.str.14:                              ; @.str.14
	.asciz	"symref"

l_.str.15:                              ; @.str.15
	.asciz	"show underlying ref in addition to the object pointed by it"

l_.str.16:                              ; @.str.16
	.asciz	"server-option"

l_.str.17:                              ; @.str.17
	.asciz	"server-specific"

l_.str.18:                              ; @.str.18
	.asciz	"option to transmit"

	.comm	_ls_remote_usage,4,2            ; @ls_remote_usage
	.comm	_PARSE_OPT_STOP_AT_NON_OPTION,4,2 ; @PARSE_OPT_STOP_AT_NON_OPTION
l_.str.19:                              ; @.str.19
	.asciz	"*/%s"

l_.str.20:                              ; @.str.20
	.asciz	"refs/tags/"

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

l_.str.22:                              ; @.str.22
	.asciz	"bad repository '%s'"

l_.str.23:                              ; @.str.23
	.asciz	"No remote configured to list refs from."

l_.str.24:                              ; @.str.24
	.asciz	"remote %s has no configured URL"

l_.str.25:                              ; @.str.25
	.asciz	"%s\n"

	.comm	_TRANS_OPT_UPLOADPACK,4,2       ; @TRANS_OPT_UPLOADPACK
	.comm	_stderr,4,2                     ; @stderr
l_.str.26:                              ; @.str.26
	.asciz	"From %s\n"

l_.str.27:                              ; @.str.27
	.asciz	"ref: %s\t%s\n"

l_.str.28:                              ; @.str.28
	.asciz	"%s\t%s\n"

.subsections_via_symbols
