	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function main_rec_hfcsx
_main_rec_hfcsx:                        ## @main_rec_hfcsx
	.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, %r14
	movq	24(%rdi), %r12
	leaq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$-4, %r13d
	movq	_FLG_LOCK_ATOMIC@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	%r12, %rsi
	callq	_test_and_set_bit
	movq	16(%r14), %rdx
	testq	%rax, %rax
	jne	LBB0_12
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 4(%r12)
	movq	_HFCSX_SEL_B2_RX@GOTPCREL(%rip), %rax
	je	LBB0_5
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_HFCSX_SEL_B1_RX@GOTPCREL(%rip), %rax
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rcx
	xorl	%edx, %edx
	movq	_L1_MODE_TRANS@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_HFCSX_BTRANS_THRESHOLD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_read_fifo
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_skb_queue_tail
	movq	_B_RCVBUFREADY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_schedule_event
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %edi
	movq	%r12, %rsi
	callq	_test_and_clear_bit
	testl	%r13d, %r13d
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	incl	%r13d
	testq	%rbx, %rbx
	jne	LBB0_1
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_debugl1                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FLG_LOCK_ATOMIC,4,2            ## @FLG_LOCK_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rec_data %d blocked"

	.comm	_HFCSX_SEL_B2_RX,4,2            ## @HFCSX_SEL_B2_RX
	.comm	_HFCSX_SEL_B1_RX,4,2            ## @HFCSX_SEL_B1_RX
	.comm	_L1_MODE_TRANS,8,3              ## @L1_MODE_TRANS
	.comm	_HFCSX_BTRANS_THRESHOLD,4,2     ## @HFCSX_BTRANS_THRESHOLD
	.comm	_B_RCVBUFREADY,4,2              ## @B_RCVBUFREADY
	.no_dead_strip	_main_rec_hfcsx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function main_rec_hfcsx
_main_rec_hfcsx:                        ; @main_rec_hfcsx
	.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	x20, x0
	ldr	x19, [x0, #24]
	add	x21, x0, #8
	mov	w23, #-4
Lloh0:
	adrp	x24, _FLG_LOCK_ATOMIC@GOTPAGE
Lloh1:
	ldr	x24, [x24, _FLG_LOCK_ATOMIC@GOTPAGEOFF]
Lloh2:
	adrp	x25, _HFCSX_SEL_B1_RX@GOTPAGE
Lloh3:
	ldr	x25, [x25, _HFCSX_SEL_B1_RX@GOTPAGEOFF]
Lloh4:
	adrp	x26, _L1_MODE_TRANS@GOTPAGE
Lloh5:
	ldr	x26, [x26, _L1_MODE_TRANS@GOTPAGEOFF]
Lloh6:
	adrp	x27, _HFCSX_BTRANS_THRESHOLD@GOTPAGE
Lloh7:
	ldr	x27, [x27, _HFCSX_BTRANS_THRESHOLD@GOTPAGEOFF]
Lloh8:
	adrp	x28, _B_RCVBUFREADY@GOTPAGE
Lloh9:
	ldr	x28, [x28, _B_RCVBUFREADY@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	mov	x1, x19
	bl	_test_and_set_bit
	ldr	x2, [x20, #16]
	cbnz	x0, LBB0_11
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cbz	x2, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x8, x25
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
Lloh10:
	adrp	x8, _HFCSX_SEL_B2_RX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HFCSX_SEL_B2_RX@GOTPAGEOFF]
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x8]
	ldr	x8, [x20]
	ldr	x9, [x26]
	ldr	w10, [x27]
	cmp	x8, x9
	csel	w2, w10, wzr, eq
	mov	x0, x19
	bl	_read_fifo
	mov	x22, x0
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_skb_queue_tail
	ldr	w1, [x28]
	mov	x0, x20
	bl	_schedule_event
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x24]
	mov	x1, x19
	bl	_test_and_clear_bit
	cbz	w23, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w23, w23, #1
	cbnz	x22, LBB0_1
LBB0_10:
	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
LBB0_11:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	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
	b	_debugl1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FLG_LOCK_ATOMIC,4,2            ; @FLG_LOCK_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rec_data %d blocked"

	.comm	_HFCSX_SEL_B2_RX,4,2            ; @HFCSX_SEL_B2_RX
	.comm	_HFCSX_SEL_B1_RX,4,2            ; @HFCSX_SEL_B1_RX
	.comm	_L1_MODE_TRANS,8,3              ; @L1_MODE_TRANS
	.comm	_HFCSX_BTRANS_THRESHOLD,4,2     ; @HFCSX_BTRANS_THRESHOLD
	.comm	_B_RCVBUFREADY,4,2              ; @B_RCVBUFREADY
	.no_dead_strip	_main_rec_hfcsx
.subsections_via_symbols
