	.file	"extr_auditsc.c___audit_log_bprm_fcaps.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	__audit_log_bprm_fcaps
	.type	__audit_log_bprm_fcaps, @function
__audit_log_bprm_fcaps:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	mov	edi, 56
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR current[rip]
	mov	rbp, QWORD PTR [rax]
	call	kmalloc@PLT
	test	rax, rax
	je	.L7
	mov	rbx, rax
	mov	eax, DWORD PTR AUDIT_BPRM_FCAPS[rip]
	mov	DWORD PTR 48[rbx], eax
	mov	rax, QWORD PTR 0[rbp]
	mov	QWORD PTR 40[rbx], rax
	mov	rax, QWORD PTR [r14]
	mov	QWORD PTR 0[rbp], rbx
	mov	edi, DWORD PTR [rax]
	call	dget@PLT
	lea	rsi, 12[rsp]
	mov	rbp, rax
	mov	rdi, rax
	call	get_vfs_caps_from_disk@PLT
	mov	rdi, rbp
	call	dput@PLT
	mov	rax, QWORD PTR 16[rsp]
	mov	ecx, DWORD PTR VFS_CAP_REVISION_SHIFT[rip]
	xor	edx, edx
	mov	QWORD PTR 32[rbx], rax
	mov	eax, DWORD PTR 12[rsp]
	test	DWORD PTR VFS_CAP_FLAGS_EFFECTIVE[rip], eax
	setne	dl
	and	eax, DWORD PTR VFS_CAP_REVISION_MASK[rip]
	sar	eax, cl
	mov	DWORD PTR 28[rbx], edx
	mov	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR 8[r13]
	mov	DWORD PTR 24[rbx], eax
	mov	eax, DWORD PTR 4[r13]
	mov	DWORD PTR 20[rbx], eax
	mov	eax, DWORD PTR 0[r13]
	mov	DWORD PTR 16[rbx], eax
	mov	eax, DWORD PTR 8[r12]
	mov	DWORD PTR 12[rbx], eax
	mov	eax, DWORD PTR 4[r12]
	mov	DWORD PTR 8[rbx], eax
	mov	eax, DWORD PTR [r12]
	mov	DWORD PTR 4[rbx], eax
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	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
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	__audit_log_bprm_fcaps, .-__audit_log_bprm_fcaps
	.comm	current,8,8
	.comm	VFS_CAP_REVISION_SHIFT,4,4
	.comm	VFS_CAP_REVISION_MASK,4,4
	.comm	VFS_CAP_FLAGS_EFFECTIVE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	AUDIT_BPRM_FCAPS,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_auditsc.c___audit_log_bprm_fcaps.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	__audit_log_bprm_fcaps
	.syntax unified
	.arm
	.fpu softvfp
	.type	__audit_log_bprm_fcaps, %function
__audit_log_bprm_fcaps:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L9
	mov	r6, r1
	ldr	r1, .L9+4
	ldr	r3, [r3]
	mov	r7, r2
	ldr	r2, .L9+8
	sub	sp, sp, #16
	mov	r5, r0
	ldr	r1, [r1]
	mov	r0, #48
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	ldr	r8, [r3]
	bl	kmalloc
	subs	r4, r0, #0
	beq	.L7
	ldr	r3, .L9+12
	ldr	r1, [r5]
	ldr	r2, [r3]
	ldr	r3, [r8]
	ldr	r0, [r1]
	str	r2, [r4, #44]
	str	r3, [r4, #40]
	str	r4, [r8]
	bl	dget
	mov	r5, r0
	mov	r1, sp
	bl	get_vfs_caps_from_disk
	mov	r0, r5
	bl	dput
	mov	r0, #0
	ldr	r2, .L9+16
	ldr	r3, [sp]
	ldr	r2, [r2]
	ldr	ip, .L9+20
	tst	r3, r2
	movne	r1, #1
	moveq	r1, r0
	ldr	r2, .L9+24
	ldr	ip, [ip]
	ldr	r2, [r2]
	and	r3, r3, ip
	asr	r3, r3, r2
	ldr	r2, [sp, #8]
	str	r1, [r4, #28]
	str	r2, [r4, #36]
	ldr	r1, [sp, #4]
	ldr	r2, [r7, #8]
	ldm	r7, {ip, lr}
	str	r3, [r4]
	str	r1, [r4, #32]
	ldr	r3, [r6]
	ldr	r1, [r6, #8]
	str	r2, [r4, #24]
	ldr	r2, [r6, #4]
	str	lr, [r4, #20]
	str	ip, [r4, #16]
	str	r1, [r4, #12]
	str	r2, [r4, #8]
	str	r3, [r4, #4]
.L1:
	ldr	r3, .L9+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r3, .L9+28
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	current
	.word	GFP_KERNEL
	.word	.LC0
	.word	AUDIT_BPRM_FCAPS
	.word	VFS_CAP_FLAGS_EFFECTIVE
	.word	VFS_CAP_REVISION_MASK
	.word	VFS_CAP_REVISION_SHIFT
	.word	ENOMEM
	.size	__audit_log_bprm_fcaps, .-__audit_log_bprm_fcaps
	.comm	current,4,4
	.comm	VFS_CAP_REVISION_SHIFT,4,4
	.comm	VFS_CAP_REVISION_MASK,4,4
	.comm	VFS_CAP_FLAGS_EFFECTIVE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	AUDIT_BPRM_FCAPS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
