	.file	"extr_test-ref-store.c_cmd_resolve_ref.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"(null)"
.LC1:
	.string	"refname"
.LC2:
	.string	"resolve-flags"
.LC3:
	.string	"%s %s 0x%x\n"
	.text
	.p2align 4
	.type	cmd_resolve_ref, @function
cmd_resolve_ref:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	lea	rsi, .LC1[rip]
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR [rbx]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r13, rsp
	call	notnull@PLT
	mov	rdi, QWORD PTR 8[rbx]
	lea	rsi, .LC2[rip]
	mov	rbp, rax
	call	arg_flags@PLT
	lea	r8, 4[rsp]
	mov	rcx, r13
	mov	rsi, rbp
	mov	edx, eax
	mov	rdi, r12
	lea	r12, .LC0[rip]
	call	refs_resolve_ref_unsafe@PLT
	mov	r14d, DWORD PTR 4[rsp]
	mov	rdi, r13
	test	rax, rax
	mov	rbx, rax
	cmovne	r12, rax
	call	oid_to_hex@PLT
	mov	ecx, r14d
	lea	rdi, .LC3[rip]
	mov	rsi, rax
	mov	rdx, r12
	call	printf@PLT
	test	rbx, rbx
	sete	al
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L7
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	movzx	eax, al
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cmd_resolve_ref, .-cmd_resolve_ref
	.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_test-ref-store.c_cmd_resolve_ref.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"(null)\000"
	.align	2
.LC1:
	.ascii	"refname\000"
	.align	2
.LC2:
	.ascii	"resolve-flags\000"
	.align	2
.LC3:
	.ascii	"%s %s 0x%x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmd_resolve_ref, %function
cmd_resolve_ref:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r1
	ldr	r3, .L8
	sub	sp, sp, #28
	mov	r5, r0
	ldr	r1, .L8+4
	ldr	r0, [r4]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	notnull
	mov	r3, r0
	ldr	r1, .L8+8
	ldr	r0, [r4, #4]
	mov	r4, r3
	bl	arg_flags
	add	ip, sp, #16
	mov	r2, r0
	mov	r1, r4
	add	r3, sp, #12
	str	ip, [sp]
	mov	r0, r5
	bl	refs_resolve_ref_unsafe
	mov	r4, r0
	add	r0, sp, #12
	bl	oid_to_hex
	cmp	r4, #0
	ldr	r2, .L8+12
	mov	r1, r0
	movne	r2, r4
	ldr	r3, [sp, #16]
	ldr	r0, .L8+16
	bl	printf
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	clz	r0, r4
	lsr	r0, r0, #5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC4
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.word	.LC3
	.size	cmd_resolve_ref, .-cmd_resolve_ref
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
