	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apm_do_busy
_apm_do_busy:                           ## @apm_do_busy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_clock_slowed@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_ALWAYS_CALL_BUSY@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_APM_FUNC_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-16(%rbp), %rcx
	leaq	-12(%rbp), %r8
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_apm_bios_call_simple
	movq	$0, (%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_clock_slowed,8,3               ## @clock_slowed
	.comm	_ALWAYS_CALL_BUSY,8,3           ## @ALWAYS_CALL_BUSY
	.comm	_APM_FUNC_BUSY,4,2              ## @APM_FUNC_BUSY
	.no_dead_strip	_apm_do_busy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apm_do_busy
_apm_do_busy:                           ; @apm_do_busy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _clock_slowed@GOTPAGE
Lloh1:
	ldr	x19, [x19, _clock_slowed@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _ALWAYS_CALL_BUSY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ALWAYS_CALL_BUSY@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	orr	x8, x8, x9
	cbz	x8, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _APM_FUNC_BUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _APM_FUNC_BUSY@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w1, #0
	mov	w2, #0
	bl	_apm_bios_call_simple
	str	xzr, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_clock_slowed,8,3               ; @clock_slowed
	.comm	_ALWAYS_CALL_BUSY,8,3           ; @ALWAYS_CALL_BUSY
	.comm	_APM_FUNC_BUSY,4,2              ; @APM_FUNC_BUSY
	.no_dead_strip	_apm_do_busy
.subsections_via_symbols
