	.file	"extr_bisect--helper.c_bisect_reset.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"We are not bisecting.\n"
.LC1:
	.string	"'%s' is not a valid commit"
.LC2:
	.string	"--"
.LC3:
	.string	"checkout"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"could not check out original HEAD '%s'. Try 'git bisect reset <commit>'."
	.text
	.p2align 4
	.type	bisect_reset, @function
bisect_reset:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR STRBUF_INIT[rip]
	mov	QWORD PTR 16[rsp], rax
	test	rdi, rdi
	je	.L12
	lea	rsi, 12[rsp]
	mov	rbp, rdi
	call	get_oid_commit@PLT
	test	rax, rax
	jne	.L13
	lea	r12, 16[rsp]
	mov	rsi, rbp
	mov	rdi, r12
	call	strbuf_addstr@PLT
.L5:
	xor	eax, eax
	call	git_path_bisect_head@PLT
	mov	edi, eax
	call	file_exists@PLT
	test	eax, eax
	jne	.L7
	mov	eax, DWORD PTR ARGV_ARRAY_INIT[rip]
	mov	rdx, QWORD PTR 16[rsp]
	lea	rbp, 12[rsp]
	xor	r8d, r8d
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	lea	rcx, .LC2[rip]
	mov	DWORD PTR 12[rsp], eax
	call	argv_array_pushl@PLT
	mov	esi, DWORD PTR RUN_GIT_CMD[rip]
	mov	edi, DWORD PTR 12[rsp]
	call	run_command_v_opt@PLT
	test	rax, rax
	jne	.L14
	mov	rdi, rbp
	call	argv_array_clear@PLT
.L7:
	mov	rdi, r12
	call	strbuf_release@PLT
	xor	eax, eax
	call	bisect_clean_state@PLT
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L15
	add	rsp, 40
	.cfi_remember_state
	.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
.L13:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	_@PLT
	mov	rsi, rbp
	mov	rdi, rax
	call	error@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	xor	eax, eax
	lea	r12, 16[rsp]
	call	git_path_bisect_start@PLT
	xor	edx, edx
	mov	rdi, r12
	mov	esi, eax
	call	strbuf_read_file@PLT
	test	eax, eax
	jle	.L16
	mov	rdi, r12
	call	strbuf_rtrim@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, r12
	call	strbuf_release@PLT
	mov	rdi, rbp
	call	argv_array_clear@PLT
	mov	rbp, QWORD PTR 16[rsp]
	lea	rdi, .LC4[rip]
	call	_@PLT
	mov	rdi, rax
	mov	rsi, rbp
	call	error@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	lea	rdi, .LC0[rip]
	call	_@PLT
	mov	rdi, rax
	call	printf@PLT
	xor	eax, eax
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bisect_reset, .-bisect_reset
	.comm	STRBUF_INIT,8,8
	.comm	RUN_GIT_CMD,4,4
	.comm	ARGV_ARRAY_INIT,4,4
	.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_bisect--helper.c_bisect_reset.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"We are not bisecting.\012\000"
	.align	2
.LC1:
	.ascii	"'%s' is not a valid commit\000"
	.align	2
.LC2:
	.ascii	"--\000"
	.align	2
.LC3:
	.ascii	"checkout\000"
	.align	2
.LC4:
	.ascii	"could not check out original HEAD '%s'. Try 'git bi"
	.ascii	"sect reset <commit>'.\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bisect_reset, %function
bisect_reset:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L17
	ldr	r2, .L17+4
	ldr	r3, [r3]
	sub	sp, sp, #28
	subs	r4, r0, #0
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	str	r3, [sp, #12]
	beq	.L12
	add	r1, sp, #16
	bl	get_oid_commit
	cmp	r0, #0
	bne	.L13
	add	r5, sp, #12
	mov	r1, r4
	mov	r0, r5
	bl	strbuf_addstr
.L5:
	bl	git_path_bisect_head
	bl	file_exists
	cmp	r0, #0
	bne	.L7
	ldr	r3, .L17+8
	ldr	r2, [sp, #12]
	ldr	ip, [r3]
	ldr	r1, .L17+12
	ldr	r3, .L17+16
	str	r0, [sp]
	add	r0, sp, #16
	str	ip, [sp, #16]
	bl	argv_array_pushl
	ldr	r3, .L17+20
	ldr	r0, [sp, #16]
	ldr	r1, [r3]
	bl	run_command_v_opt
	cmp	r0, #0
	bne	.L14
	add	r0, sp, #16
	bl	argv_array_clear
.L7:
	mov	r0, r5
	bl	strbuf_release
	bl	bisect_clean_state
.L1:
	ldr	r3, .L17+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L13:
	ldr	r0, .L17+24
	bl	_
	mov	r1, r4
	bl	error
	b	.L1
.L12:
	bl	git_path_bisect_start
	add	r5, sp, #12
	mov	r1, r0
	mov	r2, r4
	mov	r0, r5
	bl	strbuf_read_file
	cmp	r0, #0
	ble	.L16
	mov	r0, r5
	bl	strbuf_rtrim
	b	.L5
.L14:
	mov	r0, r5
	bl	strbuf_release
	add	r0, sp, #16
	bl	argv_array_clear
	ldr	r0, .L17+28
	bl	_
	ldr	r1, [sp, #12]
	bl	error
	b	.L1
.L16:
	ldr	r0, .L17+32
	bl	_
	bl	printf
	mov	r0, r4
	b	.L1
.L15:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	STRBUF_INIT
	.word	.LC5
	.word	ARGV_ARRAY_INIT
	.word	.LC3
	.word	.LC2
	.word	RUN_GIT_CMD
	.word	.LC1
	.word	.LC4
	.word	.LC0
	.size	bisect_reset, .-bisect_reset
	.comm	STRBUF_INIT,4,4
	.comm	RUN_GIT_CMD,4,4
	.comm	ARGV_ARRAY_INIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
