	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fifo_irq
_fifo_irq:                              ## @fifo_irq
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_R_IRQ_FIFO_BL0@GOTPCREL(%rip), %rax
	movslq	%esi, %rbx
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	callq	_HFC_inb_nodebug
	movq	%r14, %rdx
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	shll	$2, %ebx
	movslq	%ebx, %rax
	shlq	$2, %rax
	leaq	(%rax,%rax,2), %r15
	orq	$8, %r15
	xorl	%r14d, %r14d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	2(%r14), %rax
	addq	$12, %r15
	incl	%ebx
	cmpq	$6, %r14
	movq	%rax, %r14
	jae	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rax
	movq	-8(%rax,%r15,2), %r12
	movq	(%rax,%r15,2), %r13
	testq	%r13, %r13
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testq	%r12, %r12
	je	LBB0_4
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rdx), %rcx
	movq	-16(%rax,%r15,2), %rax
	cmpl	$0, (%rcx,%rax,4)
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	testq	%r13, %r13
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	btl	%r14d, %eax
	jae	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_FLG_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_hfcmulti_tx
	movq	_R_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_HFC_outb_nodebug
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_HFC_wait_nodebug
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	testq	%r12, %r12
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	btl	%r14d, %eax
	jae	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_FLG_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_bit
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_hfcmulti_tx
	movq	_R_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_HFC_outb_nodebug
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_HFC_wait_nodebug
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	testq	%r13, %r13
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%r14), %eax
	movzbl	%al, %eax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	btl	%eax, %ecx
	jae	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_FLG_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_hfcmulti_rx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	testq	%r12, %r12
	je	LBB0_4
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%r14), %eax
	movzbl	%al, %eax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	btl	%eax, %ecx
	jae	LBB0_4
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_FLG_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_bit
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_4
## %bb.21:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_hfcmulti_rx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R_IRQ_FIFO_BL0,8,3             ## @R_IRQ_FIFO_BL0
	.comm	_FLG_ACTIVE,4,2                 ## @FLG_ACTIVE
	.comm	_R_FIFO,4,2                     ## @R_FIFO
	.no_dead_strip	_fifo_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fifo_irq
_fifo_irq:                              ; @fifo_irq
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _R_IRQ_FIFO_BL0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R_IRQ_FIFO_BL0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x1, x8, w1, sxtw
	bl	_HFC_inb_nodebug
	mov	x20, x0
	mov	x24, #0
	lsl	w21, w21, #2
	mov	w8, #24
	smull	x25, w21, w8
Lloh3:
	adrp	x26, _FLG_ACTIVE@GOTPAGE
Lloh4:
	ldr	x26, [x26, _FLG_ACTIVE@GOTPAGEOFF]
Lloh5:
	adrp	x27, _R_FIFO@GOTPAGE
Lloh6:
	ldr	x27, [x27, _R_FIFO@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x24, #2
	add	x25, x25, #24
	add	w21, w21, #1
	cmp	x24, #6
	mov	x24, x8
	b.hs	LBB0_20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x9, x8, x25
	ldp	x22, x23, [x9, #8]
	cmp	x23, #0
	ccmp	x22, #0, #0, eq
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x19, #8]
	ldr	x8, [x8, x25]
	ldr	w8, [x9, x8, lsl #2]
	cbz	w8, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	x23, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	lsr	w8, w20, w24
	tbz	w8, #0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x26]
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_hfcmulti_tx
	ldr	w1, [x27]
	mov	x0, x19
	mov	w2, #0
	bl	_HFC_outb_nodebug
	mov	x0, x19
	bl	_HFC_wait_nodebug
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	x22, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	lsr	w8, w20, w24
	tbz	w8, #0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x26]
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_hfcmulti_tx
	ldr	w1, [x27]
	mov	x0, x19
	mov	w2, #0
	bl	_HFC_outb_nodebug
	mov	x0, x19
	bl	_HFC_wait_nodebug
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	x23, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w24, #1
	lsr	w8, w20, w8
	tbz	w8, #0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x26]
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_hfcmulti_rx
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	x22, LBB0_1
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w24, #1
	lsr	w8, w20, w8
	tbz	w8, #0, LBB0_1
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x26]
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_1
; %bb.19:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_hfcmulti_rx
	b	LBB0_1
LBB0_20:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_R_IRQ_FIFO_BL0,8,3             ; @R_IRQ_FIFO_BL0
	.comm	_FLG_ACTIVE,4,2                 ; @FLG_ACTIVE
	.comm	_R_FIFO,4,2                     ; @R_FIFO
	.no_dead_strip	_fifo_irq
.subsections_via_symbols
