	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stdin_diff_trees
_stdin_diff_trees:                      ## @stdin_diff_trees
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	1(%rsi), %rbx
	movq	%rbx, -40(%rbp)
	movsbl	(%rsi), %edi
	callq	_isspace
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	leaq	-32(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_parse_oid_hex
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	-40(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_error
	movl	%eax, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rsi
	callq	_lookup_tree
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_parse_tree
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_oid_to_hex
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_oid_to_hex
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_printf
	leaq	L_.str.2(%rip), %rdx
	movq	_log_tree_opt@GOTPCREL(%rip), %rbx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_diff_tree_oid
	movq	%rbx, %rdi
	callq	_log_tree_diff_flush
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Need exactly two trees, separated by a space"

	.comm	_the_repository,4,2             ## @the_repository
L_.str.1:                               ## @.str.1
	.asciz	"%s %s\n"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_log_tree_opt,4,2               ## @log_tree_opt
	.no_dead_strip	_stdin_diff_trees
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stdin_diff_trees
_stdin_diff_trees:                      ; @stdin_diff_trees
	.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	x20, x1
	mov	x19, x0
	ldrsb	w0, [x20], #1
	str	x20, [sp, #8]
	bl	_isspace
	cbz	w0, LBB0_3
; %bb.1:
	mov	x1, sp
	add	x2, sp, #8
	mov	x0, x20
	bl	_parse_oid_hex
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_5
LBB0_3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
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:
Lloh2:
	adrp	x8, _the_repository@GOTPAGE
Lloh3:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, sp
	bl	_lookup_tree
	cbz	x0, LBB0_7
; %bb.6:
	mov	x20, x0
	bl	_parse_tree
	cbz	x0, LBB0_8
LBB0_7:
	mov	w0, #-1
	b	LBB0_4
LBB0_8:
	mov	x0, x19
	bl	_oid_to_hex
	mov	x21, x0
	mov	x0, x20
	bl	_oid_to_hex
	mov	x2, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_printf
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
Lloh9:
	adrp	x21, _log_tree_opt@GOTPAGE
Lloh10:
	ldr	x21, [x21, _log_tree_opt@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	mov	x3, x21
	bl	_diff_tree_oid
	mov	x0, x21
	bl	_log_tree_diff_flush
	mov	w0, #0
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Need exactly two trees, separated by a space"

	.comm	_the_repository,4,2             ; @the_repository
l_.str.1:                               ; @.str.1
	.asciz	"%s %s\n"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_log_tree_opt,4,2               ; @log_tree_opt
	.no_dead_strip	_stdin_diff_trees
.subsections_via_symbols
