	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rsi
	movslq	16(%rdi), %rdx
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_pr_debug
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.1:
	movq	24(%rbx), %rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mI_alloc_skb
	movq	%rax, %rdi
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	movq	(%rdi), %rdx
	addq	%r14, %rdx
	cmpq	24(%rbx), %rdx
	jle	LBB0_6
## %bb.5:
	movq	8(%rbx), %rax
	movq	(%rax), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	40(%rbx), %rdi
	xorl	%esi, %esi
	callq	_skb_trim
	jmp	LBB0_3
LBB0_6:
	movq	%r14, %rsi
	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_7
## %bb.8:
	movq	_IPACX_RFIFOB@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	jmp	LBB0_9
LBB0_7:
	xorl	%esi, %esi
LBB0_9:
	addq	48(%rbx), %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	*16(%rax)
	movq	%rbx, %rdi
	movl	$128, %esi
	callq	_hscx_cmdr
	movq	_DEBUG_HW_BFIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 32(%rbx)
	je	LBB0_10
## %bb.11:
	movl	(%rbx), %edi
	movl	16(%rbx), %ecx
	movq	8(%rbx), %rax
	movq	(%rax), %r8
	leaq	L_.str.3(%rip), %rdx
	movl	$64, %esi
	movq	%r14, %r9
	callq	_snprintf
	movl	(%rbx), %edi
	movq	_DUMP_PREFIX_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_print_hex_dump_bytes           ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rbx), %rax
	movq	(%rax), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_info
LBB0_3:
	movq	%rbx, %rdi
	movl	$128, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hscx_cmdr                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: B%1d %d\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.1:                               ## @.str.1
	.asciz	"%s: B receive out of memory\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: overrun %d\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.3:                               ## @.str.3
	.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:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x1, [x8]
	ldrsw	x2, [x0, #16]
	str	x20, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	x0, [x19, #40]
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x19, #24]
Lloh2:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_mI_alloc_skb
	str	x0, [x19, #40]
	cbz	x0, LBB0_7
LBB0_2:
	ldr	x8, [x0]
	ldr	x9, [x19, #24]
	add	x2, x8, x20
	cmp	x2, x9
	b.le	LBB0_4
; %bb.3:
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
	ldr	x0, [x19, #40]
	mov	w1, #0
	bl	_skb_trim
	b	LBB0_8
LBB0_4:
	mov	x1, x20
	bl	_skb_put
	mov	x21, x0
Lloh7:
	adrp	x8, _IPAC_TYPE_IPACX@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IPAC_TYPE_IPACX@GOTPAGEOFF]
	ldr	x9, [x19, #8]
Lloh9:
	ldr	w8, [x8]
	ldr	x10, [x9, #16]
	ldp	w11, w0, [x9, #8]
	ldr	x9, [x19, #48]
Lloh10:
	adrp	x12, _IPACX_RFIFOB@GOTPAGE
Lloh11:
	ldr	x12, [x12, _IPACX_RFIFOB@GOTPAGEOFF]
Lloh12:
	ldr	x12, [x12]
	tst	w8, w11
	csel	x8, xzr, x12, eq
	add	x1, x9, x8
	mov	x2, x21
	mov	x3, x20
	blr	x10
	mov	x0, x19
	mov	w1, #128
	bl	_hscx_cmdr
	ldr	w8, [x19, #32]
Lloh13:
	adrp	x9, _DEBUG_HW_BFIFO@GOTPAGE
Lloh14:
	ldr	x9, [x9, _DEBUG_HW_BFIFO@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	w0, [x19]
	ldr	w3, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	x4, [x8]
Lloh16:
	adrp	x2, l_.str.3@PAGE
Lloh17:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w1, #64
	mov	x5, x20
	bl	_snprintf
Lloh18:
	adrp	x8, _DUMP_PREFIX_OFFSET@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DUMP_PREFIX_OFFSET@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh20:
	ldr	w1, [x8]
	mov	x2, x21
	mov	x3, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_print_hex_dump_bytes
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_info
LBB0_8:
	mov	x0, x19
	mov	w1, #128
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_hscx_cmdr
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: B%1d %d\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.1:                               ; @.str.1
	.asciz	"%s: B receive out of memory\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: overrun %d\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.3:                               ; @.str.3
	.asciz	"B%1d-recv %s %d "

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