	.file	"extr_lg-laptop.c_ggov.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Cannot get handle"
.LC1:
	.string	"GGOV: call failed.\n"
	.text
	.p2align 4
	.type	ggov, @function
ggov:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pxor	xmm0, xmm0
	sub	rsp, 80
	.cfi_def_cfa_offset 96
	mov	esi, DWORD PTR SB_GGOV_METHOD[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR ACPI_ALLOCATE_BUFFER[rip]
	lea	rdx, 12[rsp]
	movups	XMMWORD PTR 40[rsp], xmm0
	mov	QWORD PTR 32[rsp], rax
	mov	rax, QWORD PTR ACPI_TYPE_INTEGER[rip]
	mov	QWORD PTR 64[rsp], rax
	mov	DWORD PTR 64[rsp], edi
	xor	edi, edi
	call	acpi_get_handle@PLT
	mov	edi, eax
	call	ACPI_FAILURE@PLT
	test	rax, rax
	jne	.L9
	mov	edi, DWORD PTR 12[rsp]
	lea	rax, 64[rsp]
	xor	esi, esi
	lea	rcx, 32[rsp]
	lea	rdx, 16[rsp]
	mov	DWORD PTR 16[rsp], 1
	mov	QWORD PTR 24[rsp], rax
	call	acpi_evaluate_object@PLT
	mov	edi, eax
	call	ACPI_FAILURE@PLT
	test	rax, rax
	jne	.L10
	mov	rdi, QWORD PTR 32[rsp]
	mov	rax, QWORD PTR ACPI_TYPE_INTEGER[rip]
	cmp	QWORD PTR [rdi], rax
	jne	.L11
	mov	r12d, DWORD PTR [rdi]
	call	kfree@PLT
.L1:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 80
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	call	kfree@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	lea	rdi, .LC0[rip]
	call	pr_err@PLT
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, DWORD PTR 12[rsp]
	lea	rsi, .LC1[rip]
	call	acpi_handle_err@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ggov, .-ggov
	.comm	SB_GGOV_METHOD,8,8
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	ACPI_TYPE_INTEGER,8,8
	.comm	ACPI_ALLOCATE_BUFFER,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_lg-laptop.c_ggov.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Cannot get handle\000"
	.align	2
.LC1:
	.ascii	"GGOV: call failed.\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ggov, %function
ggov:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	mov	r2, r0
	push	{r4, lr}
	ldr	r0, .L13
	ldr	r1, .L13+4
	sub	sp, sp, #32
	ldr	ip, [r0]
	ldr	lr, .L13+8
	ldr	r1, [r1]
	str	r2, [sp, #24]
	mov	r0, r3
	mov	r2, sp
	ldr	lr, [lr]
	str	lr, [sp, #28]
	mov	lr,#0
	str	ip, [sp, #12]
	str	r3, [sp, #16]
	str	r3, [sp, #20]
	bl	acpi_get_handle
	bl	ACPI_FAILURE
	subs	r1, r0, #0
	bne	.L9
	mov	lr, #1
	add	ip, sp, #24
	add	r3, sp, #12
	add	r2, sp, #4
	ldr	r0, [sp]
	str	lr, [sp, #4]
	str	ip, [sp, #8]
	bl	acpi_evaluate_object
	bl	ACPI_FAILURE
	cmp	r0, #0
	bne	.L10
	ldr	r0, [sp, #12]
	ldr	r3, .L13+12
	ldr	r4, [r0]
	ldr	r3, [r3]
	cmp	r4, r3
	bne	.L11
	bl	kfree
.L1:
	ldr	r3, .L13+8
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r4
	add	sp, sp, #32
	@ sp needed
	pop	{r4, pc}
.L11:
	bl	kfree
	ldr	r3, .L13+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L9:
	ldr	r0, .L13+20
	bl	pr_err
	ldr	r3, .L13+24
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L10:
	ldr	r1, .L13+28
	ldr	r0, [sp]
	bl	acpi_handle_err
	ldr	r3, .L13+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	ACPI_ALLOCATE_BUFFER
	.word	SB_GGOV_METHOD
	.word	.LC2
	.word	ACPI_TYPE_INTEGER
	.word	EINVAL
	.word	.LC0
	.word	ENODEV
	.word	.LC1
	.size	ggov, .-ggov
	.comm	SB_GGOV_METHOD,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	ACPI_TYPE_INTEGER,4,4
	.comm	ACPI_ALLOCATE_BUFFER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
