	.file	"extr_worktree.c_is_worktree_being_bisected.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"refs/heads/"
	.text
	.p2align 4
	.globl	is_worktree_being_bisected
	.type	is_worktree_being_bisected, @function
is_worktree_being_bisected:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, 8
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	xor	esi, esi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r12, rsp
	mov	rdi, r12
	call	memset@PLT
	mov	rsi, r12
	mov	rdi, rbp
	xor	r12d, r12d
	call	wt_status_check_bisect@PLT
	mov	rdi, QWORD PTR [rsp]
	test	rax, rax
	je	.L3
	test	rdi, rdi
	jne	.L11
.L3:
	call	free@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, rbx
	call	starts_with@PLT
	test	rax, rax
	jne	.L4
.L9:
	mov	rdi, QWORD PTR [rsp]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	lea	rdi, .LC0[rip]
	xor	r12d, r12d
	call	strlen@PLT
	mov	rdi, QWORD PTR [rsp]
	movsx	rsi, eax
	add	rsi, rbx
	call	strcmp@PLT
	test	eax, eax
	sete	r12b
	jmp	.L9
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	is_worktree_being_bisected, .-is_worktree_being_bisected
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_worktree.c_is_worktree_being_bisected.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"refs/heads/\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	is_worktree_being_bisected
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_worktree_being_bisected, %function
is_worktree_being_bisected:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #0
	push	{r4, r5, lr}
	ldr	r3, .L12
	sub	sp, sp, #12
	mov	r5, r1
	mov	r1, sp
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	str	r2, [sp]
	bl	wt_status_check_bisect
	subs	r4, r0, #0
	beq	.L8
	ldr	r4, [sp]
	cmp	r4, #0
	moveq	r0, r4
	bne	.L10
.L3:
	bl	free
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L8:
	ldr	r0, [sp]
	b	.L3
.L10:
	mov	r0, r5
	ldr	r1, .L12+4
	bl	starts_with
	subs	r4, r0, #0
	beq	.L8
	ldr	r0, [sp]
	add	r1, r5, #11
	bl	strcmp
	clz	r4, r0
	ldr	r0, [sp]
	lsr	r4, r4, #5
	b	.L3
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	.LC0
	.size	is_worktree_being_bisected, .-is_worktree_being_bisected
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
