	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_one_ent
_read_one_ent:                          ## @read_one_ent
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%ecx, %r14d
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-40(%rbp), %rcx
	leaq	-34(%rbp), %r8
	callq	_get_tree_entry
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_3:
	movzwl	-34(%rbp), %eax
	movq	_S_IFDIR@GOTPCREL(%rip), %rcx
	cmpw	(%rcx), %ax
	jne	LBB0_8
## %bb.4:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
LBB0_6:
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_error
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_the_index@GOTPCREL(%rip), %rdi
	movl	%r14d, %esi
	callq	_make_empty_cache_entry
	movq	%rax, %rbx
	leaq	16(%rax), %rdi
	leaq	-40(%rbp), %rsi
	callq	_oidcpy
	movl	12(%rbx), %edi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movl	%r15d, %edi
	callq	_create_ce_flags
	movl	%eax, 8(%rbx)
	movl	%r14d, (%rbx)
	movzwl	-34(%rbp), %edi
	callq	_create_ce_mode
	movl	%eax, 4(%rbx)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,4,2             ## @the_repository
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: not in %s branch."

	.comm	_S_IFDIR,2,1                    ## @S_IFDIR
L_.str.1:                               ## @.str.1
	.asciz	"%s: not a blob in %s branch."

	.comm	_the_index,4,2                  ## @the_index
	.no_dead_strip	_read_one_ent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_one_ent
_read_one_ent:                          ; @read_one_ent
	.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	x21, x4
	mov	x20, x3
	mov	x19, x2
	mov	x22, x0
Lloh0:
	adrp	x8, _the_repository@GOTPAGE
Lloh1:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x3, sp, #8
	add	x4, sp, #14
	bl	_get_tree_entry
	cbz	x0, LBB0_3
; %bb.1:
	cbz	x22, LBB0_8
; %bb.2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:
	ldrh	w8, [sp, #14]
Lloh5:
	adrp	x9, _S_IFDIR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _S_IFDIR@GOTPAGEOFF]
	ldrh	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.4:
	cbz	x22, LBB0_8
; %bb.5:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_6:
	mov	x1, x19
	mov	x2, x22
	bl	_error
	mov	x22, #0
	b	LBB0_8
LBB0_7:
Lloh9:
	adrp	x0, _the_index@GOTPAGE
Lloh10:
	ldr	x0, [x0, _the_index@GOTPAGEOFF]
	mov	x1, x20
	bl	_make_empty_cache_entry
	mov	x22, x0
	add	x0, x0, #16
	add	x1, sp, #8
	bl	_oidcpy
	ldr	w0, [x22, #12]
	mov	x1, x19
	mov	x2, x20
	bl	_memcpy
	mov	x0, x21
	bl	_create_ce_flags
	str	w0, [x22, #8]
	str	w20, [x22]
	ldrh	w0, [sp, #14]
	bl	_create_ce_mode
	str	w0, [x22, #4]
LBB0_8:
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: not in %s branch."

	.comm	_S_IFDIR,2,1                    ; @S_IFDIR
l_.str.1:                               ; @.str.1
	.asciz	"%s: not a blob in %s branch."

	.comm	_the_index,4,2                  ; @the_index
	.no_dead_strip	_read_one_ent
.subsections_via_symbols
