	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_diff_tree                  ## -- Begin function cmd_diff_tree
	.p2align	4, 0x90
_cmd_diff_tree:                         ## @cmd_diff_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	$1032, %rsp                     ## imm = 0x408
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$2, %edi
	jne	LBB0_3
## %bb.1:
	movq	8(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_diff_tree_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usage
LBB0_3:
	movq	_git_diff_basic_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	callq	_git_config
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_log_tree_opt@GOTPCREL(%rip), %rbx
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_repo_init_revisions
	xorl	%eax, %eax
	callq	_read_cache
	testq	%rax, %rax
	jns	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_5:
	movq	$0, 48(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	leaq	-1064(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_diff_tree_tweak_rev@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -1064(%rbp)
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_precompose_argv
	movl	%r15d, %edi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_setup_revisions
	cmpl	$2, %eax
	jl	LBB0_11
## %bb.6:
	movl	%eax, %ebx
	incl	%ebx
	addq	$8, %r12
	xorl	%r13d, %r13d
	leaq	L_.str.2(%rip), %r15
	movq	_diff_tree_usage@GOTPCREL(%rip), %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r14), %edi
	callq	_usage
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	decl	%ebx
	addq	$8, %r12
	cmpl	$2, %ebx
	jbe	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	movq	%r15, %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %r13d
	jmp	LBB0_10
LBB0_11:
	movq	_log_tree_opt@GOTPCREL(%rip), %rbx
	movl	32(%rbx), %eax
	cmpl	$2, %eax
	je	LBB0_17
## %bb.12:
	cmpl	$1, %eax
	je	LBB0_16
## %bb.13:
	testl	%eax, %eax
	jne	LBB0_20
## %bb.14:
	testl	%r13d, %r13d
	jne	LBB0_21
## %bb.15:
	movq	_diff_tree_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usage
	jmp	LBB0_33
LBB0_17:
	movq	40(%rbx), %rax
	movq	(%rax), %r15
	movq	8(%rax), %r14
	movq	_UNINTERESTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_19
## %bb.18:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_SWAP
LBB0_19:
	addq	$4, %r15
	addq	$4, %r14
	leaq	8(%rbx), %rcx
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_diff_tree_oid
	movq	%rbx, %rdi
	callq	_log_tree_diff_flush
LBB0_20:
	testl	%r13d, %r13d
	jne	LBB0_21
	jmp	LBB0_33
LBB0_16:
	movq	40(%rbx), %rax
	movq	(%rax), %rdi
	addq	$4, %rdi
	callq	_diff_tree_commit_oid
	testl	%r13d, %r13d
	je	LBB0_33
LBB0_21:
	cmpq	$0, 24(%rbx)
	je	LBB0_25
## %bb.22:
	movq	_the_index@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_24
## %bb.23:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_repo_read_index
LBB0_24:
	movq	_DIFF_SETUP_USE_SIZE_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%rbx)
LBB0_25:
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-1056(%rbp), %rdi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_26
## %bb.27:
	xorl	%r13d, %r13d
	leaq	-1056(%rbp), %rbx
	leaq	-1072(%rbp), %r15
	movq	_stdout@GOTPCREL(%rip), %r14
	xorl	%r12d, %r12d
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_28 Depth=1
	movq	%rbx, %rdi
	callq	_diff_tree_stdin
	movq	_log_tree_opt@GOTPCREL(%rip), %rcx
	movl	8(%rcx), %eax
	cmpl	%eax, %r12d
	cmovlel	%eax, %r12d
	cmpl	$0, 12(%rcx)
	movl	$1, %eax
	cmovnel	%eax, %r13d
LBB0_31:                                ##   in Loop: Header=BB0_28 Depth=1
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_32
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_get_oid_hex
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_fputs
	movl	(%r14), %edi
	callq	_fflush
	jmp	LBB0_31
LBB0_26:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
LBB0_32:
	movq	_log_tree_opt@GOTPCREL(%rip), %rbx
	movl	%r13d, 12(%rbx)
	movl	%r12d, 8(%rbx)
LBB0_33:
	addq	$8, %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_diff_result_code
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_35
## %bb.34:
	addq	$1032, %rsp                     ## imm = 0x408
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_log_tree_opt,56,3              ## @log_tree_opt
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-h"

	.comm	_diff_tree_usage,4,2            ## @diff_tree_usage
	.comm	_git_diff_basic_config,4,2      ## @git_diff_basic_config
	.comm	_the_repository,4,2             ## @the_repository
L_.str.1:                               ## @.str.1
	.asciz	"index file corrupt"

	.comm	_diff_tree_tweak_rev,4,2        ## @diff_tree_tweak_rev
L_.str.2:                               ## @.str.2
	.asciz	"--stdin"

	.comm	_UNINTERESTING,4,2              ## @UNINTERESTING
L_.str.3:                               ## @.str.3
	.space	1

	.comm	_the_index,4,2                  ## @the_index
	.comm	_DIFF_SETUP_USE_SIZE_CACHE,4,2  ## @DIFF_SETUP_USE_SIZE_CACHE
	.comm	_stdin,4,2                      ## @stdin
	.comm	_stdout,4,2                     ## @stdout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_diff_tree                  ; -- Begin function cmd_diff_tree
	.p2align	2
_cmd_diff_tree:                         ; @cmd_diff_tree
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #1024
	mov	x22, 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]
	cmp	w0, #2
	b.ne	LBB0_3
