	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_bad_merge_base
_handle_bad_merge_base:                 ## @handle_bad_merge_base
	.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
	movq	_current_bad_oid@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_is_expected_rev
	testq	%rax, %rax
	jne	LBB0_1
## %bb.10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movq	_term_good@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_term_bad@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%ebx, %edi
	movq	%rax, %rsi
	movq	%rdx, %r8
	movq	%rcx, %r9
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_1:
	movl	(%rbx), %edi
	callq	_oid_to_hex
	movq	%rax, %r15
	movq	_good_revs@GOTPCREL(%rip), %rdi
	movl	$32, %esi
	callq	_join_sha1_array_hex
	movq	%rax, %r14
	movq	_term_bad@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movq	_term_good@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_4
LBB0_5:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	movq	_term_good@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.5(%rip), %rdi
LBB0_4:
	callq	__
	movl	%ebx, %edi
	movq	%rax, %rsi
	movq	%r15, %rdx
	movq	%r15, %rcx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_fprintf
	movl	$3, %edi
	callq	_exit
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movq	(%r12), %rcx
	movq	_term_good@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r8
	movq	%r14, (%rsp)
	movl	%ebx, %edi
	movq	%rax, %rsi
	movq	%r15, %rdx
	movq	%r15, %r9
	xorl	%eax, %eax
	callq	_fprintf
	movl	$3, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_current_bad_oid,4,2            ## @current_bad_oid
	.comm	_good_revs,4,2                  ## @good_revs
	.comm	_term_bad,8,3                   ## @term_bad
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad"

	.comm	_term_good,8,3                  ## @term_good
L_.str.1:                               ## @.str.1
	.asciz	"good"

	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"The merge base %s is bad.\nThis means the bug has been fixed between %s and [%s].\n"

L_.str.3:                               ## @.str.3
	.asciz	"new"

L_.str.4:                               ## @.str.4
	.asciz	"old"

L_.str.5:                               ## @.str.5
	.asciz	"The merge base %s is new.\nThe property has changed between %s and [%s].\n"

L_.str.6:                               ## @.str.6
	.asciz	"The merge base %s is %s.\nThis means the first '%s' commit is between %s and [%s].\n"

L_.str.7:                               ## @.str.7
	.asciz	"Some %s revs are not ancestors of the %s rev.\ngit bisect cannot work properly in this case.\nMaybe you mistook %s and %s revs?\n"

	.no_dead_strip	_handle_bad_merge_base
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_bad_merge_base
_handle_bad_merge_base:                 ; @handle_bad_merge_base
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x19, _current_bad_oid@GOTPAGE
Lloh1:
	ldr	x19, [x19, _current_bad_oid@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_is_expected_rev
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
Lloh5:
	adrp	x0, l_.str.7@PAGE
Lloh6:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	mov	x1, x0
Lloh7:
	adrp	x8, _term_good@GOTPAGE
Lloh8:
	ldr	x8, [x8, _term_good@GOTPAGEOFF]
Lloh9:
	ldr	x2, [x8]
Lloh10:
	adrp	x8, _term_bad@GOTPAGE
Lloh11:
	ldr	x8, [x8, _term_bad@GOTPAGEOFF]
Lloh12:
	ldr	x3, [x8]
	str	x3, [sp]
	mov	x0, x19
	mov	x4, x2
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_2:
	ldr	w0, [x19]
	bl	_oid_to_hex
	mov	x19, x0
Lloh13:
	adrp	x0, _good_revs@GOTPAGE
Lloh14:
	ldr	x0, [x0, _good_revs@GOTPAGEOFF]
	mov	w1, #32
	bl	_join_sha1_array_hex
	mov	x20, x0
Lloh15:
	adrp	x22, _term_bad@GOTPAGE
Lloh16:
	ldr	x22, [x22, _term_bad@GOTPAGEOFF]
	ldr	x21, [x22]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcmp
Lloh19:
	adrp	x23, _term_good@GOTPAGE
Lloh20:
	ldr	x23, [x23, _term_good@GOTPAGEOFF]
	cbnz	w0, LBB0_5
; %bb.3:
	ldr	x0, [x23]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_5
; %bb.4:
Lloh23:
	adrp	x8, _stderr@GOTPAGE
Lloh24:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh25:
	ldr	w21, [x8]
Lloh26:
	adrp	x0, l_.str.2@PAGE
Lloh27:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_5:
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbnz	w0, LBB0_9
; %bb.6:
	ldr	x0, [x23]
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_9
; %bb.7:
Lloh32:
	adrp	x8, _stderr@GOTPAGE
Lloh33:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh34:
	ldr	w21, [x8]
Lloh35:
	adrp	x0, l_.str.5@PAGE
Lloh36:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_8:
	bl	__
	mov	x1, x0
	mov	x0, x21
	mov	x2, x19
	mov	x3, x19
	mov	x4, x20
	b	LBB0_10
LBB0_9:
Lloh37:
	adrp	x8, _stderr@GOTPAGE
Lloh38:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh39:
	ldr	w21, [x8]
Lloh40:
	adrp	x0, l_.str.6@PAGE
Lloh41:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
	mov	x1, x0
	ldr	x3, [x22]
	ldr	x4, [x23]
	stp	x19, x20, [sp]
	mov	x0, x21
	mov	x2, x19
LBB0_10:
	bl	_fprintf
	mov	w0, #3
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_current_bad_oid,4,2            ; @current_bad_oid
	.comm	_good_revs,4,2                  ; @good_revs
	.comm	_term_bad,8,3                   ; @term_bad
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad"

	.comm	_term_good,8,3                  ; @term_good
l_.str.1:                               ; @.str.1
	.asciz	"good"

	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"The merge base %s is bad.\nThis means the bug has been fixed between %s and [%s].\n"

l_.str.3:                               ; @.str.3
	.asciz	"new"

l_.str.4:                               ; @.str.4
	.asciz	"old"

l_.str.5:                               ; @.str.5
	.asciz	"The merge base %s is new.\nThe property has changed between %s and [%s].\n"

l_.str.6:                               ; @.str.6
	.asciz	"The merge base %s is %s.\nThis means the first '%s' commit is between %s and [%s].\n"

l_.str.7:                               ; @.str.7
	.asciz	"Some %s revs are not ancestors of the %s rev.\ngit bisect cannot work properly in this case.\nMaybe you mistook %s and %s revs?\n"

	.no_dead_strip	_handle_bad_merge_base
.subsections_via_symbols
