	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_ls_object
_process_ls_object:                     ## @process_ls_object
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	movq	(%rdi), %r14
	movq	%r14, -40(%rbp)
	movl	12(%rdi), %edi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_1
LBB0_3:
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdx
	movq	%r14, %rdi
	callq	_skip_prefix
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movq	-40(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	callq	_get_oid_hex_from_objpath
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	leaq	-32(%rbp), %rdi
	callq	_one_remote_object
	jmp	LBB0_6
LBB0_1:
	movq	_IS_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_3
## %bb.2:
	movq	_remote_dir_exists@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r15), %ecx
	movl	$1, (%rax,%rcx,4)
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IS_DIR,4,2                     ## @IS_DIR
	.comm	_remote_dir_exists,8,3          ## @remote_dir_exists
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"objects/"

	.no_dead_strip	_process_ls_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_ls_object
_process_ls_object:                     ; @process_ls_object
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	ldr	x21, [x0, #16]
	ldr	x19, [x0]
	str	x19, [sp, #8]
	ldr	w0, [x0, #12]
	mov	x1, x19
	bl	_strcmp
	cbz	w0, LBB0_4
LBB0_1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x0, x19
	bl	_skip_prefix
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x0, [sp, #8]
	mov	x1, sp
	bl	_get_oid_hex_from_objpath
	cbnz	x0, LBB0_6
; %bb.3:
	mov	x0, sp
	bl	_one_remote_object
	b	LBB0_6
LBB0_4:
	ldr	w8, [x20, #8]
Lloh2:
	adrp	x9, _IS_DIR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IS_DIR@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.5:
Lloh5:
	adrp	x8, _remote_dir_exists@GOTPAGE
Lloh6:
	ldr	x8, [x8, _remote_dir_exists@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w9, [x21]
	mov	w10, #1
	str	w10, [x8, x9, lsl #2]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IS_DIR,4,2                     ; @IS_DIR
	.comm	_remote_dir_exists,8,3          ; @remote_dir_exists
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"objects/"

	.no_dead_strip	_process_ls_object
.subsections_via_symbols
