	.file	"extr_scan.c_acpi_wakeup_gpe_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	acpi_wakeup_gpe_init, @function
acpi_wakeup_gpe_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	lea	rsi, button_device_ids.1951[rip]
	mov	rbx, rdi
	mov	QWORD PTR 24[rdi], 0
	call	acpi_match_device_ids@PLT
	test	eax, eax
	je	.L8
	mov	edi, DWORD PTR [rbx]
	mov	edx, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR 20[rbx]
	call	acpi_setup_gpe_for_wake@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	edi, eax
	jmp	ACPI_SUCCESS@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rsi, button_device_ids.1951[rip+16]
	mov	rdi, rbx
	call	acpi_match_device_ids@PLT
	test	eax, eax
	jne	.L3
	mov	rax, QWORD PTR ACPI_STATE_S5[rip]
	cmp	QWORD PTR 8[rbx], rax
	jne	.L3
	mov	rax, QWORD PTR ACPI_STATE_S4[rip]
	mov	QWORD PTR 8[rbx], rax
.L3:
	mov	esi, DWORD PTR 16[rbx]
	mov	edi, DWORD PTR 20[rbx]
	call	acpi_mark_gpe_for_wake@PLT
	lea	rdi, 4[rbx]
	mov	esi, 1
	call	device_set_wakeup_capable@PLT
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	acpi_wakeup_gpe_init, .-acpi_wakeup_gpe_init
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"PNP0C0C"
.LC1:
	.string	"PNP0C0D"
.LC2:
	.string	"PNP0C0E"
.LC3:
	.string	""
	.section	.data.rel.ro.local,"aw"
	.align 32
	.type	button_device_ids.1951, @object
	.size	button_device_ids.1951, 64
button_device_ids.1951:
	.quad	.LC0
	.long	0
	.zero	4
	.quad	.LC1
	.long	0
	.zero	4
	.quad	.LC2
	.long	0
	.zero	4
	.quad	.LC3
	.long	0
	.zero	4
	.comm	ACPI_STATE_S5,8,8
	.comm	ACPI_STATE_S4,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_scan.c_acpi_wakeup_gpe_init.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_wakeup_gpe_init, %function
acpi_wakeup_gpe_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, lr}
	ldr	r1, .L9
	str	r3, [r0, #20]
	mov	r4, r0
	bl	acpi_match_device_ids
	cmp	r0, #0
	beq	.L8
	ldr	r2, [r4, #12]
	ldr	r1, [r4, #16]
	ldr	r0, [r4]
	bl	acpi_setup_gpe_for_wake
	pop	{r4, lr}
	b	ACPI_SUCCESS
.L8:
	mov	r0, r4
	ldr	r1, .L9+4
	bl	acpi_match_device_ids
	cmp	r0, #0
	bne	.L3
	ldr	r3, .L9+8
	ldr	r2, [r4, #8]
	ldr	r3, [r3]
	cmp	r2, r3
	ldreq	r3, .L9+12
	ldreq	r3, [r3]
	streq	r3, [r4, #8]
.L3:
	ldr	r1, [r4, #12]
	ldr	r0, [r4, #16]
	bl	acpi_mark_gpe_for_wake
	mov	r1, #1
	add	r0, r4, #4
	bl	device_set_wakeup_capable
	mov	r0, #1
	pop	{r4, pc}
.L10:
	.align	2
.L9:
	.word	.LANCHOR0
	.word	.LANCHOR0+8
	.word	ACPI_STATE_S5
	.word	ACPI_STATE_S4
	.size	acpi_wakeup_gpe_init, .-acpi_wakeup_gpe_init
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"PNP0C0C\000"
	.align	2
.LC1:
	.ascii	"PNP0C0D\000"
	.align	2
.LC2:
	.ascii	"PNP0C0E\000"
	.align	2
.LC3:
	.ascii	"\000"
	.comm	ACPI_STATE_S5,4,4
	.comm	ACPI_STATE_S4,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	button_device_ids.4235, %object
	.size	button_device_ids.4235, 32
button_device_ids.4235:
	.word	.LC0
	.word	0
	.word	.LC1
	.word	0
	.word	.LC2
	.word	0
	.word	.LC3
	.word	0
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
