	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_objects
_find_objects:                          ## @find_objects
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	$0, -56(%rbp)
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rdx, %rbx
	movq	%rdi, %r13
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	leaq	-56(%rbp), %rsi
	callq	_object_list_insert
	testq	%rbx, %rbx
	je	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %r14
	movq	(%rbx), %rbx
	movq	(%r14), %rax
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %edi
	movl	12(%r14), %esi
	callq	_kh_get_oid_map
	movq	%rax, %r12
	movl	(%r13), %edi
	callq	_kh_end
	cmpq	%rax, %r12
	jge	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_kh_value
	movq	%rax, %rdi
	callq	_lookup_stored_bitmap
	testq	%r15, %r15
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_bitmap_or_ewah
	jmp	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rdi
	callq	_ewah_to_bitmap
	movq	%rax, %r15
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_SEEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
	testq	%rbx, %rbx
	jne	LBB0_3
LBB0_11:
	movq	-56(%rbp), %r12
	testq	%r12, %r12
	je	LBB0_24
## %bb.12:
	movb	$1, %r14b
	jmp	LBB0_13
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_UNINTERESTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%rbx)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	leaq	L_.str(%rip), %rdx
	callq	_add_pending_object
	xorl	%r14d, %r14d
	testq	%r12, %r12
	je	LBB0_19
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rbx
	movq	(%r12), %r12
	leaq	12(%rbx), %rsi
	movq	%r13, %rdi
	callq	_bitmap_position
	testl	%eax, %eax
	js	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	testq	%r15, %r15
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bitmap_get
	testl	%eax, %eax
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_SEEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rbx)
	testq	%r12, %r12
	jne	LBB0_13
## %bb.17:
	testb	$1, %r14b
	jne	LBB0_24
LBB0_19:
	testq	%r15, %r15
	jne	LBB0_21
## %bb.20:
	xorl	%eax, %eax
	callq	_bitmap_new
	movq	%rax, %r15
LBB0_21:
	movq	%r13, -88(%rbp)
	movq	%r15, -96(%rbp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -104(%rbp)
	movq	_should_include@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, 8(%rdi)
	leaq	-104(%rbp), %rax
	movq	%rax, (%rdi)
	callq	_prepare_revision_walk
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	leaq	L_.str.1(%rip), %rdi
	callq	_die
LBB0_23:
	movq	%r13, -72(%rbp)
	movq	%r15, -80(%rbp)
	movq	_show_commit@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_show_object@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_traverse_commit_list
	jmp	LBB0_24
LBB0_1:
	xorl	%r15d, %r15d
LBB0_24:
	movq	%r15, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJ_COMMIT,8,3                 ## @OBJ_COMMIT
	.comm	_SEEN,4,2                       ## @SEEN
	.comm	_UNINTERESTING,4,2              ## @UNINTERESTING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_should_include,4,2             ## @should_include
L_.str.1:                               ## @.str.1
	.asciz	"revision walk setup failed"

	.comm	_show_commit,4,2                ## @show_commit
	.comm	_show_object,4,2                ## @show_object
	.no_dead_strip	_find_objects
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_objects
_find_objects:                          ; @find_objects
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	str	xzr, [sp, #40]
	cbz	x2, LBB0_22
; %bb.1:
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x21, x0
	mov	x20, #0
Lloh0:
	adrp	x27, _OBJ_COMMIT@GOTPAGE
Lloh1:
	ldr	x27, [x27, _OBJ_COMMIT@GOTPAGEOFF]
Lloh2:
	adrp	x26, _SEEN@GOTPAGE
Lloh3:
	ldr	x26, [x26, _SEEN@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #40
	mov	x0, x24
	bl	_object_list_insert
	cbz	x23, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x23, x24, [x23]
	ldr	x8, [x24]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x21]
	ldr	w1, [x24, #12]
	bl	_kh_get_oid_map
	mov	x25, x0
	ldr	w0, [x21]
	bl	_kh_end
	cmp	x25, x0
	b.ge	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x21]
	mov	x1, x25
	bl	_kh_value
	bl	_lookup_stored_bitmap
	mov	x1, x0
	cbz	x20, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_bitmap_or_ewah
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x1
	bl	_ewah_to_bitmap
	mov	x20, x0
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x26]
	ldr	w9, [x24, #8]
	orr	w8, w9, w8
	str	w8, [x24, #8]
	cbnz	x23, LBB0_3
LBB0_9:
	ldr	x25, [sp, #40]
	cbz	x25, LBB0_23
; %bb.10:
	mov	w28, #1
Lloh4:
	adrp	x27, _UNINTERESTING@GOTPAGE
Lloh5:
	ldr	x27, [x27, _UNINTERESTING@GOTPAGEOFF]
Lloh6:
	adrp	x23, l_.str@PAGE
Lloh7:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x27]
	ldr	w9, [x24, #8]
	bic	w8, w9, w8
	str	w8, [x24, #8]
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	bl	_add_pending_object
	mov	w28, #0
	cbz	x25, LBB0_17
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	x25, x24, [x25]
	add	x1, x24, #12
	mov	x0, x21
	bl	_bitmap_position
	tbnz	w0, #31, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	cbz	x20, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x1, x0
	mov	x0, x20
	bl	_bitmap_get
	cbz	w0, LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x26]
	ldr	w9, [x24, #8]
	orr	w8, w9, w8
	str	w8, [x24, #8]
	cbnz	x25, LBB0_12
; %bb.16:
	tbnz	w28, #0, LBB0_23
LBB0_17:
	cbnz	x20, LBB0_19
; %bb.18:
	bl	_bitmap_new
	mov	x20, x0
LBB0_19:
	stp	x20, x21, [sp, #24]
	str	x22, [sp, #16]
Lloh8:
	adrp	x8, _should_include@GOTPAGE
Lloh9:
	ldr	x8, [x8, _should_include@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	add	x8, sp, #16
	str	x8, [x19]
	mov	x0, x19
	bl	_prepare_revision_walk
	cbz	x0, LBB0_21
; %bb.20:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_21:
	stp	x20, x21, [sp]
Lloh13:
	adrp	x8, _show_commit@GOTPAGE
Lloh14:
	ldr	x8, [x8, _show_commit@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _show_object@GOTPAGE
Lloh17:
	ldr	x8, [x8, _show_object@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x3, sp
	mov	x0, x19
	bl	_traverse_commit_list
	b	LBB0_23
LBB0_22:
	mov	x20, #0
LBB0_23:
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJ_COMMIT,8,3                 ; @OBJ_COMMIT
	.comm	_SEEN,4,2                       ; @SEEN
	.comm	_UNINTERESTING,4,2              ; @UNINTERESTING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_should_include,4,2             ; @should_include
l_.str.1:                               ; @.str.1
	.asciz	"revision walk setup failed"

	.comm	_show_commit,4,2                ; @show_commit
	.comm	_show_object,4,2                ; @show_object
	.no_dead_strip	_find_objects
.subsections_via_symbols
