	.file	"extr_rbd.c_rbd_spec_fill_snap_id.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rbd_spec_fill_snap_id, @function
rbd_spec_fill_snap_id:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbx, QWORD PTR [rdi]
	mov	rax, QWORD PTR CEPH_NOPOOL[rip]
	xor	edi, edi
	cmp	QWORD PTR [rbx], rax
	je	.L2
	xor	edi, edi
	cmp	QWORD PTR 40[rbx], 0
	setne	dil
.L2:
	call	rbd_assert@PLT
	xor	edi, edi
	cmp	QWORD PTR 32[rbx], 0
	je	.L3
	xor	edi, edi
	cmp	QWORD PTR 24[rbx], 0
	setne	dil
.L3:
	call	rbd_assert@PLT
	mov	edi, DWORD PTR 8[rbx]
	call	rbd_assert@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR RBD_SNAP_HEAD_NAME[rip]
	call	strcmp@PLT
	test	rax, rax
	jne	.L13
	mov	rax, QWORD PTR CEPH_NOSNAP[rip]
.L11:
	mov	QWORD PTR 16[rbx], rax
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	esi, DWORD PTR 8[rbx]
	mov	rdi, rbp
	call	rbd_snap_id_by_name@PLT
	cmp	QWORD PTR CEPH_NOSNAP[rip], rax
	jne	.L11
	mov	eax, DWORD PTR ENOENT[rip]
	neg	eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	rbd_spec_fill_snap_id, .-rbd_spec_fill_snap_id
	.comm	RBD_SNAP_HEAD_NAME,4,4
	.comm	ENOENT,4,4
	.comm	CEPH_NOSNAP,8,8
	.comm	CEPH_NOPOOL,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_rbd.c_rbd_spec_fill_snap_id.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rbd_spec_fill_snap_id, %function
rbd_spec_fill_snap_id:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L14
	ldr	r4, [r0]
	ldr	r3, [r3]
	ldr	r2, [r4]
	mov	r5, r0
	cmp	r2, r3
	moveq	r0, #0
	beq	.L2
	ldr	r0, [r4, #20]
	subs	r0, r0, #0
	movne	r0, #1
.L2:
	bl	rbd_assert
	ldr	r0, [r4, #16]
	cmp	r0, #0
	beq	.L3
	ldr	r3, [r4, #12]
	subs	r0, r3, #0
	movne	r0, #1
.L3:
	bl	rbd_assert
	ldr	r0, [r4, #4]
	bl	rbd_assert
	ldr	r3, .L14+4
	ldr	r0, [r4, #4]
	ldr	r1, [r3]
	bl	strcmp
	cmp	r0, #0
	bne	.L13
	ldr	r3, .L14+8
	ldr	r3, [r3]
	str	r3, [r4, #8]
	pop	{r4, r5, r6, pc}
.L13:
	mov	r0, r5
	ldr	r1, [r4, #4]
	bl	rbd_snap_id_by_name
	ldr	r3, .L14+8
	ldr	r3, [r3]
	cmp	r3, r0
	ldreq	r3, .L14+12
	strne	r0, [r4, #8]
	ldreq	r0, [r3]
	rsbeq	r0, r0, #0
	movne	r0, #0
	pop	{r4, r5, r6, pc}
.L15:
	.align	2
.L14:
	.word	CEPH_NOPOOL
	.word	RBD_SNAP_HEAD_NAME
	.word	CEPH_NOSNAP
	.word	ENOENT
	.size	rbd_spec_fill_snap_id, .-rbd_spec_fill_snap_id
	.comm	RBD_SNAP_HEAD_NAME,4,4
	.comm	ENOENT,4,4
	.comm	CEPH_NOSNAP,4,4
	.comm	CEPH_NOPOOL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
