	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mktree
_mktree:                                ## @mktree
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	8(%rdi), %rdi
	movl	(%r15), %esi
	testl	%ebx, %ebx
	jne	LBB0_1
## %bb.2:
	movq	_tecmp0@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_tecmp1@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	callq	_QSORT
	movl	(%r15), %eax
	movslq	%ebx, %r13
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	8(%r15), %rcx
	cmpl	$1, %eax
	jne	LBB0_7
## %bb.6:
	xorl	%edx, %edx
	xorl	%r12d, %r12d
LBB0_13:
	testb	$1, %al
	je	LBB0_16
## %bb.14:
	movq	(%rcx,%rdx,8), %rax
	movq	(%rax), %rcx
	cmpl	$0, (%rcx,%r13,8)
	je	LBB0_16
## %bb.15:
	movq	8(%rax), %rax
	movq	8(%rax), %rax
	addq	%rax, %r12
	addq	$34, %r12
	jmp	LBB0_16
LBB0_4:
	xorl	%r12d, %r12d
LBB0_16:
	movq	%r14, %rdi
	callq	_strbuf_reset
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_strbuf_grow
	movl	(%r15), %eax
	testl	%eax, %eax
	je	LBB0_21
## %bb.17:
	xorl	%ebx, %ebx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	incq	%rbx
	movl	%eax, %ecx
	cmpq	%rcx, %rbx
	jae	LBB0_21
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rcx
	movq	(%rcx,%rbx,8), %r12
	movq	(%r12), %rcx
	movl	(%rcx,%r13,8), %edx
	testl	%edx, %edx
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	_NO_DELTA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %edx
	movq	8(%r12), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%r8d, %r8d
	callq	_strbuf_addf
	movq	(%r12), %rax
	movl	4(%rax,%r13,8), %esi
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_strbuf_add
	movl	(%r15), %eax
	jmp	LBB0_20
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%eax, %esi
	andl	$-2, %esi
	xorl	%edx, %edx
	xorl	%r12d, %r12d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	je	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rdi
	movq	(%rdi), %rbx
	cmpl	$0, (%rbx,%r13,8)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%rdi), %rdi
	movq	8(%rdi), %rdi
	addq	%rdi, %r12
	addq	$34, %r12
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%rcx,%rdx,8), %rdi
	movq	(%rdi), %rbx
	cmpl	$0, (%rbx,%r13,8)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%rdi), %rdi
	movq	8(%rdi), %rdi
	addq	%rdi, %r12
	addq	$34, %r12
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_tecmp0,4,2                     ## @tecmp0
	.comm	_tecmp1,4,2                     ## @tecmp1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%o %s%c"

	.comm	_NO_DELTA,4,2                   ## @NO_DELTA
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.no_dead_strip	_mktree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mktree
_mktree:                                ; @mktree
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x0, [x0, #8]
Lloh0:
	adrp	x8, _tecmp0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tecmp0@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x9, _tecmp1@GOTPAGE
Lloh3:
	ldr	x9, [x9, _tecmp1@GOTPAGEOFF]
	cmp	w21, #0
	csel	x8, x8, x9, eq
	ldr	w2, [x8]
	bl	_QSORT
	ldr	w8, [x20]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x22, #0
	ldr	x9, [x20, #8]
	sxtw	x10, w21
	lsl	x10, x10, #3
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9]
	ldr	x12, [x11]
	ldr	w12, [x12, x10]
	cbz	w12, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x11, #8]
	ldr	x11, [x11, #8]
	add	x11, x22, x11
	add	x22, x11, #34
	b	LBB0_2
LBB0_5:
	mov	x22, #0
LBB0_6:
	mov	x0, x19
	bl	_strbuf_reset
	mov	x0, x19
	mov	x1, x22
	bl	_strbuf_grow
	ldr	w8, [x20]
	cbz	w8, LBB0_11
; %bb.7:
	mov	x22, #0
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	sxtw	x23, w21
	lsl	x24, x23, #3
Lloh4:
	adrp	x25, _NO_DELTA@GOTPAGE
Lloh5:
	ldr	x25, [x25, _NO_DELTA@GOTPAGEOFF]
Lloh6:
	adrp	x21, l_.str@PAGE
Lloh7:
	add	x21, x21, l_.str@PAGEOFF
Lloh8:
	adrp	x26, _the_hash_algo@GOTPAGE
Lloh9:
	ldr	x26, [x26, _the_hash_algo@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, uxtw
	b.hs	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	ldr	x27, [x9, x22, lsl #3]
	ldr	x9, [x27]
	ldr	w9, [x9, x24]
	cbz	w9, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x25]
	bic	w2, w9, w8
	ldr	x8, [x27, #8]
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w4, #0
	bl	_strbuf_addf
	ldr	x8, [x27]
	add	x8, x8, x23, lsl #3
	ldr	w1, [x8, #4]
	ldr	x8, [x26]
	ldr	w2, [x8]
	mov	x0, x19
	bl	_strbuf_add
	ldr	w8, [x20]
	b	LBB0_8
LBB0_11:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_tecmp0,4,2                     ; @tecmp0
	.comm	_tecmp1,4,2                     ; @tecmp1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%o %s%c"

	.comm	_NO_DELTA,4,2                   ; @NO_DELTA
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.no_dead_strip	_mktree
.subsections_via_symbols
