	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_pad_handle_notify
_acpi_pad_handle_notify:                ## @acpi_pad_handle_notify
	.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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	movl	$0, -20(%rbp)
	movq	_isolated_cpus_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	leaq	-20(%rbp), %rsi
	movl	%ebx, %edi
	callq	_acpi_pad_pur
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movl	-20(%rbp), %edi
	callq	_acpi_pad_idle_cpus
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_acpi_pad_idle_cpus_num
	movl	%ebx, %edi
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.3:
	movl	$1, %esi
	xorl	%edx, %edx
	jmp	LBB0_4
LBB0_2:
	xorl	%esi, %esi
	movl	%eax, %edx
LBB0_4:
	callq	_acpi_pad_ost
LBB0_5:
	movq	_isolated_cpus_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_isolated_cpus_lock,4,2         ## @isolated_cpus_lock
	.no_dead_strip	_acpi_pad_handle_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_pad_handle_notify
_acpi_pad_handle_notify:                ; @acpi_pad_handle_notify
	.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
	mov	x19, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x0, _isolated_cpus_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _isolated_cpus_lock@GOTPAGEOFF]
	bl	_mutex_lock
	add	x1, sp, #12
	mov	x0, x19
	bl	_acpi_pad_pur
	cbnz	x0, LBB0_5
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_acpi_pad_idle_cpus
	mov	x20, x0
	bl	_acpi_pad_idle_cpus_num
	cbz	w20, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	b	LBB0_4
LBB0_3:
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
LBB0_4:
	bl	_acpi_pad_ost
LBB0_5:
Lloh2:
	adrp	x0, _isolated_cpus_lock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _isolated_cpus_lock@GOTPAGEOFF]
	bl	_mutex_unlock
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_isolated_cpus_lock,4,2         ; @isolated_cpus_lock
	.no_dead_strip	_acpi_pad_handle_notify
.subsections_via_symbols
