	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_independent
_handle_independent:                    ## @handle_independent
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -32(%rbp)
	testl	%edi, %edi
	jle	LBB0_3
## %bb.1:
	movq	%rsi, %r15
	movl	%edi, %ebx
	incq	%rbx
	leaq	-32(%rbp), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rbx), %eax
	movq	(%r15,%rax,8), %rdi
	callq	_get_commit_reference
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_commit_list_insert
	decq	%rbx
	cmpq	$1, %rbx
	ja	LBB0_2
LBB0_3:
	leaq	-32(%rbp), %rdi
	callq	_reduce_heads_replace
	movq	-32(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.5:
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	callq	_oid_to_hex
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_printf
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_6
## %bb.7:
	movq	-32(%rbp), %rdi
	callq	_free_commit_list
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_4:
	movl	$1, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.no_dead_strip	_handle_independent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_independent
_handle_independent:                    ; @handle_independent
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	xzr, [sp, #8]
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x1
	mov	w8, w0
	add	x20, x8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w20, #2
	ldr	x0, [x19, w8, uxtw #3]
	bl	_get_commit_reference
	add	x1, sp, #8
	bl	_commit_list_insert
	sub	x20, x20, #1
	cmp	x20, #1
	b.hi	LBB0_2
LBB0_3:
	add	x0, sp, #8
	bl	_reduce_heads_replace
	ldr	x20, [sp, #8]
	cbz	x20, LBB0_7
; %bb.4:
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x19
	bl	_printf
	ldr	x20, [x20, #8]
	cbnz	x20, LBB0_5
; %bb.6:
	ldr	x0, [sp, #8]
	bl	_free_commit_list
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.no_dead_strip	_handle_independent
.subsections_via_symbols
