	.file	"extr_efi_variables.c_efi_secure_boot_enabled.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"SecureBoot"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Failed to read \"SecureBoot\" variable"
	.section	.rodata.str1.1
.LC2:
	.string	"SetupMode"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"   SecureBoot: %d, SetupMode: %d\n"
	.text
	.p2align 4
	.globl	efi_secure_boot_enabled
	.type	efi_secure_boot_enabled, @function
efi_secure_boot_enabled:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rdi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r12, 16[rsp]
	lea	rsi, 8[rsp]
	mov	QWORD PTR 16[rsp], 4
	mov	rdx, r12
	call	efi_global_getenv@PLT
	cmp	QWORD PTR EFI_SUCCESS[rip], rax
	je	.L2
	cmp	QWORD PTR EFI_NOT_FOUND[rip], rax
	mov	rbp, rax
	jne	.L10
.L3:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 40
	.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
.L10:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	rdi, rbp
	call	efi_status_to_errno@PLT
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdx, r12
	lea	rsi, 12[rsp]
	lea	rdi, .LC2[rip]
	mov	QWORD PTR 16[rsp], 4
	call	efi_global_getenv@PLT
	cmp	QWORD PTR EFI_SUCCESS[rip], rax
	mov	edx, DWORD PTR 12[rsp]
	je	.L6
	mov	DWORD PTR 12[rsp], 0
	xor	edx, edx
.L6:
	mov	esi, DWORD PTR 8[rsp]
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	printf@PLT
	mov	eax, DWORD PTR 8[rsp]
	cmp	eax, 1
	jne	.L3
	mov	edx, DWORD PTR 12[rsp]
	test	edx, edx
	je	.L1
	jmp	.L3
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	efi_secure_boot_enabled, .-efi_secure_boot_enabled
	.comm	EFI_SUCCESS,8,8
	.comm	EFI_NOT_FOUND,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_efi_variables.c_efi_secure_boot_enabled.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"SecureBoot\000"
	.align	2
.LC1:
	.ascii	"Failed to read \"SecureBoot\" variable\000"
	.align	2
.LC2:
	.ascii	"SetupMode\000"
	.align	2
.LC3:
	.ascii	"   SecureBoot: %d, SetupMode: %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	efi_secure_boot_enabled
	.syntax unified
	.arm
	.fpu softvfp
	.type	efi_secure_boot_enabled, %function
efi_secure_boot_enabled:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, #4
	sub	sp, sp, #16
	ldr	r3, .L15
	mov	r1, sp
	ldr	r0, .L15+4
	add	r2, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	str	r6, [sp, #8]
	bl	efi_global_getenv
	ldr	r5, .L15+8
	ldr	r3, [r5]
	cmp	r3, r0
	beq	.L2
	ldr	r3, .L15+12
	mov	r4, r0
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L13
.L3:
	mov	r0, #0
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r0, .L15+16
	bl	puts
	mov	r0, r4
	bl	efi_status_to_errno
	rsb	r0, r0, #0
	b	.L1
.L2:
	add	r2, sp, #8
	add	r1, sp, #4
	ldr	r0, .L15+20
	str	r6, [sp, #8]
	bl	efi_global_getenv
	ldr	r3, [r5]
	ldr	r1, [sp]
	cmp	r3, r0
	movne	r3, #0
	ldreq	r2, [sp, #4]
	movne	r2, r3
	ldr	r0, .L15+24
	strne	r3, [sp, #4]
	bl	printf
	ldr	r0, [sp]
	cmp	r0, #1
	bne	.L3
	ldr	r3, [sp, #4]
	cmp	r3, #0
	beq	.L1
	b	.L3
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC4
	.word	.LC0
	.word	EFI_SUCCESS
	.word	EFI_NOT_FOUND
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	efi_secure_boot_enabled, .-efi_secure_boot_enabled
	.comm	EFI_SUCCESS,4,4
	.comm	EFI_NOT_FOUND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
