	.file	"extr_command_table.c_enable_disp_power_gating_v2_1.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	enable_disp_power_gating_v2_1, @function
enable_disp_power_gating_v2_1:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, esi
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	r12d, DWORD PTR BP_RESULT_FAILURE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rbx]
	lea	rsi, 8[rsp]
	mov	QWORD PTR 12[rsp], 0
	mov	DWORD PTR 20[rsp], 0
	call	[QWORD PTR 8[rax]]
	mov	r8, rax
	mov	eax, DWORD PTR BP_RESULT_BADINPUT[rip]
	test	r8, r8
	je	.L1
	mov	eax, DWORD PTR 8[rsp]
	mov	edi, ebp
	mov	DWORD PTR 16[rsp], eax
	mov	rax, QWORD PTR [rbx]
	call	[QWORD PTR [rax]]
	mov	edx, DWORD PTR 20[rsp]
	mov	edi, DWORD PTR EnableDispPowerGating[rip]
	mov	DWORD PTR 12[rsp], eax
	mov	rsi, QWORD PTR 12[rsp]
	call	EXEC_BIOS_CMD_TABLE@PLT
	test	rax, rax
	mov	eax, r12d
	cmovne	eax, DWORD PTR BP_RESULT_OK[rip]
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L9
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	enable_disp_power_gating_v2_1, .-enable_disp_power_gating_v2_1
	.comm	EnableDispPowerGating,4,4
	.comm	BP_RESULT_OK,4,4
	.comm	BP_RESULT_FAILURE,4,4
	.comm	BP_RESULT_BADINPUT,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_command_table.c_enable_disp_power_gating_v2_1.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	enable_disp_power_gating_v2_1, %function
enable_disp_power_gating_v2_1:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	lr, [r0]
	sub	sp, sp, #24
	ldr	ip, .L10
	mov	r7, r2
	ldr	r2, .L10+4
	mov	r5, r0
	ldr	r6, [lr, #4]
	mov	r0, r1
	add	r1, sp, #4
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	ldr	r8, [ip]
	str	r3, [sp, #8]
	str	r3, [sp, #12]
	str	r3, [sp, #16]
	blx	r6
	cmp	r0, #0
	beq	.L2
	ldr	r3, [r5]
	ldr	r2, [sp, #4]
	ldr	r3, [r3]
	mov	r0, r7
	str	r2, [sp, #12]
	blx	r3
	ldr	ip, .L10+8
	str	r0, [sp, #8]
	add	r4, sp, #8
	ldr	r0, [ip]
	ldm	r4, {r1, r2, r3}
	bl	EXEC_BIOS_CMD_TABLE
	cmp	r0, #0
	moveq	r0, r8
	bne	.L8
.L1:
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r3, .L10+12
	ldr	r0, [r3]
	b	.L1
.L2:
	ldr	r3, .L10+16
	ldr	r0, [r3]
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	BP_RESULT_FAILURE
	.word	.LC0
	.word	EnableDispPowerGating
	.word	BP_RESULT_OK
	.word	BP_RESULT_BADINPUT
	.size	enable_disp_power_gating_v2_1, .-enable_disp_power_gating_v2_1
	.comm	EnableDispPowerGating,4,4
	.comm	BP_RESULT_OK,4,4
	.comm	BP_RESULT_FAILURE,4,4
	.comm	BP_RESULT_BADINPUT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
