	.file	"extr_check-ref-format.c_check_ref_format_branch.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"'%s' is not a valid branch name"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"refs/heads/"
.LC2:
	.string	"%s\n"
	.text
	.p2align 4
	.type	check_ref_format_branch, @function
check_ref_format_branch:
.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
	mov	rbp, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR STRBUF_INIT[rip]
	lea	rdi, 12[rsp]
	lea	r12, 8[rsp]
	mov	DWORD PTR 8[rsp], eax
	call	setup_git_directory_gently@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	strbuf_check_branch_ref@PLT
	test	rax, rax
	jne	.L4
	mov	edi, DWORD PTR 8[rsp]
	lea	rdx, 16[rsp]
	lea	rsi, .LC1[rip]
	call	skip_prefix@PLT
	test	eax, eax
	je	.L4
.L3:
	mov	rsi, QWORD PTR 16[rsp]
	lea	rdi, .LC2[rip]
	call	printf@PLT
	mov	rdi, r12
	call	strbuf_release@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rsi, rbp
	lea	rdi, .LC0[rip]
	call	die@PLT
	jmp	.L3
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	check_ref_format_branch, .-check_ref_format_branch
	.comm	STRBUF_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_check-ref-format.c_check_ref_format_branch.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"'%s' is not a valid branch name\000"
	.align	2
.LC1:
	.ascii	"refs/heads/\000"
	.align	2
.LC2:
	.ascii	"%s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_ref_format_branch, %function
check_ref_format_branch:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r3, .L12
	sub	sp, sp, #16
	ldr	r3, [r3]
	ldr	r2, .L12+4
	add	r0, sp, #8
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	str	r3, [sp]
	bl	setup_git_directory_gently
	mov	r1, r4
	mov	r0, sp
	bl	strbuf_check_branch_ref
	cmp	r0, #0
	bne	.L4
	ldr	r1, .L12+8
	ldr	r0, [sp]
	add	r2, sp, #4
	bl	skip_prefix
	cmp	r0, #0
	beq	.L4
.L3:
	ldr	r1, [sp, #4]
	ldr	r0, .L12+12
	bl	printf
	mov	r0, sp
	bl	strbuf_release
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L4:
	mov	r1, r4
	ldr	r0, .L12+16
	bl	die
	b	.L3
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	STRBUF_INIT
	.word	.LC3
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.size	check_ref_format_branch, .-check_ref_format_branch
	.comm	STRBUF_INIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
