	.file	"extr_dm-verity-verify-sig.c_verity_verify_get_sig_from_key.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	verity_verify_get_sig_from_key, @function
verity_verify_get_sig_from_key:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	edx, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	mov	rsi, rdi
	lea	rdi, key_type_user[rip]
	call	request_key@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	mov	rdi, rbp
	test	rax, rax
	jne	.L8
	call	down_read@PLT
	mov	rdi, rbp
	call	user_key_payload_locked@PLT
	mov	r12, rax
	test	rax, rax
	je	.L9
	mov	edi, DWORD PTR 4[rax]
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	kmalloc@PLT
	mov	DWORD PTR 4[rbx], eax
	mov	edi, eax
	test	eax, eax
	jne	.L5
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
.L4:
	mov	rdi, rbp
	call	up_read@PLT
	mov	rdi, rbp
	call	key_put@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.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
.L9:
	.cfi_restore_state
	mov	r12d, DWORD PTR EKEYREVOKED[rip]
	neg	r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edx, DWORD PTR 4[r12]
	mov	esi, DWORD PTR [r12]
	xor	r12d, r12d
	mov	DWORD PTR [rbx], edx
	call	memcpy@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	verity_verify_get_sig_from_key, .-verity_verify_get_sig_from_key
	.comm	key_type_user,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EKEYREVOKED,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_dm-verity-verify-sig.c_verity_verify_get_sig_from_key.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	verity_verify_get_sig_from_key, %function
verity_verify_get_sig_from_key:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r2, #0
	mov	r7, r1
	mov	r1, r0
	ldr	r0, .L10
	bl	request_key
	mov	r4, r0
	bl	IS_ERR
	subs	r6, r0, #0
	mov	r0, r4
	bne	.L8
	bl	down_read
	mov	r0, r4
	bl	user_key_payload_locked
	subs	r5, r0, #0
	beq	.L9
	ldr	r3, .L10+4
	ldr	r0, [r5, #4]
	ldr	r1, [r3]
	bl	kmalloc
	cmp	r0, #0
	str	r0, [r7, #4]
	bne	.L5
	ldr	r3, .L10+8
	ldr	r0, [r3]
	rsb	r6, r0, #0
.L4:
	mov	r0, r4
	bl	up_read
	mov	r0, r4
	bl	key_put
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r3, .L10+12
	ldr	r0, [r3]
	rsb	r6, r0, #0
	b	.L4
.L8:
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
.L5:
	ldm	r5, {r1, r2}
	str	r2, [r7]
	bl	memcpy
	b	.L4
.L11:
	.align	2
.L10:
	.word	key_type_user
	.word	GFP_KERNEL
	.word	ENOMEM
	.word	EKEYREVOKED
	.size	verity_verify_get_sig_from_key, .-verity_verify_get_sig_from_key
	.comm	key_type_user,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EKEYREVOKED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
