	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hfcpci_fill_fifo
_hfcpci_fill_fifo:                      ## @hfcpci_fill_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	24(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_42
## %bb.1:
	cmpl	$0, (%rax)
	jle	LBB0_42
## %bb.2:
	movq	%rdi, %rbx
	movq	64(%rdi), %r12
	movq	48(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.3:
	cmpl	$0, 16(%r12)
	je	LBB0_4
LBB0_5:
	movq	8(%r12), %rax
	leaq	16(%rax), %r13
	addq	$8, %rax
	jmp	LBB0_6
LBB0_4:
	movq	8(%r12), %rax
	leaq	40(%rax), %r13
LBB0_6:
	movq	(%rax), %r15
	movq	(%rbx), %rax
	movq	_L1_MODE_TRANS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jne	LBB0_23
## %bb.7:
	movq	16(%r13), %r13
	movq	_MAX_B_FRAMES@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_L1_DEB_HSCX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_9
## %bb.8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movzwl	(%r13,%rax,8), %ecx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movzwl	2(%r13,%rax,8), %r8d
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_debugl1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_9:
	movzwl	2(%r13,%rcx,8), %eax
	movzwl	(%r13,%rcx,8), %ecx
	subl	%ecx, %eax
	movq	_B_FIFO_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%edx, %edx
	testl	%eax, %eax
	movl	%esi, %ecx
	cmovgl	%edx, %ecx
	addl	%eax, %ecx
	subl	%ecx, %esi
	movq	_HFCPCI_BTRANS_THRESHOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	cmpl	%eax, %esi
	jge	LBB0_22
## %bb.10:
	leaq	32(%rbx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	56(%rbx), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	24(%rbx), %rax
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	24(%rbx), %rdi
	callq	_dev_kfree_skb_any
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_dequeue
	movq	%rax, 24(%rbx)
	movq	_HFCPCI_BTRANS_THRESHOLD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, %ecx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	cmpl	%ecx, %esi
	jge	LBB0_22
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	je	LBB0_22
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%rax), %r14d
	movq	_B_FIFO_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	subl	%esi, %edx
	cmpl	%edx, %r14d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	jge	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movzwl	(%r13,%rdx,8), %edx
	leal	(%r14,%rdx), %r13d
	movq	_B_SUB_VAL@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	leal	(%rsi,%rcx), %ebx
	cmpl	%ebx, %r13d
	movl	$0, %edi
	cmovll	%edi, %ecx
	subl	%ecx, %r13d
	movq	8(%rax), %r12
	subl	%edx, %ebx
	subq	%rsi, %rdx
	leaq	(%r15,%rdx,8), %rdi
	cmpl	%r14d, %ebx
	movl	%r14d, %r15d
	cmovll	%ebx, %r15d
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	cmpl	%ebx, %r14d
	jle	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	subl	%r15d, %r14d
	movslq	%r15d, %rax
	leaq	(%r12,%rax,8), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_memcpy
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	24(%rbx), %rax
	movl	(%rax), %eax
	subl	%eax, 8(%rbx)
	addl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movw	%r13w, (%rcx,%rax,8)
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	%rcx, %r13
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_L1_DEB_HSCX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	48(%rbx), %rdx
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_debugl1
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_FLG_LLI_L1WAKEUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	40(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_PACKET_NOACK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%rbx), %rcx
	cmpq	16(%rcx), %rax
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	24(%rbx), %rax
	movl	(%rax), %eax
	addl	%eax, 12(%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	_B_ACKPENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_schedule_event
	jmp	LBB0_21
LBB0_23:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	_L1_DEB_HSCX@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, (%r12)
	je	LBB0_25
## %bb.24:
	movq	(%r13), %rcx
	movl	8(%r13), %r8d
	movq	16(%r13), %rax
	movzwl	(%rax,%rcx,8), %r9d
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_debugl1
LBB0_25:
	movq	(%r13), %rcx
	movslq	8(%r13), %rax
	movl	%ecx, %ebx
	subl	%eax, %ebx
	movq	_MAX_B_FRAMES@GOTPCREL(%rip), %r8
	movq	(%r8), %rsi
	leal	1(%rsi), %edi
	movl	%ebx, %edx
	sarl	$31, %edx
	andl	%edi, %edx
	addl	%ebx, %edx
	movslq	%edx, %rdx
	decq	%rsi
	cmpq	%rdx, %rsi
	jae	LBB0_29
## %bb.26:
	movl	(%r14), %eax
	testl	%eax, (%r12)
	je	LBB0_42
## %bb.27:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	jmp	LBB0_28
LBB0_29:
	movq	%r12, %r15
	movq	16(%r13), %rdx
	movzwl	(%rdx,%rcx,8), %ecx
	notl	%ecx
	addl	4(%rdx,%rax,8), %ecx
	movq	_B_FIFO_SIZE@GOTPCREL(%rip), %rdx
	xorl	%r12d, %r12d
	testl	%ecx, %ecx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jg	LBB0_31
## %bb.30:
	movl	(%rdx), %r12d
LBB0_31:
	addl	%ecx, %r12d
	movl	(%r14), %eax
	testl	%eax, (%r15)
	je	LBB0_33
## %bb.32:
	movq	%r15, %rdi
	movq	24(%rbx), %rax
	movq	48(%rbx), %rdx
	movl	(%rax), %ecx
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %r9d
	leaq	L_.str.4(%rip), %rsi
	movq	%r8, %r14
	movl	%r12d, %r8d
	xorl	%eax, %eax
	callq	_debugl1
	movq	_B_FIFO_SIZE@GOTPCREL(%rip), %rdx
	movq	%r14, %r8
LBB0_33:
	movq	24(%rbx), %rax
	movl	(%rax), %r14d
	cmpl	%r14d, %r12d
	jge	LBB0_36
## %bb.34:
	movq	_L1_DEB_HSCX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_42
## %bb.35:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
LBB0_28:
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_debugl1                        ## TAILCALL
LBB0_42:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	movq	(%r13), %r15
	movq	16(%r13), %rcx
	movzwl	(%rcx,%r15,8), %ecx
	leal	(%r14,%rcx), %edi
	movl	(%rdx), %edx
	movq	_B_SUB_VAL@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %r9
	leal	(%r9,%rdx), %ebx
	xorl	%esi, %esi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	cmpl	%ebx, %edi
	cmovgel	%edx, %esi
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	incq	%r15
	andq	(%r8), %r15
	movq	8(%rax), %rsi
	subl	%ecx, %ebx
	subq	%r9, %rcx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rcx,8), %rdi
	cmpl	%r14d, %ebx
	movl	%r14d, %r12d
	cmovll	%ebx, %r12d
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edx
	callq	_memcpy
	cmpl	%ebx, %r14d
	jle	LBB0_38
## %bb.37:
	subl	%r12d, %r14d
	movslq	%r12d, %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_memcpy
LBB0_38:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	24(%rbx), %rax
	movq	40(%rbx), %rsi
	movl	(%rax), %eax
	subl	%eax, 8(%rbx)
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	subl	-56(%rbp), %r12d                ## 4-byte Folded Reload
	movq	_FLG_LLI_L1WAKEUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_41
## %bb.39:
	movq	_PACKET_NOACK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%rbx), %rcx
	cmpq	16(%rcx), %rax
	je	LBB0_41
