	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppi_callback
_ppi_callback:                          ## @ppi_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	$0, -32(%rbp)
	movq	_ACPI_ALLOCATE_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_ACPI_FULL_PATHNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_acpi_get_name
	movl	-48(%rbp), %edi
	movq	%r15, %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, (%r14)
	movl	-48(%rbp), %edi
	callq	_kfree
	movq	_AE_CTRL_TERMINATE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_AE_OK@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_ALLOCATE_BUFFER,4,2       ## @ACPI_ALLOCATE_BUFFER
	.comm	_ACPI_FULL_PATHNAME,4,2         ## @ACPI_FULL_PATHNAME
	.comm	_AE_CTRL_TERMINATE,4,2          ## @AE_CTRL_TERMINATE
	.comm	_AE_OK,4,2                      ## @AE_OK
	.no_dead_strip	_ppi_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppi_callback
_ppi_callback:                          ; @ppi_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x21, x2
	mov	x20, x0
	stp	xzr, xzr, [sp, #8]
Lloh0:
	adrp	x8, _ACPI_ALLOCATE_BUFFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACPI_ALLOCATE_BUFFER@GOTPAGEOFF]
	str	xzr, [sp, #24]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh3:
	adrp	x8, _ACPI_FULL_PATHNAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACPI_FULL_PATHNAME@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_acpi_get_name
	ldr	w0, [sp, #8]
	mov	x1, x21
	bl	_strstr
	cbz	x0, LBB0_2
; %bb.1:
	str	x20, [x19]
	ldr	w0, [sp, #8]
	bl	_kfree
Lloh6:
	adrp	x8, _AE_CTRL_TERMINATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AE_CTRL_TERMINATE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _AE_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_ALLOCATE_BUFFER,4,2       ; @ACPI_ALLOCATE_BUFFER
	.comm	_ACPI_FULL_PATHNAME,4,2         ; @ACPI_FULL_PATHNAME
	.comm	_AE_CTRL_TERMINATE,4,2          ; @AE_CTRL_TERMINATE
	.comm	_AE_OK,4,2                      ; @AE_OK
	.no_dead_strip	_ppi_callback
.subsections_via_symbols
