	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fv_intr
_fv_intr:                               ## @fv_intr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	16(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_FV_LOCK
	movq	_CSR_STATUS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_CSR_READ_4
	testl	%eax, (%r13)
	je	LBB0_13
## %bb.1:
	movl	%eax, %ebx
	movq	_FULLDUP_RT_SHIFT@GOTPCREL(%rip), %r15
	movq	_FULLDUP_NRP_SHIFT@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_FULLDUP_CS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FULLDUP_NTP_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	movl	$3, %edi
	shll	%cl, %edi
	movq	_FULLDUP_TT_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	btsl	%ecx, %eax
	movzbl	(%r15), %ecx
	movl	$2, %ebx
	shll	%cl, %ebx
	movzbl	(%r12), %ecx
	movl	$2, %edx
	shll	%cl, %edx
	orl	%eax, %edi
	movq	_CSR_FULLDUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	%ebx, %edx
	orl	%edi, %edx
	movq	%r13, %rdi
	callq	_CSR_WRITE_4
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_CSR_READ_4
	movl	%eax, %ebx
	testl	%eax, (%r13)
	je	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_CSR_WRITE_4
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_STATUS_UNF@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%r13), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_device_printf
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%ebx, 4(%r13)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_fv_rx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%ebx, 8(%r13)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_fv_tx
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_STATUS_AIS@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_device_printf
	jmp	LBB0_12
LBB0_13:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_IFQ_DRV_IS_EMPTY
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_fv_start_locked
LBB0_15:
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_FV_UNLOCK                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CSR_STATUS,4,2                 ## @CSR_STATUS
	.comm	_STATUS_UNF,4,2                 ## @STATUS_UNF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Transmit Underflow\n"

	.comm	_STATUS_AIS,4,2                 ## @STATUS_AIS
L_.str.1:                               ## @.str.1
	.asciz	"Abnormal Interrupt %x\n"

	.comm	_CSR_FULLDUP,4,2                ## @CSR_FULLDUP
	.comm	_FULLDUP_CS,4,2                 ## @FULLDUP_CS
	.comm	_FULLDUP_TT_SHIFT,4,2           ## @FULLDUP_TT_SHIFT
	.comm	_FULLDUP_NTP_SHIFT,4,2          ## @FULLDUP_NTP_SHIFT
	.comm	_FULLDUP_RT_SHIFT,4,2           ## @FULLDUP_RT_SHIFT
	.comm	_FULLDUP_NRP_SHIFT,4,2          ## @FULLDUP_NRP_SHIFT
	.no_dead_strip	_fv_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fv_intr
_fv_intr:                               ; @fv_intr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x8, [x0, #16]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	bl	_FV_LOCK
Lloh0:
	adrp	x24, _CSR_STATUS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _CSR_STATUS@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_CSR_READ_4
	ldr	w8, [x19]
	tst	w8, w0
	b.eq	LBB0_13
; %bb.1:
	mov	x23, x0
	mov	w20, #3
	mov	w21, #2
Lloh2:
	adrp	x22, _FULLDUP_CS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _FULLDUP_CS@GOTPAGEOFF]
Lloh4:
	adrp	x25, _FULLDUP_TT_SHIFT@GOTPAGE
Lloh5:
	ldr	x25, [x25, _FULLDUP_TT_SHIFT@GOTPAGEOFF]
Lloh6:
	adrp	x26, _FULLDUP_NTP_SHIFT@GOTPAGE
Lloh7:
	ldr	x26, [x26, _FULLDUP_NTP_SHIFT@GOTPAGEOFF]
Lloh8:
	adrp	x27, _FULLDUP_RT_SHIFT@GOTPAGE
Lloh9:
	ldr	x27, [x27, _FULLDUP_RT_SHIFT@GOTPAGEOFF]
Lloh10:
	adrp	x28, _FULLDUP_NRP_SHIFT@GOTPAGE
Lloh11:
	ldr	x28, [x28, _FULLDUP_NRP_SHIFT@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh12:
	adrp	x8, _CSR_FULLDUP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CSR_FULLDUP@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w8, [x22]
	ldr	w9, [x25]
	mov	w10, #1
	lsl	w9, w10, w9
	orr	w8, w9, w8
	ldr	w9, [x26]
	lsl	w9, w20, w9
	orr	w8, w8, w9
	ldr	w9, [x27]
	lsl	w9, w21, w9
	orr	w8, w8, w9
	ldr	w9, [x28]
	lsl	w9, w21, w9
	orr	w2, w8, w9
	mov	x0, x19
	bl	_CSR_WRITE_4
	ldr	w1, [x24]
	mov	x0, x19
	bl	_CSR_READ_4
	mov	x23, x0
	ldr	w8, [x19]
	tst	w8, w0
	b.eq	LBB0_13
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w23, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x23
	bl	_CSR_WRITE_4
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh15:
	adrp	x8, _STATUS_UNF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _STATUS_UNF@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #12]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_device_printf
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #4]
	tst	w8, w23
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_fv_rx
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #8]
	tst	w8, w23
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_fv_tx
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh20:
	adrp	x8, _STATUS_AIS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _STATUS_AIS@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #12]
	str	x23, [sp]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_device_printf
	b	LBB0_2
LBB0_13:
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x20
	bl	_IFQ_DRV_IS_EMPTY
	cbnz	w0, LBB0_15
; %bb.14:
	mov	x0, x20
	bl	_fv_start_locked
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_FV_UNLOCK
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_CSR_STATUS,4,2                 ; @CSR_STATUS
	.comm	_STATUS_UNF,4,2                 ; @STATUS_UNF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Transmit Underflow\n"

	.comm	_STATUS_AIS,4,2                 ; @STATUS_AIS
l_.str.1:                               ; @.str.1
	.asciz	"Abnormal Interrupt %x\n"

	.comm	_CSR_FULLDUP,4,2                ; @CSR_FULLDUP
	.comm	_FULLDUP_CS,4,2                 ; @FULLDUP_CS
	.comm	_FULLDUP_TT_SHIFT,4,2           ; @FULLDUP_TT_SHIFT
	.comm	_FULLDUP_NTP_SHIFT,4,2          ; @FULLDUP_NTP_SHIFT
	.comm	_FULLDUP_RT_SHIFT,4,2           ; @FULLDUP_RT_SHIFT
	.comm	_FULLDUP_NRP_SHIFT,4,2          ; @FULLDUP_NRP_SHIFT
	.no_dead_strip	_fv_intr
.subsections_via_symbols
