	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_write_tree                 ## -- Begin function cmd_write_tree
	.p2align	4, 0x90
_cmd_write_tree:                        ## @cmd_write_tree
	.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	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -296(%rbp)                ## 8-byte Spill
	movq	%rsi, %r15
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -276(%rbp)
	movq	$0, -288(%rbp)
	leaq	L_.str.2(%rip), %rdi
	callq	_N_
	movq	_WRITE_TREE_MISSING_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	leaq	L_.str.1(%rip), %rdx
	leaq	-272(%rbp), %rdi
	leaq	-276(%rbp), %rbx
	xorl	%esi, %esi
	movq	%rbx, %rcx
	movl	%eax, %r8d
	callq	_OPT_BIT
	leaq	-216(%rbp), %r12
	leaq	L_.str.4(%rip), %rdi
	callq	_N_
	movl	%eax, %r14d
	leaq	L_.str.5(%rip), %rdi
	callq	_N_
	leaq	L_.str.3(%rip), %rdx
	leaq	-288(%rbp), %rcx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r14d, %r8d
	movl	%eax, %r9d
	callq	_OPT_STRING
	movq	_OPTION_BIT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -160(%rbp)
	movq	$0, -152(%rbp)
	leaq	L_.str.6(%rip), %rax
	movl	%eax, -144(%rbp)
	movl	%ebx, -140(%rbp)
	movq	$0, -136(%rbp)
	leaq	L_.str.7(%rip), %rdi
	callq	_N_
	movq	_PARSE_OPT_HIDDEN@GOTPCREL(%rip), %rcx
	movq	_PARSE_OPT_NOARG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%eax, -128(%rbp)
	movslq	%edx, %rax
	movq	%rax, -120(%rbp)
	movl	$0, -112(%rbp)
	movq	_WRITE_TREE_IGNORE_CACHE_TREE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -108(%rbp)
	leaq	-104(%rbp), %rdi
	xorl	%eax, %eax
	callq	_OPT_END
	movq	_git_default_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_git_config
	movq	_write_tree_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r13d, %edi
	movq	%r15, %rsi
	movq	-296(%rbp), %rdx                ## 8-byte Reload
	leaq	-272(%rbp), %rcx
	xorl	%r9d, %r9d
	callq	_parse_options
	movl	-276(%rbp), %esi
	movq	-288(%rbp), %rdx
	leaq	-280(%rbp), %rdi
	callq	_write_cache_as_tree
	movl	%eax, %ebx
	cmpl	$128, %eax
	jg	LBB0_5
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.2:
	cmpl	$128, %ebx
	jne	LBB0_8
## %bb.3:
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_4
LBB0_5:
	cmpl	$129, %ebx
	je	LBB0_11
## %bb.6:
	cmpl	$130, %ebx
	jne	LBB0_8
