	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_apm_init                  ## -- Begin function acpi_apm_init
	.p2align	4, 0x90
_acpi_apm_init:                         ## @acpi_apm_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	addq	$8, %rdi
	callq	_STAILQ_INIT
	movl	(%rbx), %edi
	movq	%rbx, %rsi
	callq	_apm_create_clone
	movl	%eax, 4(%rbx)
	movq	_UID_ROOT@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_GID_OPERATOR@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	_apm_cdevsw@GOTPCREL(%rip), %rbx
	leaq	L_.str(%rip), %r9
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$432, %r8d                      ## imm = 0x1B0
	callq	_make_dev
	movl	(%r14), %edx
	movl	(%r15), %ecx
	leaq	L_.str.1(%rip), %r9
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$436, %r8d                      ## imm = 0x1B4
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_make_dev                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_apm_cdevsw,4,2                 ## @apm_cdevsw
	.comm	_UID_ROOT,4,2                   ## @UID_ROOT
	.comm	_GID_OPERATOR,4,2               ## @GID_OPERATOR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"apmctl"

L_.str.1:                               ## @.str.1
	.asciz	"apm"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_apm_init                  ; -- Begin function acpi_apm_init
	.p2align	2
_acpi_apm_init:                         ; @acpi_apm_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	add	x0, x0, #8
	bl	_STAILQ_INIT
	ldr	w0, [x19]
	mov	x1, x19
	bl	_apm_create_clone
	str	w0, [x19, #4]
Lloh0:
	adrp	x20, _UID_ROOT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _UID_ROOT@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh2:
	adrp	x21, _GID_OPERATOR@GOTPAGE
Lloh3:
	ldr	x21, [x21, _GID_OPERATOR@GOTPAGEOFF]
	ldr	w3, [x21]
Lloh4:
	adrp	x19, _apm_cdevsw@GOTPAGE
Lloh5:
	ldr	x19, [x19, _apm_cdevsw@GOTPAGEOFF]
Lloh6:
	adrp	x5, l_.str@PAGE
Lloh7:
	add	x5, x5, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	w4, #432
	bl	_make_dev
	ldr	w2, [x20]
	ldr	w3, [x21]
Lloh8:
	adrp	x5, l_.str.1@PAGE
Lloh9:
	add	x5, x5, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	w4, #436
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_make_dev
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_apm_cdevsw,4,2                 ; @apm_cdevsw
	.comm	_UID_ROOT,4,2                   ; @UID_ROOT
	.comm	_GID_OPERATOR,4,2               ; @GID_OPERATOR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"apmctl"

l_.str.1:                               ; @.str.1
	.asciz	"apm"

.subsections_via_symbols
