	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bisect_checkout
_bisect_checkout:                       ## @bisect_checkout
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_GIT_MAX_HEXSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rdi
	callq	_oid_to_hex
	movq	_the_hash_algo@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rdx
	incq	%rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_memcpy
	movq	_UPDATE_REFS_DIE_ON_ERR@GOTPCREL(%rip), %r12
	movl	(%r12), %r9d
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_update_ref
	movq	_argv_checkout@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r14, 16(%rdi)
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movl	(%r12), %r9d
	leaq	L_.str.1(%rip), %rsi
	xorl	%edi, %edi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_update_ref
	jmp	LBB0_3
LBB0_2:
	movq	_RUN_GIT_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_run_command_v_opt
	testl	%eax, %eax
	jne	LBB0_5
LBB0_3:
	movq	_argv_show_branch@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r14, 8(%rdi)
	movq	_RUN_GIT_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_run_command_v_opt
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_6
## %bb.4:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
LBB0_5:
	movl	%eax, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_GIT_MAX_HEXSZ,4,2              ## @GIT_MAX_HEXSZ
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BISECT_EXPECTED_REV"

	.comm	_UPDATE_REFS_DIE_ON_ERR,4,2     ## @UPDATE_REFS_DIE_ON_ERR
	.comm	_argv_checkout,8,3              ## @argv_checkout
L_.str.1:                               ## @.str.1
	.asciz	"BISECT_HEAD"

	.comm	_RUN_GIT_CMD,4,2                ## @RUN_GIT_CMD
	.comm	_argv_show_branch,8,3           ## @argv_show_branch
	.no_dead_strip	_bisect_checkout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bisect_checkout
_bisect_checkout:                       ; @bisect_checkout
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _GIT_MAX_HEXSZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GIT_MAX_HEXSZ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	bl	_oid_to_hex
	mov	x1, x0
Lloh8:
	adrp	x8, _the_hash_algo@GOTPAGE
Lloh9:
	ldr	x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x8, [x8]
	add	x2, x8, #1
	mov	x0, x19
	bl	_memcpy
Lloh11:
	adrp	x23, _UPDATE_REFS_DIE_ON_ERR@GOTPAGE
Lloh12:
	ldr	x23, [x23, _UPDATE_REFS_DIE_ON_ERR@GOTPAGEOFF]
	ldr	w5, [x23]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	mov	x2, x20
	mov	x3, #0
	mov	w4, #0
	bl	_update_ref
Lloh15:
	adrp	x8, _argv_checkout@GOTPAGE
Lloh16:
	ldr	x8, [x8, _argv_checkout@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
	str	x19, [x0, #16]
Lloh18:
	adrp	x22, _RUN_GIT_CMD@GOTPAGE
Lloh19:
	ldr	x22, [x22, _RUN_GIT_CMD@GOTPAGEOFF]
	cbz	w21, LBB0_2
; %bb.1:
	ldr	w5, [x23]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, #0
	mov	x2, x20
	mov	x3, #0
	mov	w4, #0
	bl	_update_ref
	b	LBB0_3
LBB0_2:
	ldr	w1, [x22]
	bl	_run_command_v_opt
	cbnz	w0, LBB0_6
LBB0_3:
Lloh22:
	adrp	x8, _argv_show_branch@GOTPAGE
Lloh23:
	ldr	x8, [x8, _argv_show_branch@GOTPAGEOFF]
Lloh24:
	ldr	x0, [x8]
	str	x19, [x0, #8]
	ldr	w1, [x22]
	bl	_run_command_v_opt
	ldur	x8, [x29, #-56]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
LBB0_6:
	bl	_exit
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_GIT_MAX_HEXSZ,4,2              ; @GIT_MAX_HEXSZ
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BISECT_EXPECTED_REV"

	.comm	_UPDATE_REFS_DIE_ON_ERR,4,2     ; @UPDATE_REFS_DIE_ON_ERR
	.comm	_argv_checkout,8,3              ; @argv_checkout
l_.str.1:                               ; @.str.1
	.asciz	"BISECT_HEAD"

	.comm	_RUN_GIT_CMD,4,2                ; @RUN_GIT_CMD
	.comm	_argv_show_branch,8,3           ; @argv_show_branch
	.no_dead_strip	_bisect_checkout
.subsections_via_symbols
