	.file	"extr_rbd.c_decode_parent_image_spec.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ParentImageSpec"
	.text
	.p2align 4
	.type	decode_parent_image_spec, @function
decode_parent_image_spec:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	rcx, .LC0[rip]
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	mov	edx, 1
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r9, 4[rsp]
	mov	r8, rsp
	call	ceph_start_decoding@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L8
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR 24[rbx]
	mov	ecx, DWORD PTR e_inval[rip]
	mov	rsi, r13
	mov	rdi, rbp
	call	ceph_decode_64_safe@PLT
	mov	ecx, DWORD PTR GFP_KERNEL[rip]
	xor	edx, edx
	mov	rdi, rbp
	mov	rsi, r13
	call	ceph_extract_encoded_string@PLT
	mov	QWORD PTR 16[rbx], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L10
	mov	ecx, DWORD PTR GFP_KERNEL[rip]
	xor	edx, edx
	mov	rdi, rbp
	mov	rsi, r13
	call	ceph_extract_encoded_string@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L11
	mov	ecx, DWORD PTR e_inval[rip]
	mov	edx, DWORD PTR [rbx]
	mov	rsi, r13
	mov	rdi, rbp
	call	ceph_decode_64_safe@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, QWORD PTR 16[rbx]
	call	PTR_ERR@PLT
	mov	QWORD PTR 16[rbx], 0
	mov	r12d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, QWORD PTR 8[rbx]
	call	PTR_ERR@PLT
	mov	QWORD PTR 8[rbx], 0
	mov	r12d, eax
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	decode_parent_image_spec, .-decode_parent_image_spec
	.comm	e_inval,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EINVAL,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_rbd.c_decode_parent_image_spec.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ParentImageSpec\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	decode_parent_image_spec, %function
decode_parent_image_spec:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	sub	sp, sp, #24
	ldr	ip, .L12
	add	r3, sp, #12
	mov	r5, r2
	add	r2, sp, #16
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r2, #1
	ldr	r3, .L12+4
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	mov	r6, r0
	mov	r7, r1
	bl	ceph_start_decoding
	subs	r4, r0, #0
	beq	.L8
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	ldr	r10, .L12+8
	ldr	r9, .L12+12
	mov	r1, r7
	ldr	r3, [r10]
	ldr	r2, [r5, #12]
	mov	r0, r6
	bl	ceph_decode_64_safe
	mov	r2, r4
	mov	r1, r7
	ldr	r3, [r9]
	mov	r0, r6
	bl	ceph_extract_encoded_string
	str	r0, [r5, #8]
	bl	IS_ERR
	subs	r8, r0, #0
	bne	.L10
	mov	r2, r4
	mov	r1, r7
	ldr	r3, [r9]
	mov	r0, r6
	bl	ceph_extract_encoded_string
	str	r0, [r5, #4]
	bl	IS_ERR
	subs	r4, r0, #0
	bne	.L11
	mov	r1, r7
	mov	r0, r6
	ldr	r3, [r10]
	ldr	r2, [r5]
	bl	ceph_decode_64_safe
	b	.L1
.L10:
	ldr	r0, [r5, #8]
	bl	PTR_ERR
	mov	r3, #0
	mov	r4, r0
	str	r3, [r5, #8]
	b	.L1
.L11:
	ldr	r0, [r5, #4]
	bl	PTR_ERR
	str	r8, [r5, #4]
	mov	r4, r0
	b	.L1
.L9:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	.LC0
	.word	e_inval
	.word	GFP_KERNEL
	.size	decode_parent_image_spec, .-decode_parent_image_spec
	.comm	e_inval,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
