	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvt_enable_cir
_nvt_enable_cir:                        ## @nvt_enable_cir
	.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_CIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nvt_enable_logical_dev
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	_CIR_IRCON_TXEN@GOTPCREL(%rip), %rax
	movq	_CIR_IRCON_RXEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_CIR_IRCON_RXINV@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_CIR_IRCON_SAMPLE_PERIOD_SEL@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_CIR_IRCON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_nvt_cir_reg_write
	movq	_CIR_IRSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$255, %esi
	callq	_nvt_cir_reg_write
	movq	%rbx, %rdi
	callq	_nvt_set_cir_iren
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LOGICAL_DEV_CIR,4,2            ## @LOGICAL_DEV_CIR
	.comm	_CIR_IRCON_TXEN,4,2             ## @CIR_IRCON_TXEN
	.comm	_CIR_IRCON_RXEN,4,2             ## @CIR_IRCON_RXEN
	.comm	_CIR_IRCON_RXINV,4,2            ## @CIR_IRCON_RXINV
	.comm	_CIR_IRCON_SAMPLE_PERIOD_SEL,4,2 ## @CIR_IRCON_SAMPLE_PERIOD_SEL
	.comm	_CIR_IRCON,4,2                  ## @CIR_IRCON
	.comm	_CIR_IRSTS,4,2                  ## @CIR_IRSTS
	.no_dead_strip	_nvt_enable_cir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvt_enable_cir
_nvt_enable_cir:                        ; @nvt_enable_cir
	.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_CIR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOGICAL_DEV_CIR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_nvt_enable_logical_dev
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh3:
	adrp	x8, _CIR_IRCON_TXEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CIR_IRCON_TXEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _CIR_IRCON_RXEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CIR_IRCON_RXEN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _CIR_IRCON_RXINV@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CIR_IRCON_RXINV@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _CIR_IRCON_SAMPLE_PERIOD_SEL@GOTPAGE
Lloh13:
	ldr	x10, [x10, _CIR_IRCON_SAMPLE_PERIOD_SEL@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh14:
	ldr	w9, [x10]
	orr	w1, w8, w9
Lloh15:
	adrp	x8, _CIR_IRCON@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CIR_IRCON@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_nvt_cir_reg_write
Lloh18:
	adrp	x8, _CIR_IRSTS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CIR_IRSTS@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #255
	bl	_nvt_cir_reg_write
	mov	x0, x19
	bl	_nvt_set_cir_iren
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.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_CIR,4,2            ; @LOGICAL_DEV_CIR
	.comm	_CIR_IRCON_TXEN,4,2             ; @CIR_IRCON_TXEN
	.comm	_CIR_IRCON_RXEN,4,2             ; @CIR_IRCON_RXEN
	.comm	_CIR_IRCON_RXINV,4,2            ; @CIR_IRCON_RXINV
	.comm	_CIR_IRCON_SAMPLE_PERIOD_SEL,4,2 ; @CIR_IRCON_SAMPLE_PERIOD_SEL
	.comm	_CIR_IRCON,4,2                  ; @CIR_IRCON
	.comm	_CIR_IRSTS,4,2                  ; @CIR_IRSTS
	.no_dead_strip	_nvt_enable_cir
.subsections_via_symbols
