	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hscx_empty_fifo
_hscx_empty_fifo:                       ## @hscx_empty_fifo
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rsi
	movl	16(%rdi), %edx
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %ecx
	callq	_pr_debug
	movq	_FLG_RX_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	40(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_1
## %bb.10:
	addl	%r14d, 20(%rbx)
	movq	%rbx, %rdi
	movl	$128, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hscx_cmdr                      ## TAILCALL
LBB0_1:
	leaq	16(%rbx), %rdi
	movl	%r14d, %esi
	callq	_bchannel_get_rxbuf
	testl	%eax, %eax
	js	LBB0_2
## %bb.5:
	movq	32(%rbx), %rdi
	movl	%r14d, %esi
	callq	_skb_put
	movq	%rax, %r15
	movq	8(%rbx), %rax
	movq	_IPAC_TYPE_IPACX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	12(%rax), %edi
	andl	8(%rax), %ecx
	je	LBB0_6
## %bb.7:
	movq	_IPACX_RFIFOB@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	jmp	LBB0_8
LBB0_2:
	movq	%rbx, %rdi
	movl	$128, %esi
	callq	_hscx_cmdr
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	xorl	%esi, %esi
	callq	_skb_trim
LBB0_4:
	movq	8(%rbx), %rax
	movq	(%rax), %rsi
	movl	16(%rbx), %edx
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_warning                     ## TAILCALL
LBB0_6:
	xorl	%esi, %esi
LBB0_8:
	addq	48(%rbx), %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	*16(%rax)
	movq	%rbx, %rdi
	movl	$128, %esi
	callq	_hscx_cmdr
	movq	_DEBUG_HW_BFIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 24(%rbx)
	je	LBB0_9
## %bb.11:
	movl	(%rbx), %edi
	movl	16(%rbx), %ecx
	movq	8(%rbx), %rax
	movq	(%rax), %r8
	leaq	L_.str.2(%rip), %rdx
	movl	$64, %esi
	movl	%r14d, %r9d
	callq	_snprintf
	movl	(%rbx), %edi
	movq	_DUMP_PREFIX_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_print_hex_dump_bytes           ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: B%1d %d\n"

	.comm	_FLG_RX_OFF,4,2                 ## @FLG_RX_OFF
L_.str.1:                               ## @.str.1
	.asciz	"%s.B%d: No bufferspace for %d bytes\n"

	.comm	_IPAC_TYPE_IPACX,4,2            ## @IPAC_TYPE_IPACX
	.comm	_IPACX_RFIFOB,8,3               ## @IPACX_RFIFOB
	.comm	_DEBUG_HW_BFIFO,4,2             ## @DEBUG_HW_BFIFO
L_.str.2:                               ## @.str.2
	.asciz	"B%1d-recv %s %d "

	.comm	_DUMP_PREFIX_OFFSET,4,2         ## @DUMP_PREFIX_OFFSET
	.no_dead_strip	_hscx_empty_fifo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hscx_empty_fifo
_hscx_empty_fifo:                       ; @hscx_empty_fifo
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x21, x0
	ldr	w2, [x21, #16]!
	ldur	x8, [x21, #-8]
	ldr	x1, [x8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x3, x19
	bl	_pr_debug
Lloh2:
	adrp	x8, _FLG_RX_OFF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FLG_RX_OFF@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, x21, #24
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x20, #20]
	add	w8, w8, w19
	str	w8, [x20, #20]
	mov	x0, x20
	mov	w1, #128
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_hscx_cmdr
LBB0_2:
	mov	x0, x21
	mov	x1, x19
	bl	_bchannel_get_rxbuf
	tbnz	w0, #31, LBB0_5
; %bb.3:
	ldr	x0, [x20, #32]
	mov	x1, x19
	bl	_skb_put
	mov	x21, x0
Lloh5:
	adrp	x8, _IPAC_TYPE_IPACX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IPAC_TYPE_IPACX@GOTPAGEOFF]
	ldr	x9, [x20, #8]
Lloh7:
	ldr	w8, [x8]
	ldr	x10, [x9, #16]
	ldp	w11, w0, [x9, #8]
	ldr	x9, [x20, #48]
Lloh8:
	adrp	x12, _IPACX_RFIFOB@GOTPAGE
Lloh9:
	ldr	x12, [x12, _IPACX_RFIFOB@GOTPAGEOFF]
Lloh10:
	ldr	x12, [x12]
	tst	w8, w11
	csel	x8, xzr, x12, eq
	add	x1, x9, x8
	mov	x2, x21
	mov	x3, x19
	blr	x10
	mov	x0, x20
	mov	w1, #128
	bl	_hscx_cmdr
	ldr	w8, [x20, #24]
Lloh11:
	adrp	x9, _DEBUG_HW_BFIFO@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DEBUG_HW_BFIFO@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.4:
	ldr	w0, [x20]
	ldr	w3, [x20, #16]
	ldr	x8, [x20, #8]
	ldr	x4, [x8]
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #64
	mov	x5, x19
	bl	_snprintf
Lloh16:
	adrp	x8, _DUMP_PREFIX_OFFSET@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DUMP_PREFIX_OFFSET@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh18:
	ldr	w1, [x8]
	mov	x2, x21
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_print_hex_dump_bytes
LBB0_5:
	mov	x0, x20
	mov	w1, #128
	bl	_hscx_cmdr
	ldr	x0, [x20, #32]
	cbz	x0, LBB0_7
; %bb.6:
	mov	w1, #0
	bl	_skb_trim
LBB0_7:
	ldr	x8, [x20, #8]
	ldr	x1, [x8]
	ldr	w2, [x20, #16]
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pr_warning
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: B%1d %d\n"

	.comm	_FLG_RX_OFF,4,2                 ; @FLG_RX_OFF
l_.str.1:                               ; @.str.1
	.asciz	"%s.B%d: No bufferspace for %d bytes\n"

	.comm	_IPAC_TYPE_IPACX,4,2            ; @IPAC_TYPE_IPACX
	.comm	_IPACX_RFIFOB,8,3               ; @IPACX_RFIFOB
	.comm	_DEBUG_HW_BFIFO,4,2             ; @DEBUG_HW_BFIFO
l_.str.2:                               ; @.str.2
	.asciz	"B%1d-recv %s %d "

	.comm	_DUMP_PREFIX_OFFSET,4,2         ; @DUMP_PREFIX_OFFSET
	.no_dead_strip	_hscx_empty_fifo
.subsections_via_symbols
