	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_tree_entry
_decode_tree_entry:                     ## @decode_tree_entry
	.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
	movq	%rcx, %rbx
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	leal	3(%rax), %ecx
	cmpq	%rdx, %rcx
	ja	LBB0_2
## %bb.1:
	incl	%eax
	subq	%rax, %rdx
	cmpb	$0, (%rsi,%rdx)
	je	LBB0_4
LBB0_2:
	leaq	L_.str(%rip), %rdi
LBB0_3:
	callq	__
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_strbuf_addstr
	movl	$-1, %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rdi, %r14
	leaq	-36(%rbp), %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_get_mode
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	cmpb	$0, (%rax)
	je	LBB0_7
## %bb.8:
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %ebx
	leal	1(%rbx), %r12d
	movq	%r15, (%r14)
	movl	-36(%rbp), %edi
	callq	_canon_mode
	movl	%eax, 16(%r14)
	movl	%ebx, 8(%r14)
	movl	12(%r14), %edi
	addq	%r12, %r15
	movq	%r15, %rsi
	callq	_hashcpy
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_3
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too-short tree object"

L_.str.1:                               ## @.str.1
	.asciz	"malformed mode in tree entry"

L_.str.2:                               ## @.str.2
	.asciz	"empty filename in tree entry"

	.no_dead_strip	_decode_tree_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_tree_entry
_decode_tree_entry:                     ; @decode_tree_entry
	.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	x19, x3
Lloh0:
	adrp	x9, _the_hash_algo@GOTPAGE
Lloh1:
	ldr	x9, [x9, _the_hash_algo@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w9, [x9]
	add	w10, w9, #3
	cmp	x10, x2
	b.hi	LBB0_2
; %bb.1:
	mov	x8, x1
	add	w9, w9, #1
	sub	x9, x2, x9
	ldrb	w9, [x1, x9]
	cbz	w9, LBB0_5
LBB0_2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
LBB0_3:
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_strbuf_addstr
	mov	w0, #-1
LBB0_4:
	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
LBB0_5:
	mov	x20, x0
	add	x1, sp, #12
	mov	x0, x8
	bl	_get_mode
	cbz	x0, LBB0_8
; %bb.6:
	mov	x21, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_9
; %bb.7:
	mov	x0, x21
	bl	_strlen
	mov	x19, x0
	add	w22, w0, #1
	str	x21, [x20]
	ldr	w0, [sp, #12]
	bl	_canon_mode
	str	w0, [x20, #16]
	str	w19, [x20, #8]
	ldr	w0, [x20, #12]
	add	x1, x21, x22
	bl	_hashcpy
	mov	w0, #0
	b	LBB0_4
LBB0_8:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_9:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too-short tree object"

l_.str.1:                               ; @.str.1
	.asciz	"malformed mode in tree entry"

l_.str.2:                               ; @.str.2
	.asciz	"empty filename in tree entry"

	.no_dead_strip	_decode_tree_entry
.subsections_via_symbols
