	.file	"extr_acpi_machdep.c_acpi_machdep_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"reset_video"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Call the VESA reset BIOS vector on the resume path"
	.text
	.p2align 4
	.globl	acpi_machdep_init
	.type	acpi_machdep_init, @function
acpi_machdep_init:
.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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	device_get_softc@PLT
	mov	rbx, rax
	mov	rdi, rax
	call	acpi_apm_init@PLT
	mov	rdi, rbx
	call	acpi_install_wakeup_handler@PLT
	mov	rdi, QWORD PTR intr_model[rip]
	cmp	rdi, QWORD PTR ACPI_INTR_PIC[rip]
	je	.L2
	call	acpi_SetIntrModel@PLT
.L2:
	mov	edi, DWORD PTR [rbx]
	mov	ebp, DWORD PTR CTLFLAG_RW[rip]
	mov	r12d, DWORD PTR OID_AUTO[rip]
	call	SYSCTL_CHILDREN@PLT
	lea	rdi, 4[rbx]
	mov	r8d, ebp
	lea	r9, acpi_reset_video[rip]
	mov	esi, eax
	lea	rax, .LC1[rip]
	mov	edx, r12d
	push	rax
	.cfi_def_cfa_offset 40
	lea	rcx, .LC0[rip]
	push	0
	.cfi_def_cfa_offset 48
	call	SYSCTL_ADD_INT@PLT
	pop	rax
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rdx
	.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
	.cfi_endproc
.LFE0:
	.size	acpi_machdep_init, .-acpi_machdep_init
	.comm	intr_model,8,8
	.comm	acpi_reset_video,4,4
	.comm	OID_AUTO,4,4
	.comm	CTLFLAG_RW,4,4
	.comm	ACPI_INTR_PIC,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_acpi_machdep.c_acpi_machdep_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"reset_video\000"
	.align	2
.LC1:
	.ascii	"Call the VESA reset BIOS vector on the resume path\000"
	.text
	.align	2
	.global	acpi_machdep_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_machdep_init, %function
acpi_machdep_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	sub	sp, sp, #20
	bl	device_get_softc
	mov	r4, r0
	bl	acpi_apm_init
	mov	r0, r4
	bl	acpi_install_wakeup_handler
	ldr	r2, .L5
	ldr	r3, .L5+4
	ldr	r0, [r2]
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L2
	bl	acpi_SetIntrModel
.L2:
	mov	r5, #0
	ldr	r0, [r4], #4
	bl	SYSCTL_CHILDREN
	ldr	r3, .L5+8
	ldr	ip, .L5+12
	ldr	r3, [r3]
	ldr	r2, .L5+16
	str	r3, [sp]
	ldr	r3, .L5+20
	str	r5, [sp, #8]
	ldr	r2, [r2]
	mov	r1, r0
	str	r3, [sp, #4]
	mov	r0, r4
	ldr	r3, .L5+24
	str	ip, [sp, #12]
	bl	SYSCTL_ADD_INT
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L6:
	.align	2
.L5:
	.word	intr_model
	.word	ACPI_INTR_PIC
	.word	CTLFLAG_RW
	.word	.LC1
	.word	OID_AUTO
	.word	acpi_reset_video
	.word	.LC0
	.size	acpi_machdep_init, .-acpi_machdep_init
	.comm	intr_model,4,4
	.comm	acpi_reset_video,4,4
	.comm	OID_AUTO,4,4
	.comm	CTLFLAG_RW,4,4
	.comm	ACPI_INTR_PIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
