	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_shallow_commits_by_rev_list ## -- Begin function get_shallow_commits_by_rev_list
	.p2align	4, 0x90
_get_shallow_commits_by_rev_list:       ## @get_shallow_commits_by_rev_list
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movl	%edi, %r13d
	movq	$0, -72(%rbp)
	movq	$0, -48(%rbp)
	movl	%ecx, %r14d
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	orl	%edx, %r14d
	movl	%r14d, %edi
	callq	_clear_object_flags
	movq	_the_repository@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_is_repository_shallow
	movl	(%r15), %edi
	leaq	-56(%rbp), %r12
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_repo_init_revisions
	movq	_save_commit_buffer@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movl	%r13d, %edi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_setup_revisions
	movq	%r12, %rdi
	callq	_prepare_revision_walk
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_2:
	movq	_show_commit@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rcx
	xorl	%edx, %edx
	callq	_traverse_commit_list
	movq	-48(%rbp), %r15
	testq	%r15, %r15
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_die
	movq	-48(%rbp), %r15
	testq	%r15, %r15
	je	LBB0_16
LBB0_4:
	movq	%r15, %rax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rcx
	orl	%ebx, (%rcx)
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	leaq	L_.str.2(%rip), %r13
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	orl	%eax, (%r12)
	movq	%r12, %rdi
	leaq	-72(%rbp), %rsi
	callq	_commit_list_insert
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r15), %r15
	testq	%r15, %r15
	je	LBB0_15
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	(%r15), %r12
	movq	%r12, %rdi
	callq	_parse_commit
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	4(%r12), %rdi
	callq	_oid_to_hex
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_die
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r12), %rax
	testq	%rax, %rax
	je	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_12
	jmp	LBB0_14
LBB0_15:
	movq	-48(%rbp), %r12
LBB0_16:
	movq	%r12, %rdi
	callq	_free_commit_list
	movq	-72(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_21
## %bb.17:
	notl	%ebx
	movq	%rax, %rcx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_21
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rdx
	movl	(%rdx), %esi
	movl	%esi, %edi
	notl	%edi
	testl	%edi, %r14d
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	andl	%ebx, %esi
	movl	%esi, (%rdx)
	jmp	LBB0_20
LBB0_21:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_save_commit_buffer,8,3         ## @save_commit_buffer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"revision walk setup failed"

	.comm	_show_commit,4,2                ## @show_commit
L_.str.1:                               ## @.str.1
	.asciz	"no commits selected for shallow requests"

L_.str.2:                               ## @.str.2
	.asciz	"unable to parse commit %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_shallow_commits_by_rev_list ; -- Begin function get_shallow_commits_by_rev_list
	.p2align	2
_get_shallow_commits_by_rev_list:       ; @get_shallow_commits_by_rev_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	stp	xzr, xzr, [sp, #16]
	orr	w19, w3, w2
	mov	x0, x19
	bl	_clear_object_flags
Lloh0:
	adrp	x24, _the_repository@GOTPAGE
Lloh1:
	ldr	x24, [x24, _the_repository@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_is_repository_shallow
	ldr	w0, [x24]
	add	x1, sp, #8
	mov	x2, #0
	bl	_repo_init_revisions
Lloh2:
	adrp	x8, _save_commit_buffer@GOTPAGE
Lloh3:
	ldr	x8, [x8, _save_commit_buffer@GOTPAGEOFF]
Lloh4:
	str	xzr, [x8]
	add	x2, sp, #8
	mov	x0, x23
	mov	x1, x22
	mov	x3, #0
	bl	_setup_revisions
	add	x0, sp, #8
	bl	_prepare_revision_walk
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_2:
Lloh7:
	adrp	x8, _show_commit@GOTPAGE
Lloh8:
	ldr	x8, [x8, _show_commit@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	add	x0, sp, #8
	add	x3, sp, #16
	mov	x2, #0
	bl	_traverse_commit_list
	ldr	x24, [sp, #16]
	cbnz	x24, LBB0_4
; %bb.3:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
	ldr	x24, [sp, #16]
	cbz	x24, LBB0_21
LBB0_4:
	mov	x8, x24
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8]
	ldr	w10, [x9]
	orr	w10, w10, w20
	str	w10, [x9]
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_5
; %bb.6:
Lloh12:
	adrp	x22, l_.str.2@PAGE
Lloh13:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x23]
	orr	w8, w8, w21
	str	w8, [x23]
	add	x1, sp, #24
	mov	x0, x23
	bl	_commit_list_insert
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x24, [x24, #8]
	cbz	x24, LBB0_14
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldr	x23, [x24]
	mov	x0, x23
	bl	_parse_commit
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x0, x23, #4
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x22
	bl	_die
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_8
LBB0_12:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x8]
	ldr	w9, [x9]
	tst	w9, w20
	b.eq	LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_12
	b	LBB0_8
LBB0_14:
	ldr	x0, [sp, #16]
LBB0_15:
	bl	_free_commit_list
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_20
; %bb.16:
	mvn	w8, w20
	mov	x9, x0
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_20
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	ldr	w11, [x10]
	bics	wzr, w19, w11
	b.ne	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	and	w11, w11, w8
	str	w11, [x10]
	b	LBB0_17
LBB0_20:
	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
	add	sp, sp, #96
	ret
LBB0_21:
	mov	x0, #0
	b	LBB0_15
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_save_commit_buffer,8,3         ; @save_commit_buffer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"revision walk setup failed"

	.comm	_show_commit,4,2                ; @show_commit
l_.str.1:                               ; @.str.1
	.asciz	"no commits selected for shallow requests"

l_.str.2:                               ; @.str.2
	.asciz	"unable to parse commit %s"

.subsections_via_symbols