; %bb.1:
	ldr	x0, [x20, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _diff_tree_usage@GOTPAGE
Lloh6:
	ldr	x8, [x8, _diff_tree_usage@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_usage
LBB0_3:
Lloh8:
	adrp	x8, _git_diff_basic_config@GOTPAGE
Lloh9:
	ldr	x8, [x8, _git_diff_basic_config@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_git_config
Lloh11:
	adrp	x23, _the_repository@GOTPAGE
Lloh12:
	ldr	x23, [x23, _the_repository@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh13:
	adrp	x19, _log_tree_opt@GOTPAGE
Lloh14:
	ldr	x19, [x19, _log_tree_opt@GOTPAGEOFF]
	mov	x1, x19
	mov	x2, x22
	bl	_repo_init_revisions
	bl	_read_cache
	tbz	x0, #63, LBB0_5
; %bb.4:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	bl	_die
LBB0_5:
	str	xzr, [x19, #48]
	movi.2s	v0, #1
	str	d0, [x19]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh17:
	adrp	x8, _diff_tree_tweak_rev@GOTPAGE
Lloh18:
	ldr	x8, [x8, _diff_tree_tweak_rev@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_precompose_argv
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_setup_revisions
	mov	w22, #0
	cmp	w0, #2
	b.lt	LBB0_11
; %bb.6:
	mov	w22, #0
	add	w21, w0, #1
	add	x24, x20, #8
Lloh20:
	adrp	x25, _diff_tree_usage@GOTPAGE
Lloh21:
	ldr	x25, [x25, _diff_tree_usage@GOTPAGEOFF]
Lloh22:
	adrp	x20, l_.str.2@PAGE
Lloh23:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x25]
	bl	_usage
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	sub	w21, w21, #1
	add	x24, x24, #8
	cmp	w21, #2
	b.ls	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	mov	x1, x20
	bl	_strcmp
	cbnz	w0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w22, #1
	b	LBB0_8
LBB0_11:
	ldr	w8, [x19, #32]
	cmp	w8, #2
	b.eq	LBB0_16
; %bb.12:
	cmp	w8, #1
	b.eq	LBB0_20
; %bb.13:
	cbnz	w8, LBB0_19
; %bb.14:
	cbnz	w22, LBB0_21
; %bb.15:
Lloh24:
	adrp	x8, _diff_tree_usage@GOTPAGE
Lloh25:
	ldr	x8, [x8, _diff_tree_usage@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_usage
	b	LBB0_33
LBB0_16:
	ldr	x8, [x19, #40]
	ldp	x20, x21, [x8]
	ldr	w8, [x21]
Lloh27:
	adrp	x9, _UNINTERESTING@GOTPAGE
Lloh28:
	ldr	x9, [x9, _UNINTERESTING@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
	mov	x0, x21
	mov	x1, x20
	bl	_SWAP
LBB0_18:
	add	x0, x20, #4
	add	x1, x21, #4
	add	x3, x19, #8
Lloh30:
	adrp	x2, l_.str.3@PAGE
Lloh31:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_diff_tree_oid
	mov	x0, x19
	bl	_log_tree_diff_flush
LBB0_19:
	cbnz	w22, LBB0_21
	b	LBB0_33
LBB0_20:
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	add	x0, x8, #4
	bl	_diff_tree_commit_oid
	cbz	w22, LBB0_33
LBB0_21:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_25
; %bb.22:
Lloh32:
	adrp	x8, _the_index@GOTPAGE
Lloh33:
	ldr	x8, [x8, _the_index@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cbnz	w8, LBB0_24
; %bb.23:
	ldr	w0, [x23]
	bl	_repo_read_index
LBB0_24:
Lloh35:
	adrp	x8, _DIFF_SETUP_USE_SIZE_CACHE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _DIFF_SETUP_USE_SIZE_CACHE@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
LBB0_25:
Lloh38:
	adrp	x20, _stdin@GOTPAGE
Lloh39:
	ldr	x20, [x20, _stdin@GOTPAGEOFF]
	ldr	w2, [x20]
	add	x0, sp, #16
	mov	w1, #1000
	bl	_fgets
	cbz	x0, LBB0_31
; %bb.26:
	mov	w22, #0
	mov	w21, #0
Lloh40:
	adrp	x23, _stdout@GOTPAGE
Lloh41:
	ldr	x23, [x23, _stdout@GOTPAGEOFF]
	b	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_29 Depth=1
	add	x0, sp, #16
	bl	_diff_tree_stdin
	ldp	w8, w9, [x19, #8]
	cmp	w21, w8
	csel	w21, w21, w8, gt
	cmp	w9, #0
	csinc	w22, w22, wzr, eq
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	w2, [x20]
	add	x0, sp, #16
	mov	w1, #1000
	bl	_fgets
	cbz	x0, LBB0_32
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #16
	mov	x1, sp
	bl	_get_oid_hex
	cbz	x0, LBB0_27
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	w1, [x23]
	add	x0, sp, #16
	bl	_fputs
	ldr	w0, [x23]
	bl	_fflush
	b	LBB0_28
LBB0_31:
	mov	w21, #0
	mov	w22, #0
LBB0_32:
	stp	w21, w22, [x19, #8]
LBB0_33:
	add	x0, x19, #8
	mov	w1, #0
	bl	_diff_result_code
	ldur	x8, [x29, #-72]
Lloh42:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh43:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_35
; %bb.34:
	add	sp, sp, #1024
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_35:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_log_tree_opt,56,3              ; @log_tree_opt
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-h"

	.comm	_diff_tree_usage,4,2            ; @diff_tree_usage
	.comm	_git_diff_basic_config,4,2      ; @git_diff_basic_config
	.comm	_the_repository,4,2             ; @the_repository
l_.str.1:                               ; @.str.1
	.asciz	"index file corrupt"

	.comm	_diff_tree_tweak_rev,4,2        ; @diff_tree_tweak_rev
l_.str.2:                               ; @.str.2
	.asciz	"--stdin"

	.comm	_UNINTERESTING,4,2              ; @UNINTERESTING
l_.str.3:                               ; @.str.3
	.space	1

	.comm	_the_index,4,2                  ; @the_index
	.comm	_DIFF_SETUP_USE_SIZE_CACHE,4,2  ; @DIFF_SETUP_USE_SIZE_CACHE
	.comm	_stdin,4,2                      ; @stdin
	.comm	_stdout,4,2                     ; @stdout
.subsections_via_symbols
