	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apm_bios_call_simple
_apm_bios_call_simple:                  ## @apm_bios_call_simple
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%r8, %r14
	movq	%rcx, %rbx
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	%rdx, -40(%rbp)
	movq	___apm_bios_call_simple@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-56(%rbp), %rsi
	callq	_on_cpu0
	movq	-48(%rbp), %rcx
	movq	%rcx, (%rbx)
	movl	-56(%rbp), %ecx
	movl	%ecx, (%r14)
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___apm_bios_call_simple,4,2     ## @__apm_bios_call_simple
	.no_dead_strip	_apm_bios_call_simple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apm_bios_call_simple
_apm_bios_call_simple:                  ; @apm_bios_call_simple
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x4
	mov	x20, x3
	stp	x1, x0, [sp, #32]
	str	x2, [sp, #24]
Lloh0:
	adrp	x8, ___apm_bios_call_simple@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___apm_bios_call_simple@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_on_cpu0
	ldr	x8, [sp, #16]
	str	x8, [x20]
	ldr	w8, [sp, #8]
	str	w8, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	___apm_bios_call_simple,4,2     ; @__apm_bios_call_simple
	.no_dead_strip	_apm_bios_call_simple
.subsections_via_symbols