## %bb.7:
	movq	-288(%rbp), %rdx
	leaq	L_.str.11(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_8
LBB0_10:
	leaq	-280(%rbp), %rdi
	callq	_oid_to_hex
	leaq	L_.str.8(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
	jmp	LBB0_8
LBB0_11:
	leaq	L_.str.10(%rip), %rdi
LBB0_4:
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.12:
	movl	%ebx, %eax
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"git-write-tree"

L_.str.1:                               ## @.str.1
	.asciz	"missing-ok"

L_.str.2:                               ## @.str.2
	.asciz	"allow missing objects"

	.comm	_WRITE_TREE_MISSING_OK,4,2      ## @WRITE_TREE_MISSING_OK
L_.str.3:                               ## @.str.3
	.asciz	"prefix"

L_.str.4:                               ## @.str.4
	.asciz	"<prefix>/"

L_.str.5:                               ## @.str.5
	.asciz	"write tree object for a subdirectory <prefix>"

	.comm	_OPTION_BIT,4,2                 ## @OPTION_BIT
L_.str.6:                               ## @.str.6
	.asciz	"ignore-cache-tree"

L_.str.7:                               ## @.str.7
	.asciz	"only useful for debugging"

	.comm	_PARSE_OPT_HIDDEN,4,2           ## @PARSE_OPT_HIDDEN
	.comm	_PARSE_OPT_NOARG,4,2            ## @PARSE_OPT_NOARG
	.comm	_WRITE_TREE_IGNORE_CACHE_TREE,4,2 ## @WRITE_TREE_IGNORE_CACHE_TREE
	.comm	_git_default_config,4,2         ## @git_default_config
	.comm	_write_tree_usage,4,2           ## @write_tree_usage
L_.str.8:                               ## @.str.8
	.asciz	"%s\n"

L_.str.9:                               ## @.str.9
	.asciz	"%s: error reading the index"

L_.str.10:                              ## @.str.10
	.asciz	"%s: error building trees"

L_.str.11:                              ## @.str.11
	.asciz	"%s: prefix %s not found"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_write_tree                 ; -- Begin function cmd_write_tree
	.p2align	2
_cmd_write_tree:                        ; @cmd_write_tree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x26, x25, [sp, #272]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #288]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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
	mov	x19, x2
	mov	x20, 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, #-72]
	str	wzr, [sp, #36]
	str	xzr, [sp, #24]
Lloh3:
	adrp	x0, l_.str.2@PAGE
Lloh4:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh5:
	adrp	x8, _WRITE_TREE_MISSING_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WRITE_TREE_MISSING_OK@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x24, sp, #40
	add	x25, sp, #36
	add	x8, sp, #40
	add	x2, sp, #36
	mov	w0, #0
	bl	_OPT_BIT
	add	x22, x24, #56
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_N_
	mov	x23, x0
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_N_
	mov	x4, x0
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #24
	mov	x8, x22
	mov	w0, #0
	mov	x3, x23
	bl	_OPT_STRING
Lloh16:
	adrp	x8, _OPTION_BIT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _OPTION_BIT@GOTPAGEOFF]
Lloh18:
	ldrsw	x8, [x8]
	stp	x8, xzr, [sp, #152]
Lloh19:
	adrp	x8, l_.str.6@PAGE
Lloh20:
	add	x8, x8, l_.str.6@PAGEOFF
	stp	w8, w25, [sp, #168]
	str	xzr, [sp, #176]
Lloh21:
	adrp	x0, l_.str.7@PAGE
Lloh22:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_N_
	str	w0, [sp, #184]
Lloh23:
	adrp	x8, _PARSE_OPT_HIDDEN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PARSE_OPT_HIDDEN@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _PARSE_OPT_NOARG@GOTPAGE
Lloh27:
	ldr	x9, [x9, _PARSE_OPT_NOARG@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w9, w8
	sxtw	x8, w8
	str	x8, [sp, #192]
Lloh29:
	adrp	x8, _WRITE_TREE_IGNORE_CACHE_TREE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _WRITE_TREE_IGNORE_CACHE_TREE@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	stp	wzr, w8, [sp, #200]
	add	x8, x24, #168
	bl	_OPT_END
Lloh32:
	adrp	x8, _git_default_config@GOTPAGE
Lloh33:
	ldr	x8, [x8, _git_default_config@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_git_config
Lloh35:
	adrp	x8, _write_tree_usage@GOTPAGE
Lloh36:
	ldr	x8, [x8, _write_tree_usage@GOTPAGEOFF]
Lloh37:
	ldr	w4, [x8]
	add	x3, sp, #40
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w5, #0
	bl	_parse_options
	ldr	w1, [sp, #36]
	ldr	x2, [sp, #24]
	add	x0, sp, #16
	bl	_write_cache_as_tree
	mov	x19, x0
	cmp	w0, #128
	b.gt	LBB0_4
; %bb.1:
	cbz	w19, LBB0_7
; %bb.2:
	cmp	w19, #128
	b.ne	LBB0_10
; %bb.3:
Lloh38:
	adrp	x0, l_.str.9@PAGE
Lloh39:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_9
LBB0_4:
	cmp	w19, #129
	b.eq	LBB0_8
; %bb.5:
	cmp	w19, #130
	b.ne	LBB0_10
; %bb.6:
	ldr	x8, [sp, #24]
	str	x8, [sp]
Lloh40:
	adrp	x0, l_.str.11@PAGE
Lloh41:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_9
LBB0_7:
	add	x0, sp, #16
	bl	_oid_to_hex
	mov	x1, x0
Lloh42:
	adrp	x0, l_.str.8@PAGE
Lloh43:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	b	LBB0_10
LBB0_8:
Lloh44:
	adrp	x0, l_.str.10@PAGE
Lloh45:
	add	x0, x0, l_.str.10@PAGEOFF
LBB0_9:
Lloh46:
	adrp	x1, l_.str@PAGE
Lloh47:
	add	x1, x1, l_.str@PAGEOFF
	bl	_die
LBB0_10:
	ldur	x8, [x29, #-72]
Lloh48:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh49:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x19
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #288]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"git-write-tree"

l_.str.1:                               ; @.str.1
	.asciz	"missing-ok"

l_.str.2:                               ; @.str.2
	.asciz	"allow missing objects"

	.comm	_WRITE_TREE_MISSING_OK,4,2      ; @WRITE_TREE_MISSING_OK
l_.str.3:                               ; @.str.3
	.asciz	"prefix"

l_.str.4:                               ; @.str.4
	.asciz	"<prefix>/"

l_.str.5:                               ; @.str.5
	.asciz	"write tree object for a subdirectory <prefix>"

	.comm	_OPTION_BIT,4,2                 ; @OPTION_BIT
l_.str.6:                               ; @.str.6
	.asciz	"ignore-cache-tree"

l_.str.7:                               ; @.str.7
	.asciz	"only useful for debugging"

	.comm	_PARSE_OPT_HIDDEN,4,2           ; @PARSE_OPT_HIDDEN
	.comm	_PARSE_OPT_NOARG,4,2            ; @PARSE_OPT_NOARG
	.comm	_WRITE_TREE_IGNORE_CACHE_TREE,4,2 ; @WRITE_TREE_IGNORE_CACHE_TREE
	.comm	_git_default_config,4,2         ; @git_default_config
	.comm	_write_tree_usage,4,2           ; @write_tree_usage
l_.str.8:                               ; @.str.8
	.asciz	"%s\n"

l_.str.9:                               ; @.str.9
	.asciz	"%s: error reading the index"

l_.str.10:                              ; @.str.10
	.asciz	"%s: error building trees"

l_.str.11:                              ; @.str.11
	.asciz	"%s: prefix %s not found"

.subsections_via_symbols
