	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apmkqfilter
_apmkqfilter:                           ## @apmkqfilter
	.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
	movq	%rsi, %rbx
	leaq	-24(%rbp), %rdi
	callq	_devfs_get_cdevpriv
	movq	_acpi@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_ACPI_LOCK
	movq	-24(%rbp), %rdi
	movq	%rdi, 8(%rbx)
	movq	_apm_readfiltops@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_knlist_add
	movl	(%r14), %edi
	callq	_ACPI_UNLOCK
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_acpi,4,2                       ## @acpi
	.comm	_apm_readfiltops,4,2            ## @apm_readfiltops
	.no_dead_strip	_apmkqfilter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apmkqfilter
_apmkqfilter:                           ; @apmkqfilter
	.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, x1
	add	x0, sp, #8
	bl	_devfs_get_cdevpriv
Lloh0:
	adrp	x20, _acpi@GOTPAGE
Lloh1:
	ldr	x20, [x20, _acpi@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ACPI_LOCK
	ldr	x0, [sp, #8]
Lloh2:
	adrp	x8, _apm_readfiltops@GOTPAGE
Lloh3:
	ldr	x8, [x8, _apm_readfiltops@GOTPAGEOFF]
	stp	x8, x0, [x19]
	mov	x1, x19
	mov	w2, #0
	bl	_knlist_add
	ldr	w0, [x20]
	bl	_ACPI_UNLOCK
	mov	w0, #0
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_acpi,4,2                       ; @acpi
	.comm	_apm_readfiltops,4,2            ; @apm_readfiltops
	.no_dead_strip	_apmkqfilter
.subsections_via_symbols
