	.file	"extr_w6692.c_W6692_empty_Bfifo.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s: empty_Bfifo %d\n"
.LC1:
	.string	"%s: empty_Bfifo ISDN_P_NONE\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"%s.B%d: No bufferspace for %d bytes\n"
	.section	.rodata.str1.1
.LC3:
	.string	"B%1d-recv %s %d "
	.text
	.p2align 4
	.type	W6692_empty_Bfifo, @function
W6692_empty_Bfifo:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	edx, esi
	xor	eax, eax
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR 32[rdi]
	lea	rdi, .LC0[rip]
	mov	rsi, QWORD PTR [rbx]
	call	pr_debug@PLT
	xor	edi, edi
	mov	rax, QWORD PTR ISDN_P_NONE[rip]
	cmp	QWORD PTR 0[rbp], rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L17
	mov	edi, DWORD PTR FLG_RX_OFF[rip]
	lea	rsi, 24[rbp]
	call	test_bit@PLT
	test	rax, rax
	jne	.L18
	mov	esi, r12d
	mov	rdi, rbp
	call	bchannel_get_rxbuf@PLT
	test	eax, eax
	js	.L19
	mov	rdi, QWORD PTR 16[rbp]
	mov	esi, r12d
	call	skb_put@PLT
	mov	rdi, QWORD PTR W_B_RFIFO[rip]
	mov	edx, r12d
	add	rdi, QWORD PTR 40[rbp]
	mov	rsi, rax
	mov	r13, rax
	call	insb@PLT
	mov	esi, DWORD PTR W_B_CMDR[rip]
	mov	edx, DWORD PTR W_B_CMDR_RACK[rip]
	mov	rdi, rbp
	or	edx, DWORD PTR W_B_CMDR_RACT[rip]
	call	WriteW6692B@PLT
	mov	eax, DWORD PTR debug[rip]
	test	DWORD PTR DEBUG_HW_DFIFO[rip], eax
	jne	.L20
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	add	DWORD PTR 8[rbp], r12d
	mov	edx, DWORD PTR W_B_CMDR_RACK[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR W_B_CMDR[rip]
	or	edx, DWORD PTR W_B_CMDR_RACT[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	WriteW6692B@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	rsi, QWORD PTR [rbx]
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	pr_debug@PLT
	mov	esi, DWORD PTR W_B_CMDR[rip]
	mov	edx, DWORD PTR W_B_CMDR_RACK[rip]
	mov	rdi, rbp
	or	edx, DWORD PTR W_B_CMDR_RACT[rip]
	call	WriteW6692B@PLT
	mov	rdi, QWORD PTR 16[rbp]
	test	rdi, rdi
	je	.L1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	esi, esi
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	skb_trim@PLT
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	esi, DWORD PTR W_B_CMDR[rip]
	mov	edx, DWORD PTR W_B_CMDR_RACK[rip]
	mov	rdi, rbp
	or	edx, DWORD PTR W_B_CMDR_RACT[rip]
	call	WriteW6692B@PLT
	mov	rdi, QWORD PTR 16[rbp]
	test	rdi, rdi
	jne	.L21
.L7:
	mov	edx, DWORD PTR 12[rbp]
	mov	rsi, QWORD PTR [rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	ecx, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	lea	rdi, .LC2[rip]
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	pr_warning@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	ecx, DWORD PTR 12[rbp]
	mov	edi, DWORD PTR 8[rbx]
	mov	r9d, r12d
	lea	rdx, .LC3[rip]
	mov	r8, QWORD PTR [rbx]
	mov	esi, 63
	call	snprintf@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	ecx, r12d
	mov	rdx, r13
	mov	esi, DWORD PTR DUMP_PREFIX_OFFSET[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	print_hex_dump_bytes@PLT
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	xor	esi, esi
	call	skb_trim@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	W6692_empty_Bfifo, .-W6692_empty_Bfifo
	.comm	debug,4,4
	.comm	W_B_RFIFO,8,8
	.comm	W_B_CMDR_RACT,4,4
	.comm	W_B_CMDR_RACK,4,4
	.comm	W_B_CMDR,4,4
	.comm	ISDN_P_NONE,8,8
	.comm	FLG_RX_OFF,4,4
	.comm	DUMP_PREFIX_OFFSET,4,4
	.comm	DEBUG_HW_DFIFO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_w6692.c_W6692_empty_Bfifo.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: empty_Bfifo %d\012\000"
	.align	2
.LC1:
	.ascii	"%s: empty_Bfifo ISDN_P_NONE\012\000"
	.align	2
.LC2:
	.ascii	"%s.B%d: No bufferspace for %d bytes\012\000"
	.align	2
.LC3:
	.ascii	"B%1d-recv %s %d \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	W6692_empty_Bfifo, %function
W6692_empty_Bfifo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	ldr	r6, [r0, #20]
	mov	r2, r1
	sub	sp, sp, #12
	mov	r5, r1
	ldr	r0, .L22
	ldr	r1, [r6]
	bl	pr_debug
	ldr	r3, .L22+4
	ldr	r0, [r4]
	ldr	r3, [r3]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	bne	.L17
	ldr	r3, .L22+8
	add	r1, r4, #16
	ldr	r0, [r3]
	bl	test_bit
	subs	r7, r0, #0
	bne	.L18
	mov	r1, r5
	mov	r0, r4
	bl	bchannel_get_rxbuf
	cmp	r0, #0
	blt	.L19
	mov	r1, r5
	ldr	r0, [r4, #12]
	bl	skb_put
	mov	r7, r0
	ldr	r3, .L22+12
	ldr	r0, [r4, #24]
	ldr	r3, [r3]
	mov	r1, r7
	mov	r2, r5
	add	r0, r0, r3
	bl	insb
	ldr	r2, .L22+16
	ldr	r3, .L22+20
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L22+24
	orr	r2, r1, r2
	mov	r0, r4
	ldr	r1, [r3]
	bl	WriteW6692B
	ldr	r2, .L22+28
	ldr	r3, .L22+32
	ldr	r2, [r2]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L20
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L18:
	ldr	r2, .L22+16
	ldr	r3, .L22+20
	ldr	r0, [r2]
	ldr	r2, [r3]
	ldr	r1, [r4, #4]
	orr	r2, r0, r2
	mov	r0, r4
	ldr	r3, .L22+24
	add	r5, r1, r5
	ldr	r1, [r3]
	str	r5, [r4, #4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	WriteW6692B
.L17:
	ldr	r1, [r6]
	ldr	r0, .L22+36
	bl	pr_debug
	ldr	r2, .L22+16
	ldr	r3, .L22+20
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L22+24
	orr	r2, r1, r2
	mov	r0, r4
	ldr	r1, [r3]
	bl	WriteW6692B
	ldr	r0, [r4, #12]
	cmp	r0, #0
	beq	.L1
	mov	r1, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	skb_trim
.L19:
	ldr	r2, .L22+16
	ldr	r3, .L22+20
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L22+24
	orr	r2, r1, r2
	mov	r0, r4
	ldr	r1, [r3]
	bl	WriteW6692B
	ldr	r0, [r4, #12]
	cmp	r0, #0
	bne	.L21
.L7:
	mov	r3, r5
	ldr	r2, [r4, #8]
	ldr	r1, [r6]
	ldr	r0, .L22+40
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	pr_warning
.L20:
	ldr	r0, [r6, #4]
	str	r5, [sp, #4]
	ldr	r2, [r6]
	ldr	r3, [r4, #8]
	mov	r1, #63
	str	r2, [sp]
	ldr	r2, .L22+44
	bl	snprintf
	mov	r3, r5
	mov	r2, r7
	ldr	r1, .L22+48
	ldr	r0, [r6, #4]
	ldr	r1, [r1]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	print_hex_dump_bytes
.L21:
	mov	r1, r7
	bl	skb_trim
	b	.L7
.L23:
	.align	2
.L22:
	.word	.LC0
	.word	ISDN_P_NONE
	.word	FLG_RX_OFF
	.word	W_B_RFIFO
	.word	W_B_CMDR_RACK
	.word	W_B_CMDR_RACT
	.word	W_B_CMDR
	.word	debug
	.word	DEBUG_HW_DFIFO
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	DUMP_PREFIX_OFFSET
	.size	W6692_empty_Bfifo, .-W6692_empty_Bfifo
	.comm	debug,4,4
	.comm	W_B_RFIFO,4,4
	.comm	W_B_CMDR_RACT,4,4
	.comm	W_B_CMDR_RACK,4,4
	.comm	W_B_CMDR,4,4
	.comm	ISDN_P_NONE,4,4
	.comm	FLG_RX_OFF,4,4
	.comm	DUMP_PREFIX_OFFSET,4,4
	.comm	DEBUG_HW_DFIFO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
