	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvt_cir_wake_ldev_init
_nvt_cir_wake_ldev_init:                ## @nvt_cir_wake_ldev_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_LOGICAL_DEV_ACPI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nvt_select_logical_dev
	movq	_LOGICAL_DEV_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CR_LOGICAL_DEV_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_nvt_cr_write
	movq	_CIR_WAKE_ENABLE_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CR_ACPI_CIR_WAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_nvt_set_reg_bit
	movq	_PME_INTR_CIR_PASS_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CR_ACPI_IRQ_EVENTS2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_nvt_set_reg_bit
	movq	_LOGICAL_DEV_CIR_WAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nvt_select_logical_dev
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_nvt_set_ioaddr
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_nvt_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LOGICAL_DEV_ACPI,4,2           ## @LOGICAL_DEV_ACPI
	.comm	_LOGICAL_DEV_ENABLE,4,2         ## @LOGICAL_DEV_ENABLE
	.comm	_CR_LOGICAL_DEV_EN,4,2          ## @CR_LOGICAL_DEV_EN
	.comm	_CIR_WAKE_ENABLE_BIT,4,2        ## @CIR_WAKE_ENABLE_BIT
	.comm	_CR_ACPI_CIR_WAKE,4,2           ## @CR_ACPI_CIR_WAKE
	.comm	_PME_INTR_CIR_PASS_BIT,4,2      ## @PME_INTR_CIR_PASS_BIT
	.comm	_CR_ACPI_IRQ_EVENTS2,4,2        ## @CR_ACPI_IRQ_EVENTS2
	.comm	_LOGICAL_DEV_CIR_WAKE,4,2       ## @LOGICAL_DEV_CIR_WAKE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CIR Wake initialized, base io port address: 0x%lx"

	.no_dead_strip	_nvt_cir_wake_ldev_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvt_cir_wake_ldev_init
_nvt_cir_wake_ldev_init:                ; @nvt_cir_wake_ldev_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _LOGICAL_DEV_ACPI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOGICAL_DEV_ACPI@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_nvt_select_logical_dev
Lloh3:
	adrp	x8, _LOGICAL_DEV_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LOGICAL_DEV_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _CR_LOGICAL_DEV_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CR_LOGICAL_DEV_EN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_nvt_cr_write
Lloh9:
	adrp	x8, _CIR_WAKE_ENABLE_BIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CIR_WAKE_ENABLE_BIT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _CR_ACPI_CIR_WAKE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CR_ACPI_CIR_WAKE@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_nvt_set_reg_bit
Lloh15:
	adrp	x8, _PME_INTR_CIR_PASS_BIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PME_INTR_CIR_PASS_BIT@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _CR_ACPI_IRQ_EVENTS2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CR_ACPI_IRQ_EVENTS2@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_nvt_set_reg_bit
Lloh21:
	adrp	x8, _LOGICAL_DEV_CIR_WAKE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LOGICAL_DEV_CIR_WAKE@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nvt_select_logical_dev
	mov	x0, x19
	mov	x1, x19
	bl	_nvt_set_ioaddr
	ldr	w1, [x19]
Lloh24:
	adrp	x0, l_.str@PAGE
Lloh25:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nvt_dbg
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LOGICAL_DEV_ACPI,4,2           ; @LOGICAL_DEV_ACPI
	.comm	_LOGICAL_DEV_ENABLE,4,2         ; @LOGICAL_DEV_ENABLE
	.comm	_CR_LOGICAL_DEV_EN,4,2          ; @CR_LOGICAL_DEV_EN
	.comm	_CIR_WAKE_ENABLE_BIT,4,2        ; @CIR_WAKE_ENABLE_BIT
	.comm	_CR_ACPI_CIR_WAKE,4,2           ; @CR_ACPI_CIR_WAKE
	.comm	_PME_INTR_CIR_PASS_BIT,4,2      ; @PME_INTR_CIR_PASS_BIT
	.comm	_CR_ACPI_IRQ_EVENTS2,4,2        ; @CR_ACPI_IRQ_EVENTS2
	.comm	_LOGICAL_DEV_CIR_WAKE,4,2       ; @LOGICAL_DEV_CIR_WAKE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CIR Wake initialized, base io port address: 0x%lx"

	.no_dead_strip	_nvt_cir_wake_ldev_init
.subsections_via_symbols
