	.file	"extr_update-ref.c_parse_cmd_create.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"create: missing <ref>"
.LC1:
	.string	"create"
.LC2:
	.string	"create %s: missing <newvalue>"
.LC3:
	.string	"create %s: zero <newvalue>"
.LC4:
	.string	"create %s: extra input: %s"
.LC5:
	.string	"%s"
	.text
	.p2align 4
	.type	parse_cmd_create, @function
parse_cmd_create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rdi, r12
	sub	rsp, 48
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 8[rsp], rdx
	lea	r15, 8[rsp]
	mov	rsi, r15
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR STRBUF_INIT[rip]
	mov	QWORD PTR 32[rsp], rax
	call	parse_refname@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L19
.L2:
	lea	r14, 28[rsp]
	xor	r9d, r9d
	mov	r8, rbp
	mov	rsi, r15
	lea	rcx, .LC1[rip]
	mov	rdx, r14
	mov	rdi, r12
	call	parse_next_oid@PLT
	test	rax, rax
	jne	.L20
.L3:
	mov	rdi, r14
	call	is_null_oid@PLT
	test	rax, rax
	jne	.L21
.L4:
	mov	rdx, QWORD PTR 8[rsp]
	movzx	eax, BYTE PTR line_termination[rip]
	cmp	BYTE PTR [rdx], al
	je	.L5
	mov	rsi, rbp
	lea	rdi, .LC4[rip]
	xor	eax, eax
	call	die@PLT
.L5:
	lea	r12, 32[rsp]
	mov	rdx, r14
	mov	rsi, rbp
	mov	rdi, r13
	mov	r8d, DWORD PTR msg[rip]
	mov	ecx, DWORD PTR update_flags[rip]
	mov	r9, r12
	or	ecx, DWORD PTR create_reflog_flag[rip]
	call	ref_transaction_create@PLT
	test	rax, rax
	jne	.L22
.L6:
	mov	eax, DWORD PTR default_flags[rip]
	mov	rdi, rbp
	mov	DWORD PTR update_flags[rip], eax
	call	free@PLT
	mov	rdi, r12
	call	strbuf_release@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	rdx, QWORD PTR 40[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L23
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	mov	rsi, rbp
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	die@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rsi, QWORD PTR 32[rsp]
	lea	rdi, .LC5[rip]
	xor	eax, eax
	call	die@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rsi, rbp
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	die@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L19:
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	die@PLT
	jmp	.L2
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	parse_cmd_create, .-parse_cmd_create
	.comm	update_flags,4,4
	.comm	msg,4,4
	.comm	line_termination,1,1
	.comm	default_flags,4,4
	.comm	create_reflog_flag,4,4
	.comm	STRBUF_INIT,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_update-ref.c_parse_cmd_create.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"create: missing <ref>\000"
	.align	2
.LC1:
	.ascii	"create\000"
	.align	2
.LC2:
	.ascii	"create %s: missing <newvalue>\000"
	.align	2
.LC3:
	.ascii	"create %s: zero <newvalue>\000"
	.align	2
.LC4:
	.ascii	"create %s: extra input: %s\000"
	.align	2
.LC5:
	.ascii	"%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_cmd_create, %function
parse_cmd_create:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L24
	sub	sp, sp, #36
	str	r2, [sp, #12]
	ldr	r3, [r3]
	ldr	r2, .L24+4
	mov	r5, r1
	mov	r6, r0
	mov	r0, r1
	add	r1, sp, #12
	ldr	r2, [r2]
	str	r2, [sp, #28]
	mov	r2,#0
	str	r3, [sp, #20]
	bl	parse_refname
	subs	r4, r0, #0
	beq	.L19
.L2:
	mov	r3, #0
	mov	r0, r5
	str	r3, [sp, #4]
	str	r4, [sp]
	ldr	r3, .L24+8
	add	r1, sp, #12
	add	r2, sp, #24
	bl	parse_next_oid
	cmp	r0, #0
	bne	.L20
.L3:
	add	r0, sp, #24
	bl	is_null_oid
	cmp	r0, #0
	bne	.L21
.L4:
	ldr	r2, [sp, #12]
	ldr	r3, .L24+12
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r1, r3
	beq	.L5
	mov	r1, r4
	ldr	r0, .L24+16
	bl	die
.L5:
	ldr	r2, .L24+20
	ldr	r7, .L24+24
	ldr	r3, .L24+28
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	ip, [r7]
	add	r5, sp, #20
	stm	sp, {r1, r5}
	mov	r0, r6
	mov	r1, r4
	add	r2, sp, #24
	orr	r3, ip, r3
	bl	ref_transaction_create
	cmp	r0, #0
	bne	.L22
.L6:
	ldr	r3, .L24+32
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [r7]
	bl	free
	mov	r0, r5
	bl	strbuf_release
	ldr	r3, .L24+4
	ldr	r0, [sp, #12]
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L21:
	mov	r1, r4
	ldr	r0, .L24+36
	bl	die
	b	.L4
.L22:
	ldr	r1, [sp, #20]
	ldr	r0, .L24+40
	bl	die
	b	.L6
.L20:
	mov	r1, r4
	ldr	r0, .L24+44
	bl	die
	b	.L3
.L19:
	ldr	r0, .L24+48
	bl	die
	b	.L2
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	STRBUF_INIT
	.word	.LC6
	.word	.LC1
	.word	line_termination
	.word	.LC4
	.word	msg
	.word	update_flags
	.word	create_reflog_flag
	.word	default_flags
	.word	.LC3
	.word	.LC5
	.word	.LC2
	.word	.LC0
	.size	parse_cmd_create, .-parse_cmd_create
	.comm	update_flags,4,4
	.comm	msg,4,4
	.comm	line_termination,1,1
	.comm	default_flags,4,4
	.comm	create_reflog_flag,4,4
	.comm	STRBUF_INIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