## %bb.40:
	leaq	32(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	24(%rbx), %rax
	movl	(%rax), %eax
	addl	%eax, 12(%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	_B_ACKPENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_schedule_event
LBB0_41:
	movq	16(%r13), %rax
	movw	%r12w, (%rax,%r15,8)
	movq	%r15, (%r13)
	movq	24(%rbx), %rdi
	callq	_dev_kfree_skb_any
	movq	$0, 24(%rbx)
LBB0_22:
	movq	_BC_FLG_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$16, %rbx
	movq	%rbx, %rsi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_test_and_clear_bit             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_L1_MODE_TRANS,8,3              ## @L1_MODE_TRANS
	.comm	_MAX_B_FRAMES,8,3               ## @MAX_B_FRAMES
	.comm	_L1_DEB_HSCX,4,2                ## @L1_DEB_HSCX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hfcpci_fill_fifo_trans %d z1(%x) z2(%x)"

	.comm	_B_FIFO_SIZE,4,2                ## @B_FIFO_SIZE
	.comm	_HFCPCI_BTRANS_THRESHOLD,4,2    ## @HFCPCI_BTRANS_THRESHOLD
	.comm	_B_SUB_VAL,4,2                  ## @B_SUB_VAL
L_.str.1:                               ## @.str.1
	.asciz	"hfcpci_fill_fifo_trans %d frame length %d discarded"

	.comm	_FLG_LLI_L1WAKEUP,4,2           ## @FLG_LLI_L1WAKEUP
	.comm	_PACKET_NOACK,8,3               ## @PACKET_NOACK
	.comm	_B_ACKPENDING,4,2               ## @B_ACKPENDING
	.comm	_BC_FLG_BUSY,4,2                ## @BC_FLG_BUSY
L_.str.2:                               ## @.str.2
	.asciz	"hfcpci_fill_fifo_hdlc %d f1(%d) f2(%d) z1(f1)(%x)"

L_.str.3:                               ## @.str.3
	.asciz	"hfcpci_fill_Bfifo more as 14 frames"

L_.str.4:                               ## @.str.4
	.asciz	"hfcpci_fill_fifo %d count(%ld/%d),%lx"

	.comm	_current,8,3                    ## @current
L_.str.5:                               ## @.str.5
	.asciz	"hfcpci_fill_fifo no fifo mem"

	.no_dead_strip	_hfcpci_fill_fifo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hfcpci_fill_fifo
_hfcpci_fill_fifo:                      ; @hfcpci_fill_fifo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_33
; %bb.1:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_33
; %bb.2:
	mov	x19, x0
	ldr	x20, [x0, #64]
	ldr	x8, [x0, #48]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w9, [x20, #16]
	cbz	w9, LBB0_5
LBB0_4:
	ldr	x9, [x20, #8]
	add	x23, x9, #16
	add	x9, x9, #8
	b	LBB0_6
LBB0_5:
	ldr	x9, [x20, #8]
	add	x23, x9, #40
LBB0_6:
	ldr	x22, [x9]
	ldr	x9, [x19]
Lloh0:
	adrp	x10, _L1_MODE_TRANS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _L1_MODE_TRANS@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_22
; %bb.7:
	ldr	x9, [x23, #16]
Lloh3:
	adrp	x10, _MAX_B_FRAMES@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MAX_B_FRAMES@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x25, x9, x10, lsl #3
	ldr	w9, [x20]
Lloh6:
	adrp	x10, _L1_DEB_HSCX@GOTPAGE
Lloh7:
	ldr	x10, [x10, _L1_DEB_HSCX@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_9
; %bb.8:
	ldrh	w9, [x25]
	ldrh	w10, [x25, #2]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_debugl1
LBB0_9:
	ldrh	w8, [x25, #2]
	ldrh	w9, [x25]
	sub	w8, w8, w9
Lloh11:
	adrp	x21, _B_FIFO_SIZE@GOTPAGE
Lloh12:
	ldr	x21, [x21, _B_FIFO_SIZE@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	w8, #0
	csel	w10, wzr, w9, gt
	add	w8, w8, w10
	sub	w28, w9, w8
Lloh13:
	adrp	x23, _HFCPCI_BTRANS_THRESHOLD@GOTPAGE
Lloh14:
	ldr	x23, [x23, _HFCPCI_BTRANS_THRESHOLD@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w28, w8, lsl #1
	b.ge	LBB0_40
; %bb.10:
	add	x8, x19, #32
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	add	x26, x19, #56
	ldr	x0, [x19, #24]
Lloh15:
	adrp	x27, _FLG_LLI_L1WAKEUP@GOTPAGE
Lloh16:
	ldr	x27, [x27, _FLG_LLI_L1WAKEUP@GOTPAGEOFF]
	str	x26, [sp, #40]                  ; 8-byte Folded Spill
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x19, #24]
	bl	_dev_kfree_skb_any
	mov	x0, x26
	bl	_skb_dequeue
	str	x0, [x19, #24]
	ldr	w8, [x23]
	cmp	w28, w8, lsl #1
	b.ge	LBB0_40
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	cbz	x0, LBB0_40
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w24, [x0]
	ldr	w8, [x21]
	sub	w9, w8, w28
	cmp	w24, w9
	b.ge	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x23, x20
	ldrh	w9, [x25]
	add	w10, w24, w9
Lloh17:
	adrp	x11, _B_SUB_VAL@GOTPAGE
Lloh18:
	ldr	x11, [x11, _B_SUB_VAL@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
	add	w12, w11, w8
	cmp	w10, w12
	csel	w8, wzr, w8, lt
	sub	w21, w10, w8
	mov	x27, x25
	ldr	x25, [x0, #8]
	sub	w8, w9, w11
	add	x0, x22, w8, sxtw #3
	mov	x20, x22
	sub	w22, w12, w9
	cmp	w22, w24
	csel	w26, w22, w24, lt
	mov	x1, x25
	mov	x2, x26
	bl	_memcpy
	cmp	w24, w22
	mov	x22, x20
	b.le	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	sub	w2, w24, w26
	add	x1, x25, w26, sxtw #3
	mov	x0, x22
	bl	_memcpy
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	sub	w9, w9, w8
	str	w9, [x19, #8]
	add	w28, w8, w28
	strh	w21, [x27]
	mov	x20, x23
Lloh20:
	adrp	x21, _B_FIFO_SIZE@GOTPAGE
Lloh21:
	ldr	x21, [x21, _B_FIFO_SIZE@GOTPAGEOFF]
	mov	x25, x27
Lloh22:
	adrp	x23, _HFCPCI_BTRANS_THRESHOLD@GOTPAGE
Lloh23:
	ldr	x23, [x23, _HFCPCI_BTRANS_THRESHOLD@GOTPAGEOFF]
	ldr	x26, [sp, #40]                  ; 8-byte Folded Reload
Lloh24:
	adrp	x27, _FLG_LLI_L1WAKEUP@GOTPAGE
Lloh25:
	ldr	x27, [x27, _FLG_LLI_L1WAKEUP@GOTPAGEOFF]
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x20]
Lloh26:
	adrp	x9, _L1_DEB_HSCX@GOTPAGE
Lloh27:
	ldr	x9, [x9, _L1_DEB_HSCX@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19, #48]
	stp	x8, x24, [sp]
	mov	x0, x20
Lloh29:
	adrp	x1, l_.str.1@PAGE
Lloh30:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_debugl1
LBB0_19:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x27]
	ldr	x1, [x19, #40]
	bl	_test_bit
	cbz	x0, LBB0_11
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=1
Lloh31:
	adrp	x8, _PACKET_NOACK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PACKET_NOACK@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	ldr	x9, [x19, #24]
	ldr	x9, [x9, #16]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.21:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x24, [sp, #32]                  ; 8-byte Folded Reload
	mov	x0, x24
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	add	w8, w9, w8
	str	w8, [x19, #12]
	mov	x0, x24
	bl	_spin_unlock_irqrestore
Lloh34:
	adrp	x8, _B_ACKPENDING@GOTPAGE
Lloh35:
	ldr	x8, [x8, _B_ACKPENDING@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_schedule_event
	b	LBB0_11
LBB0_22:
	mov	x28, x22
	ldr	w9, [x20]
Lloh37:
	adrp	x21, _L1_DEB_HSCX@GOTPAGE
Lloh38:
	ldr	x21, [x21, _L1_DEB_HSCX@GOTPAGEOFF]
	ldr	w10, [x21]
	tst	w10, w9
	b.eq	LBB0_24
; %bb.23:
	ldr	x9, [x23]
	ldr	x10, [x23, #16]
	lsl	x11, x9, #3
	ldrh	w10, [x10, x11]
	ldr	w11, [x23, #8]
	stp	x11, x10, [sp, #16]
	stp	x8, x9, [sp]
Lloh39:
	adrp	x1, l_.str.2@PAGE
Lloh40:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_debugl1
LBB0_24:
	ldr	x8, [x23]
	ldrsw	x9, [x23, #8]
Lloh41:
	adrp	x22, _MAX_B_FRAMES@GOTPAGE
Lloh42:
	ldr	x22, [x22, _MAX_B_FRAMES@GOTPAGEOFF]
	ldr	x10, [x22]
	add	w11, w10, #1
	sub	w12, w8, w9
	and	w11, w11, w12, asr #31
	add	w11, w11, w12
	sub	x10, x10, #1
	cmp	x10, w11, sxtw
	b.hs	LBB0_27
; %bb.25:
	ldr	w8, [x20]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_33
; %bb.26:
Lloh43:
	adrp	x1, l_.str.3@PAGE
Lloh44:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_32
LBB0_27:
	ldr	x10, [x23, #16]
	add	x9, x10, x9, lsl #3
	lsl	x8, x8, #3
	ldrh	w8, [x10, x8]
	ldr	w9, [x9, #4]
	mvn	w8, w8
	add	w8, w9, w8
Lloh45:
	adrp	x24, _B_FIFO_SIZE@GOTPAGE
Lloh46:
	ldr	x24, [x24, _B_FIFO_SIZE@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	w8, #0
	csel	w9, wzr, w9, gt
	add	w26, w9, w8
	ldr	w8, [x20]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.28:
	ldr	x8, [x19, #48]
	ldr	x9, [x19, #24]
Lloh47:
	adrp	x10, _current@GOTPAGE
Lloh48:
	ldr	x10, [x10, _current@GOTPAGEOFF]
Lloh49:
	ldr	x10, [x10]
	ldr	w9, [x9]
	ldr	w10, [x10]
	stp	x26, x10, [sp, #16]
	stp	x8, x9, [sp]
Lloh50:
	adrp	x1, l_.str.4@PAGE
Lloh51:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_debugl1
LBB0_29:
	ldr	x8, [x19, #24]
	ldr	w25, [x8]
	cmp	w26, w25
	b.ge	LBB0_34
; %bb.30:
	ldr	w8, [x20]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_33
; %bb.31:
Lloh52:
	adrp	x1, l_.str.5@PAGE
Lloh53:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_32:
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_debugl1
LBB0_33:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_34:
	ldr	x9, [x23, #16]
	ldr	x10, [x23]
	lsl	x11, x10, #3
	ldrh	w9, [x9, x11]
	add	w26, w25, w9
	ldr	w11, [x24]
Lloh54:
	adrp	x12, _B_SUB_VAL@GOTPAGE
Lloh55:
	ldr	x12, [x12, _B_SUB_VAL@GOTPAGEOFF]
Lloh56:
	ldr	w12, [x12]
	add	w13, w12, w11
	cmp	w26, w13
	csel	w24, wzr, w11, lt
	add	x10, x10, #1
	ldr	x11, [x22]
	and	x21, x11, x10
	ldr	x20, [x8, #8]
	sub	w8, w9, w12
	add	x0, x28, w8, sxtw #3
	sub	w27, w13, w9
	cmp	w27, w25
	csel	w22, w27, w25, lt
	mov	x1, x20
	mov	x2, x22
	bl	_memcpy
	cmp	w25, w27
	b.le	LBB0_36
; %bb.35:
	sub	w2, w25, w22
	add	x1, x20, w22, sxtw #3
	mov	x0, x28
	bl	_memcpy
LBB0_36:
	sub	w22, w26, w24
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	sub	w8, w9, w8
	str	w8, [x19, #8]
Lloh57:
	adrp	x8, _FLG_LLI_L1WAKEUP@GOTPAGE
Lloh58:
	ldr	x8, [x8, _FLG_LLI_L1WAKEUP@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x8]
	ldr	x1, [x19, #40]
	bl	_test_bit
	cbz	x0, LBB0_39
; %bb.37:
Lloh60:
	adrp	x8, _PACKET_NOACK@GOTPAGE
Lloh61:
	ldr	x8, [x8, _PACKET_NOACK@GOTPAGEOFF]
Lloh62:
	ldr	x8, [x8]
	ldr	x9, [x19, #24]
	ldr	x9, [x9, #16]
	cmp	x8, x9
	b.eq	LBB0_39
; %bb.38:
	add	x20, x19, #32
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	add	w8, w9, w8
	str	w8, [x19, #12]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh63:
	adrp	x8, _B_ACKPENDING@GOTPAGE
Lloh64:
	ldr	x8, [x8, _B_ACKPENDING@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_schedule_event
LBB0_39:
	ldr	x8, [x23, #16]
	lsl	x9, x21, #3
	strh	w22, [x8, x9]
	str	x21, [x23]
	ldr	x0, [x19, #24]
	bl	_dev_kfree_skb_any
	str	xzr, [x19, #24]
LBB0_40:
Lloh66:
	adrp	x8, _BC_FLG_BUSY@GOTPAGE
Lloh67:
	ldr	x8, [x8, _BC_FLG_BUSY@GOTPAGEOFF]
Lloh68:
	ldr	w0, [x8]
	add	x1, x19, #16
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_test_and_clear_bit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.comm	_L1_MODE_TRANS,8,3              ; @L1_MODE_TRANS
	.comm	_MAX_B_FRAMES,8,3               ; @MAX_B_FRAMES
	.comm	_L1_DEB_HSCX,4,2                ; @L1_DEB_HSCX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hfcpci_fill_fifo_trans %d z1(%x) z2(%x)"

	.comm	_B_FIFO_SIZE,4,2                ; @B_FIFO_SIZE
	.comm	_HFCPCI_BTRANS_THRESHOLD,4,2    ; @HFCPCI_BTRANS_THRESHOLD
	.comm	_B_SUB_VAL,4,2                  ; @B_SUB_VAL
l_.str.1:                               ; @.str.1
	.asciz	"hfcpci_fill_fifo_trans %d frame length %d discarded"

	.comm	_FLG_LLI_L1WAKEUP,4,2           ; @FLG_LLI_L1WAKEUP
	.comm	_PACKET_NOACK,8,3               ; @PACKET_NOACK
	.comm	_B_ACKPENDING,4,2               ; @B_ACKPENDING
	.comm	_BC_FLG_BUSY,4,2                ; @BC_FLG_BUSY
l_.str.2:                               ; @.str.2
	.asciz	"hfcpci_fill_fifo_hdlc %d f1(%d) f2(%d) z1(f1)(%x)"

l_.str.3:                               ; @.str.3
	.asciz	"hfcpci_fill_Bfifo more as 14 frames"

l_.str.4:                               ; @.str.4
	.asciz	"hfcpci_fill_fifo %d count(%ld/%d),%lx"

	.comm	_current,8,3                    ; @current
l_.str.5:                               ; @.str.5
	.asciz	"hfcpci_fill_fifo no fifo mem"

	.no_dead_strip	_hfcpci_fill_fifo
.subsections_via_symbols
