	.file	"extr_fast-import.c_parse_treeish_dataref.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unknown mark: %s"
.LC1:
	.string	"Invalid dataref: %s"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Missing space after tree-ish: %s"
	.text
	.p2align 4
	.type	parse_treeish_dataref, @function
parse_treeish_dataref:
.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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	BYTE PTR [rdi], 58
	je	.L17
	lea	rbx, 4[rsp]
	mov	rdx, r12
	mov	rsi, rbx
	call	parse_oid_hex@PLT
	test	rax, rax
	jne	.L18
.L5:
	mov	rdi, rbx
	call	find_object@PLT
	mov	rbp, rax
	mov	rax, QWORD PTR [r12]
	lea	rdx, 1[rax]
	mov	QWORD PTR [r12], rdx
	cmp	BYTE PTR [rax], 32
	je	.L6
	mov	esi, DWORD PTR command_buf[rip]
	lea	rdi, .LC2[rip]
	call	die@PLT
	test	rbp, rbp
	jne	.L19
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, rbp
	mov	rsi, rbx
	call	dereference@PLT
	mov	rbp, rax
.L6:
	test	rbp, rbp
	je	.L7
.L19:
	mov	rax, QWORD PTR OBJ_TREE[rip]
	cmp	QWORD PTR 0[rbp], rax
	jne	.L7
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	rax, rbp
	pop	rbx
	.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
.L18:
	.cfi_restore_state
	mov	esi, DWORD PTR command_buf[rip]
	lea	rdi, .LC1[rip]
	call	die@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, r12
	call	parse_mark_ref_space@PLT
	mov	edi, eax
	call	find_mark@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L21
.L3:
	lea	rbx, 4[rsp]
	lea	rsi, 8[rbp]
	mov	rdi, rbx
	call	oidcpy@PLT
	jmp	.L6
.L21:
	mov	esi, DWORD PTR command_buf[rip]
	lea	rdi, .LC0[rip]
	call	die@PLT
	jmp	.L3
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	parse_treeish_dataref, .-parse_treeish_dataref
	.comm	command_buf,4,4
	.comm	OBJ_TREE,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_fast-import.c_parse_treeish_dataref.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unknown mark: %s\000"
	.align	2
.LC1:
	.ascii	"Invalid dataref: %s\000"
	.align	2
.LC2:
	.ascii	"Missing space after tree-ish: %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_treeish_dataref, %function
parse_treeish_dataref:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r2, .L25
	ldr	r3, [r0]
	sub	sp, sp, #8
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #58
	beq	.L20
	mov	r6, r0
	mov	r5, sp
	mov	r0, r3
	mov	r1, r5
	mov	r2, r6
	bl	parse_oid_hex
	cmp	r0, #0
	bne	.L21
.L5:
	mov	r0, r5
	bl	find_object
	ldr	r3, [r6]
	mov	r4, r0
	add	r2, r3, #1
	str	r2, [r6]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L22
.L4:
	ldr	r6, .L25+4
	b	.L6
.L7:
	mov	r0, r4
	mov	r1, r5
	bl	dereference
	mov	r4, r0
.L6:
	cmp	r4, #0
	beq	.L7
	ldr	r2, [r4]
	ldr	r3, [r6]
	cmp	r2, r3
	bne	.L7
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L22:
	ldr	r3, .L25+8
	ldr	r0, .L25+12
	ldr	r1, [r3]
	bl	die
	b	.L4
.L21:
	ldr	r3, .L25+8
	ldr	r0, .L25+16
	ldr	r1, [r3]
	bl	die
	b	.L5
.L20:
	bl	parse_mark_ref_space
	bl	find_mark
	subs	r4, r0, #0
	beq	.L24
.L3:
	mov	r5, sp
	add	r1, r4, #4
	mov	r0, r5
	bl	oidcpy
	b	.L4
.L24:
	ldr	r3, .L25+8
	ldr	r0, .L25+20
	ldr	r1, [r3]
	bl	die
	b	.L3
.L23:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	.LC3
	.word	OBJ_TREE
	.word	command_buf
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	parse_treeish_dataref, .-parse_treeish_dataref
	.comm	command_buf,4,4
	.comm	OBJ_TREE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
