	.file	"extr_sequencer.c_read_populate_opts.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"-S"
.LC1:
	.string	"--rerere-autoupdate"
.LC2:
	.string	"--no-rerere-autoupdate"
.LC3:
	.string	"unusable squash-onto"
.LC4:
	.string	"malformed options sheet: '%s'"
	.text
	.p2align 4
	.type	read_populate_opts, @function
read_populate_opts:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	is_rebase_i@PLT
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR STRBUF_INIT[rip]
	mov	rbp, rsp
	mov	QWORD PTR [rsp], rax
	xor	eax, eax
	call	rebase_path_gpg_sign_opt@PLT
	mov	edx, 1
	mov	rdi, rbp
	mov	esi, eax
	call	read_oneliner@PLT
	test	rax, rax
	jne	.L44
.L3:
	xor	eax, eax
	call	rebase_path_allow_rerere_autoupdate@PLT
	mov	edx, 1
	mov	rdi, rbp
	mov	esi, eax
	call	read_oneliner@PLT
	test	rax, rax
	je	.L6
	mov	rdx, QWORD PTR [rsp]
	mov	ecx, 20
	lea	rdi, .LC1[rip]
	mov	rsi, rdx
	repz cmpsb
	seta	al
	sbb	al, 0
	test	al, al
	je	.L45
	mov	ecx, 23
	lea	rdi, .LC2[rip]
	mov	rsi, rdx
	repz cmpsb
	seta	al
	sbb	al, 0
	test	al, al
	jne	.L8
	mov	eax, DWORD PTR RERERE_NOAUTOUPDATE[rip]
	mov	DWORD PTR 48[r12], eax
.L8:
	mov	rdi, rbp
	call	strbuf_reset@PLT
.L6:
	xor	eax, eax
	call	rebase_path_verbose@PLT
	mov	edi, eax
	call	file_exists@PLT
	test	rax, rax
	je	.L9
	mov	DWORD PTR [r12], 1
.L9:
	xor	eax, eax
	call	rebase_path_quiet@PLT
	mov	edi, eax
	call	file_exists@PLT
	test	rax, rax
	je	.L10
	mov	DWORD PTR 4[r12], 1
.L10:
	xor	eax, eax
	call	rebase_path_signoff@PLT
	mov	edi, eax
	call	file_exists@PLT
	test	rax, rax
	je	.L11
	mov	QWORD PTR 40[r12], 0
	mov	DWORD PTR 8[r12], 1
.L11:
	xor	eax, eax
	call	rebase_path_reschedule_failed_exec@PLT
	mov	edi, eax
	call	file_exists@PLT
	test	rax, rax
	je	.L12
	mov	DWORD PTR 12[r12], 1
.L12:
	mov	rsi, rbp
	mov	rdi, r12
	call	read_strategy_opts@PLT
	mov	rdi, rbp
	call	strbuf_release@PLT
	xor	eax, eax
	call	rebase_path_current_fixups@PLT
	lea	rdi, 32[r12]
	mov	edx, 1
	mov	esi, eax
	call	read_oneliner@PLT
	test	rax, rax
	je	.L18
	mov	DWORD PTR 16[r12], 1
	mov	rdi, QWORD PTR 32[r12]
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L17:
	add	DWORD PTR 16[r12], 1
	lea	rdi, 1[rax]
.L16:
	mov	esi, 10
	call	strchr@PLT
	test	rax, rax
	jne	.L17
.L18:
	xor	eax, eax
	call	rebase_path_squash_onto@PLT
	xor	edx, edx
	mov	rdi, rbp
	mov	esi, eax
	call	read_oneliner@PLT
	test	rax, rax
	jne	.L14
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L46
	add	rsp, 24
	.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
.L2:
	.cfi_restore_state
	xor	eax, eax
	call	git_path_opts_file@PLT
	mov	edi, eax
	call	file_exists@PLT
	test	rax, rax
	jne	.L21
.L22:
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, QWORD PTR [rsp]
	lea	rsi, 24[r12]
	call	get_oid_hex@PLT
	test	rax, rax
	js	.L47
	mov	DWORD PTR 20[r12], 1
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	xor	eax, eax
	call	git_path_opts_file@PLT
	mov	edi, DWORD PTR populate_opts_cb[rip]
	mov	rdx, r12
	mov	esi, eax
	call	git_config_from_file@PLT
	test	rax, rax
	jns	.L22
	xor	eax, eax
	call	git_path_opts_file@PLT
	lea	rdi, .LC4[rip]
	mov	ebp, eax
	call	_@PLT
	mov	esi, ebp
	mov	edi, eax
	xor	eax, eax
	call	error@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L44:
	mov	rdi, QWORD PTR [rsp]
	lea	rsi, .LC0[rip]
	call	starts_with@PLT
	test	eax, eax
	jne	.L4
	mov	rdi, rbp
	call	strbuf_reset@PLT
.L5:
	mov	rdi, rbp
	call	strbuf_reset@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L45:
	mov	eax, DWORD PTR RERERE_AUTOUPDATE[rip]
	mov	DWORD PTR 48[r12], eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L47:
	lea	rdi, .LC3[rip]
	call	_@PLT
	mov	edi, eax
	xor	eax, eax
	call	error@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, DWORD PTR 52[r12]
	call	free@PLT
	mov	rax, QWORD PTR [rsp]
	lea	rdi, 2[rax]
	call	xstrdup@PLT
	mov	DWORD PTR 52[r12], eax
	jmp	.L5
