	.file	"extr_show-branch.c_parse_reflog_param.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"unrecognized reflog param '%s'"
	.text
	.p2align 4
	.type	parse_reflog_param, @function
parse_reflog_param:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	r8, rdi
	mov	rbp, rsi
	mov	edi, edx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR [r8]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	BUG_ON_OPT_NEG@PLT
	test	rbp, rbp
	mov	edx, 10
	mov	rsi, rsp
	lea	rax, .LC0[rip]
	cmove	rbp, rax
	mov	rdi, rbp
	call	strtoul@PLT
	mov	rdx, QWORD PTR [rsp]
	mov	QWORD PTR reflog[rip], rax
	movzx	ecx, BYTE PTR [rdx]
	cmp	cl, 44
	je	.L11
	test	cl, cl
	jne	.L12
	mov	QWORD PTR [rbx], 0
.L4:
	xor	r8d, r8d
	test	rax, rax
	jg	.L1
	mov	rax, QWORD PTR DEFAULT_REFLOG[rip]
	mov	QWORD PTR reflog[rip], rax
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	add	rdx, 1
	mov	QWORD PTR [rbx], rdx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rsi, rbp
	lea	rdi, .LC1[rip]
	call	error@PLT
	mov	r8d, eax
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	parse_reflog_param, .-parse_reflog_param
	.comm	reflog,8,8
	.comm	DEFAULT_REFLOG,8,8
	.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_show-branch.c_parse_reflog_param.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"unrecognized reflog param '%s'\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_reflog_param, %function
parse_reflog_param:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r0
	push	{r4, r5, lr}
	mov	r4, r1
	ldr	r5, [r3]
	ldr	r3, .L13
	sub	sp, sp, #12
	mov	r0, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	BUG_ON_OPT_NEG
	ldr	r3, .L13+4
	cmp	r4, #0
	moveq	r4, r3
	mov	r2, #10
	mov	r1, sp
	mov	r0, r4
	bl	strtoul
	ldr	r1, .L13+8
	ldr	r2, [sp]
	str	r0, [r1]
	ldrb	r3, [r2]	@ zero_extendqisi2
	cmp	r3, #44
	addeq	r2, r2, #1
	streq	r2, [r5]
	beq	.L4
	cmp	r3, #0
	streq	r3, [r5]
	bne	.L11
.L4:
	cmp	r0, #0
	movle	r0, #0
	movgt	r0, #0
	ldrle	r3, .L13+12
	ldrle	r3, [r3]
	strle	r3, [r1]
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L11:
	mov	r1, r4
	ldr	r0, .L13+16
	bl	error
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	.LC0
	.word	reflog
	.word	DEFAULT_REFLOG
	.word	.LC1
	.size	parse_reflog_param, .-parse_reflog_param
	.comm	reflog,4,4
	.comm	DEFAULT_REFLOG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
