	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_good_are_ancestors_of_bad
_check_good_are_ancestors_of_bad:       ## @check_good_are_ancestors_of_bad
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rdi
	callq	_git_pathdup
	movq	%rax, %r13
	movq	_current_bad_oid@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	_term_bad@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_die
LBB0_2:
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_stat
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	-48(%rbp), %edi
	callq	_S_ISREG
	testq	%rax, %rax
	jne	LBB0_10
LBB0_4:
	movq	_good_revs@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.5:
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	callq	_get_bad_and_good_commits
	movq	%rax, %rbx
	movl	-44(%rbp), %esi
	movq	%r12, %rdi
	movq	%rax, %rdx
	movq	%r15, %rcx
	callq	_check_ancestors
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	-44(%rbp), %edi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_check_merge_bases
LBB0_7:
	movq	%rbx, %rdi
	callq	_free
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movq	_O_TRUNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%r13, %rdi
	movl	$384, %edx                      ## imm = 0x180
	callq	_open
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	movl	%eax, %edi
	callq	_close
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_warning_errno
LBB0_10:
	movq	%r13, %rdi
	callq	_free
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BISECT_ANCESTORS_OK"

	.comm	_current_bad_oid,4,2            ## @current_bad_oid
L_.str.1:                               ## @.str.1
	.asciz	"a %s revision is needed"

	.comm	_term_bad,4,2                   ## @term_bad
	.comm	_good_revs,8,3                  ## @good_revs
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_TRUNC,4,2                    ## @O_TRUNC
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
L_.str.2:                               ## @.str.2
	.asciz	"could not create file '%s'"

	.no_dead_strip	_check_good_are_ancestors_of_bad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_good_are_ancestors_of_bad
_check_good_are_ancestors_of_bad:       ; @check_good_are_ancestors_of_bad
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_git_pathdup
	mov	x19, x0
Lloh2:
	adrp	x8, _current_bad_oid@GOTPAGE
Lloh3:
	ldr	x8, [x8, _current_bad_oid@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
Lloh7:
	adrp	x8, _term_bad@GOTPAGE
Lloh8:
	ldr	x8, [x8, _term_bad@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_die
LBB0_2:
	add	x1, sp, #8
	mov	x0, x19
	bl	_stat
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w0, [sp, #8]
	bl	_S_ISREG
	cbnz	x0, LBB0_10
LBB0_4:
Lloh10:
	adrp	x8, _good_revs@GOTPAGE
Lloh11:
	ldr	x8, [x8, _good_revs@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.5:
	add	x1, sp, #4
	mov	x0, x22
	bl	_get_bad_and_good_commits
	mov	x23, x0
	ldr	w1, [sp, #4]
	mov	x0, x22
	mov	x2, x23
	mov	x3, x21
	bl	_check_ancestors
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w0, [sp, #4]
	mov	x1, x23
	mov	x2, x20
	bl	_check_merge_bases
LBB0_7:
	mov	x0, x23
	bl	_free
Lloh13:
	adrp	x8, _O_CREAT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _O_CREAT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _O_TRUNC@GOTPAGE
Lloh17:
	ldr	x9, [x9, _O_TRUNC@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh19:
	adrp	x9, _O_WRONLY@GOTPAGE
Lloh20:
	ldr	x9, [x9, _O_WRONLY@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x19
	mov	w2, #384
	bl	_open
	tbnz	w0, #31, LBB0_9
; %bb.8:
	bl	_close
	b	LBB0_10
LBB0_9:
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_warning_errno
LBB0_10:
	mov	x0, x19
	bl	_free
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BISECT_ANCESTORS_OK"

	.comm	_current_bad_oid,4,2            ; @current_bad_oid
l_.str.1:                               ; @.str.1
	.asciz	"a %s revision is needed"

	.comm	_term_bad,4,2                   ; @term_bad
	.comm	_good_revs,8,3                  ; @good_revs
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_TRUNC,4,2                    ; @O_TRUNC
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
l_.str.2:                               ; @.str.2
	.asciz	"could not create file '%s'"

	.no_dead_strip	_check_good_are_ancestors_of_bad
.subsections_via_symbols
