	.file	"extr_nuvoton-cir.c_nvt_cir_wake_ldev_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"CIR Wake initialized, base io port address: 0x%lx"
	.text
	.p2align 4
	.type	nvt_cir_wake_ldev_init, @function
nvt_cir_wake_ldev_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	esi, DWORD PTR LOGICAL_DEV_ACPI[rip]
	mov	rbx, rdi
	call	nvt_select_logical_dev@PLT
	mov	edx, DWORD PTR CR_LOGICAL_DEV_EN[rip]
	mov	esi, DWORD PTR LOGICAL_DEV_ENABLE[rip]
	mov	rdi, rbx
	call	nvt_cr_write@PLT
	mov	edx, DWORD PTR CR_ACPI_CIR_WAKE[rip]
	mov	esi, DWORD PTR CIR_WAKE_ENABLE_BIT[rip]
	mov	rdi, rbx
	call	nvt_set_reg_bit@PLT
	mov	edx, DWORD PTR CR_ACPI_IRQ_EVENTS2[rip]
	mov	esi, DWORD PTR PME_INTR_CIR_PASS_BIT[rip]
	mov	rdi, rbx
	call	nvt_set_reg_bit@PLT
	mov	esi, DWORD PTR LOGICAL_DEV_CIR_WAKE[rip]
	mov	rdi, rbx
	call	nvt_select_logical_dev@PLT
	mov	rsi, rbx
	mov	rdi, rbx
	call	nvt_set_ioaddr@PLT
	mov	esi, DWORD PTR [rbx]
	lea	rdi, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	nvt_dbg@PLT
	.cfi_endproc
.LFE0:
	.size	nvt_cir_wake_ldev_init, .-nvt_cir_wake_ldev_init
	.comm	PME_INTR_CIR_PASS_BIT,4,4
	.comm	LOGICAL_DEV_ENABLE,4,4
	.comm	LOGICAL_DEV_CIR_WAKE,4,4
	.comm	LOGICAL_DEV_ACPI,4,4
	.comm	CR_LOGICAL_DEV_EN,4,4
	.comm	CR_ACPI_IRQ_EVENTS2,4,4
	.comm	CR_ACPI_CIR_WAKE,4,4
	.comm	CIR_WAKE_ENABLE_BIT,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_nuvoton-cir.c_nvt_cir_wake_ldev_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"CIR Wake initialized, base io port address: 0x%lx\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nvt_cir_wake_ldev_init, %function
nvt_cir_wake_ldev_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r3, .L4
	ldr	r1, [r3]
	bl	nvt_select_logical_dev
	ldr	r3, .L4+4
	ldr	r2, .L4+8
	ldr	r1, [r3]
	mov	r0, r4
	ldr	r2, [r2]
	bl	nvt_cr_write
	ldr	r3, .L4+12
	ldr	r2, .L4+16
	ldr	r1, [r3]
	mov	r0, r4
	ldr	r2, [r2]
	bl	nvt_set_reg_bit
	ldr	r3, .L4+20
	ldr	r2, .L4+24
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r0, r4
	bl	nvt_set_reg_bit
	ldr	r3, .L4+28
	mov	r0, r4
	ldr	r1, [r3]
	bl	nvt_select_logical_dev
	mov	r1, r4
	mov	r0, r4
	bl	nvt_set_ioaddr
	ldr	r1, [r4]
	ldr	r0, .L4+32
	pop	{r4, lr}
	b	nvt_dbg
.L5:
	.align	2
.L4:
	.word	LOGICAL_DEV_ACPI
	.word	LOGICAL_DEV_ENABLE
	.word	CR_LOGICAL_DEV_EN
	.word	CIR_WAKE_ENABLE_BIT
	.word	CR_ACPI_CIR_WAKE
	.word	PME_INTR_CIR_PASS_BIT
	.word	CR_ACPI_IRQ_EVENTS2
	.word	LOGICAL_DEV_CIR_WAKE
	.word	.LC0
	.size	nvt_cir_wake_ldev_init, .-nvt_cir_wake_ldev_init
	.comm	PME_INTR_CIR_PASS_BIT,4,4
	.comm	LOGICAL_DEV_ENABLE,4,4
	.comm	LOGICAL_DEV_CIR_WAKE,4,4
	.comm	LOGICAL_DEV_ACPI,4,4
	.comm	CR_LOGICAL_DEV_EN,4,4
	.comm	CR_ACPI_IRQ_EVENTS2,4,4
	.comm	CR_ACPI_CIR_WAKE,4,4
	.comm	CIR_WAKE_ENABLE_BIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
