	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvt_disable_cir
_nvt_disable_cir:                       ## @nvt_disable_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
	callq	_spin_lock_irqsave
	movq	_CIR_IREN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	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	_CIR_IRCON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_nvt_cir_reg_write
	movq	%rbx, %rdi
	callq	_nvt_clear_cir_fifo
	movq	%rbx, %rdi
	callq	_nvt_clear_tx_fifo
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_LOGICAL_DEV_CIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_nvt_disable_logical_dev        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CIR_IREN,4,2                   ## @CIR_IREN
	.comm	_CIR_IRSTS,4,2                  ## @CIR_IRSTS
	.comm	_CIR_IRCON,4,2                  ## @CIR_IRCON
	.comm	_LOGICAL_DEV_CIR,4,2            ## @LOGICAL_DEV_CIR
	.no_dead_strip	_nvt_disable_cir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvt_disable_cir
_nvt_disable_cir:                       ; @nvt_disable_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
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _CIR_IREN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CIR_IREN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_nvt_cir_reg_write
Lloh3:
	adrp	x8, _CIR_IRSTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CIR_IRSTS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #255
	bl	_nvt_cir_reg_write
Lloh6:
	adrp	x8, _CIR_IRCON@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CIR_IRCON@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_nvt_cir_reg_write
	mov	x0, x19
	bl	_nvt_clear_cir_fifo
	mov	x0, x19
	bl	_nvt_clear_tx_fifo
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh9:
	adrp	x8, _LOGICAL_DEV_CIR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LOGICAL_DEV_CIR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nvt_disable_logical_dev
	.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	_CIR_IREN,4,2                   ; @CIR_IREN
	.comm	_CIR_IRSTS,4,2                  ; @CIR_IRSTS
	.comm	_CIR_IRCON,4,2                  ; @CIR_IRCON
	.comm	_LOGICAL_DEV_CIR,4,2            ; @LOGICAL_DEV_CIR
	.no_dead_strip	_nvt_disable_cir
.subsections_via_symbols