.L46:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	read_populate_opts, .-read_populate_opts
	.comm	populate_opts_cb,4,4
	.comm	STRBUF_INIT,8,8
	.comm	RERERE_NOAUTOUPDATE,4,4
	.comm	RERERE_AUTOUPDATE,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_sequencer.c_read_populate_opts.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"-S\000"
	.align	2
.LC1:
	.ascii	"--rerere-autoupdate\000"
	.align	2
.LC2:
	.ascii	"--no-rerere-autoupdate\000"
	.align	2
.LC3:
	.ascii	"unusable squash-onto\000"
	.align	2
.LC4:
	.ascii	"malformed options sheet: '%s'\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_populate_opts, %function
read_populate_opts:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L48
	sub	sp, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r4, r0
	bl	is_rebase_i
	subs	r5, r0, #0
	beq	.L2
	ldr	r3, .L48+4
	ldr	r3, [r3]
	str	r3, [sp]
	bl	rebase_path_gpg_sign_opt
	mov	r2, #1
	mov	r1, r0
	mov	r0, sp
	bl	read_oneliner
	cmp	r0, #0
	bne	.L44
.L3:
	bl	rebase_path_allow_rerere_autoupdate
	mov	r2, #1
	mov	r1, r0
	mov	r0, sp
	bl	read_oneliner
	cmp	r0, #0
	beq	.L6
	ldr	r5, [sp]
	ldr	r1, .L48+8
	mov	r0, r5
	bl	strcmp
	cmp	r0, #0
	beq	.L45
	mov	r0, r5
	ldr	r1, .L48+12
	bl	strcmp
	cmp	r0, #0
	ldreq	r3, .L48+16
	ldreq	r3, [r3]
	streq	r3, [r4, #36]
.L8:
	mov	r0, sp
	bl	strbuf_reset
.L6:
	bl	rebase_path_verbose
	bl	file_exists
	cmp	r0, #0
	movne	r3, #1
	strne	r3, [r4]
	bl	rebase_path_quiet
	bl	file_exists
	cmp	r0, #0
	movne	r3, #1
	strne	r3, [r4, #4]
	bl	rebase_path_signoff
	bl	file_exists
	cmp	r0, #0
	movne	r3, #1
	movne	r2, #0
	strne	r3, [r4, #8]
	strne	r2, [r4, #32]
	bl	rebase_path_reschedule_failed_exec
	bl	file_exists
	cmp	r0, #0
	movne	r3, #1
	mov	r1, sp
	strne	r3, [r4, #12]
	mov	r0, r4
	bl	read_strategy_opts
	mov	r0, sp
	bl	strbuf_release
	bl	rebase_path_current_fixups
	mov	r2, #1
	mov	r1, r0
	add	r0, r4, #28
	bl	read_oneliner
	cmp	r0, #0
	beq	.L18
	mov	r3, #1
	ldr	r0, [r4, #28]
	str	r3, [r4, #16]
	b	.L16
.L17:
	ldr	r3, [r4, #16]
	add	r0, r0, #1
	add	r3, r3, #1
	str	r3, [r4, #16]
.L16:
	mov	r1, #10
	bl	strchr
	cmp	r0, #0
	bne	.L17
.L18:
	bl	rebase_path_squash_onto
	mov	r2, #0
	mov	r1, r0
	mov	r0, sp
	bl	read_oneliner
	subs	r5, r0, #0
	bne	.L46
.L1:
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L47
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	bl	git_path_opts_file
	bl	file_exists
	cmp	r0, #0
	beq	.L1
	ldr	r3, .L48+20
	ldr	r6, [r3]
	bl	git_path_opts_file
	mov	r2, r4
	mov	r1, r0
	mov	r0, r6
	bl	git_config_from_file
	cmp	r0, #0
	bge	.L1
	ldr	r0, .L48+24
	bl	_
	mov	r4, r0
	bl	git_path_opts_file
	mov	r1, r0
	mov	r0, r4
	bl	error
	mov	r5, r0
	b	.L1
.L46:
	ldr	r0, [sp]
	add	r1, r4, #24
	bl	get_oid_hex
	cmp	r0, #0
	movge	r3, #1
	movge	r5, #0
	strge	r3, [r4, #20]
	bge	.L1
	ldr	r0, .L48+28
	bl	_
	bl	error
	mov	r5, r0
	b	.L1
.L44:
	ldr	r1, .L48+32
	ldr	r0, [sp]
	bl	starts_with
	cmp	r0, #0
	bne	.L4
	mov	r0, sp
	bl	strbuf_reset
.L5:
	mov	r0, sp
	bl	strbuf_reset
	b	.L3
.L45:
	ldr	r3, .L48+36
	ldr	r3, [r3]
	str	r3, [r4, #36]
	b	.L8
.L4:
	ldr	r0, [r4, #40]
	bl	free
	ldr	r0, [sp]
	add	r0, r0, #2
	bl	xstrdup
	str	r0, [r4, #40]
	b	.L5
.L47:
	bl	__stack_chk_fail
.L49:
	.align	2
.L48:
	.word	.LC5
	.word	STRBUF_INIT
	.word	.LC1
	.word	.LC2
	.word	RERERE_NOAUTOUPDATE
	.word	populate_opts_cb
	.word	.LC4
	.word	.LC3
	.word	.LC0
	.word	RERERE_AUTOUPDATE
	.size	read_populate_opts, .-read_populate_opts
	.comm	populate_opts_cb,4,4
	.comm	STRBUF_INIT,4,4
	.comm	RERERE_NOAUTOUPDATE,4,4
	.comm	RERERE_AUTOUPDATE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
