	.file	"extr_asymmetric_type.c_asymmetric_lookup_restriction.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"builtin_trusted"
.LC1:
	.string	"builtin_and_secondary_trusted"
.LC2:
	.string	":"
.LC3:
	.string	"key_or_keyring"
.LC4:
	.string	"chain"
	.text
	.p2align 4
	.type	asymmetric_lookup_restriction, @function
asymmetric_lookup_restriction:
.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
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR EINVAL[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	neg	edi
	call	ERR_PTR@PLT
	mov	rsi, rbp
	lea	rdi, .LC0[rip]
	mov	r12, rax
	call	strcmp@PLT
	test	rax, rax
	je	.L25
	mov	rsi, rbp
	lea	rdi, .LC1[rip]
	call	strcmp@PLT
	test	rax, rax
	je	.L26
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	mov	rdi, rbp
	call	kstrndup@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L27
	lea	r13, 8[rsp]
	lea	rsi, .LC2[rip]
	mov	QWORD PTR 8[rsp], rax
	mov	rdi, r13
	call	strsep@PLT
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	rax, rax
	jne	.L6
	cmp	QWORD PTR 8[rsp], 0
	je	.L6
	mov	rdi, r13
	lea	rsi, .LC2[rip]
	mov	r14d, DWORD PTR restrict_link_by_key_or_keyring[rip]
	call	strsep@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	r13, rax
	test	rdi, rdi
	je	.L7
	lea	rsi, .LC4[rip]
	call	strcmp@PLT
	test	rax, rax
	jne	.L6
	xor	esi, esi
	lea	rdx, 16[rsp]
	mov	rdi, r13
	mov	r14d, DWORD PTR restrict_link_by_key_or_keyring_chain[rip]
	call	kstrtos32@PLT
	test	rax, rax
	js	.L6
	mov	rdi, QWORD PTR 16[rsp]
	xor	r13d, r13d
	test	rdi, rdi
	jne	.L11
.L9:
	mov	edi, r14d
	mov	rsi, r13
	call	asymmetric_restriction_alloc@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L6
	mov	rdi, r13
	call	key_put@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, rbp
	call	kfree@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L26:
	mov	edi, DWORD PTR restrict_link_by_builtin_and_secondary_trusted[rip]
	xor	esi, esi
	call	asymmetric_restriction_alloc@PLT
	mov	r12, rax
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L28
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	mov	edi, DWORD PTR restrict_link_by_builtin_trusted[rip]
	xor	esi, esi
	call	asymmetric_restriction_alloc@PLT
	mov	r12, rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L27:
	mov	edi, DWORD PTR ENOMEM[rip]
	neg	edi
	call	ERR_PTR@PLT
	mov	r12, rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, rax
	lea	rdx, 16[rsp]
	xor	esi, esi
	call	kstrtos32@PLT
	mov	rdi, QWORD PTR 16[rsp]
	test	rax, rax
	js	.L6
.L11:
	call	key_lookup@PLT
	mov	rdi, rax
	mov	r13, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L9
	mov	rdi, r13
	call	ERR_CAST@PLT
	mov	r12, rax
	jmp	.L6
.L28:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	asymmetric_lookup_restriction, .-asymmetric_lookup_restriction
	.comm	restrict_link_by_key_or_keyring_chain,4,4
	.comm	restrict_link_by_key_or_keyring,4,4
	.comm	restrict_link_by_builtin_trusted,4,4
	.comm	restrict_link_by_builtin_and_secondary_trusted,4,4
	.comm	PAGE_SIZE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_asymmetric_type.c_asymmetric_lookup_restriction.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"builtin_trusted\000"
	.align	2
.LC1:
	.ascii	"builtin_and_secondary_trusted\000"
	.align	2
.LC2:
	.ascii	":\000"
	.align	2
.LC3:
	.ascii	"key_or_keyring\000"
	.align	2
.LC4:
	.ascii	"chain\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	asymmetric_lookup_restriction, %function
asymmetric_lookup_restriction:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L32
	mov	r5, r0
	ldr	r0, [r3]
	ldr	r3, .L32+4
	sub	sp, sp, #20
	rsb	r0, r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	ERR_PTR
	mov	r1, r5
	mov	r4, r0
	ldr	r0, .L32+8
	bl	strcmp
	subs	r1, r0, #0
	beq	.L27
	mov	r1, r5
	ldr	r0, .L32+12
	bl	strcmp
	subs	r1, r0, #0
	beq	.L28
	ldr	r3, .L32+16
	ldr	r2, .L32+20
	mov	r0, r5
	ldr	r2, [r2]
	ldr	r1, [r3]
	bl	kstrndup
	subs	r5, r0, #0
	beq	.L29
	ldr	r1, .L32+24
	add	r0, sp, #4
	str	r5, [sp, #4]
	bl	strsep
	ldr	r1, .L32+28
	bl	strcmp
	cmp	r0, #0
	bne	.L6
	ldr	r3, [sp, #4]
	cmp	r3, #0
	beq	.L6
	ldr	r3, .L32+32
	ldr	r1, .L32+24
	add	r0, sp, #4
	ldr	r7, [r3]
	bl	strsep
	ldr	r1, [sp, #4]
	mov	r6, r0
	cmp	r1, #0
	beq	.L7
	mov	r0, r1
	ldr	r1, .L32+36
	bl	strcmp
	subs	r1, r0, #0
	bne	.L6
	ldr	r3, .L32+40
	mov	r0, r6
	add	r2, sp, #8
	ldr	r7, [r3]
	bl	kstrtos32
	cmp	r0, #0
	blt	.L6
	ldr	r0, [sp, #8]
	cmp	r0, #0
	beq	.L14
.L11:
	bl	key_lookup
	mov	r6, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L30
.L9:
	mov	r1, r6
	mov	r0, r7
	bl	asymmetric_restriction_alloc
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	beq	.L6
	mov	r0, r6
	bl	key_put
.L6:
	mov	r0, r5
	bl	kfree
.L1:
	ldr	r3, .L32+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L31
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L28:
	ldr	r3, .L32+44
	ldr	r0, [r3]
	bl	asymmetric_restriction_alloc
	mov	r4, r0
	b	.L1
.L27:
	ldr	r3, .L32+48
	ldr	r0, [r3]
	bl	asymmetric_restriction_alloc
	mov	r4, r0
	b	.L1
.L29:
	ldr	r3, .L32+52
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bl	ERR_PTR
	mov	r4, r0
	b	.L1
.L14:
	mov	r6, r0
	b	.L9
.L7:
	add	r2, sp, #8
	bl	kstrtos32
	cmp	r0, #0
	ldrge	r0, [sp, #8]
	bge	.L11
	b	.L6
.L30:
	mov	r0, r6
	bl	ERR_CAST
	mov	r4, r0
	b	.L6
.L31:
	bl	__stack_chk_fail
.L33:
	.align	2
.L32:
	.word	EINVAL
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	PAGE_SIZE
	.word	GFP_KERNEL
	.word	.LC2
	.word	.LC3
	.word	restrict_link_by_key_or_keyring
	.word	.LC4
	.word	restrict_link_by_key_or_keyring_chain
	.word	restrict_link_by_builtin_and_secondary_trusted
	.word	restrict_link_by_builtin_trusted
	.word	ENOMEM
	.size	asymmetric_lookup_restriction, .-asymmetric_lookup_restriction
	.comm	restrict_link_by_key_or_keyring_chain,4,4
	.comm	restrict_link_by_key_or_keyring,4,4
	.comm	restrict_link_by_builtin_trusted,4,4
	.comm	restrict_link_by_builtin_and_secondary_trusted,4,4
	.comm	PAGE_SIZE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
