	.file	"extr_core.c_rfcomm_process_rx.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"session %p state %ld qlen %d"
	.text
	.p2align 4
	.type	rfcomm_process_rx, @function
rfcomm_process_rx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 8[rdi]
	mov	r13, QWORD PTR [rax]
	lea	rbx, 12[r13]
	mov	rdi, rbx
	call	skb_queue_len@PLT
	mov	edx, DWORD PTR 4[r12]
	mov	rsi, r12
	lea	rdi, .LC0[rip]
	mov	ecx, eax
	call	BT_DBG@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rbp
	call	skb_orphan@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	rfcomm_recv_frame@PLT
.L2:
	mov	rdi, rbx
	call	skb_dequeue@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR BT_CLOSED[rip]
	cmp	QWORD PTR 0[r13], rax
	je	.L8
	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
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR [r12]
	test	eax, eax
	je	.L9
.L5:
	mov	esi, DWORD PTR 8[r13]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	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	rfcomm_session_close@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, r12
	call	rfcomm_session_put@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	rfcomm_process_rx, .-rfcomm_process_rx
	.comm	BT_CLOSED,8,8
	.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_core.c_rfcomm_process_rx.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"session %p state %ld qlen %d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rfcomm_process_rx, %function
rfcomm_process_rx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #8]
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, [r3]
	ldr	r4, [r0, #4]
	add	r6, r7, #8
	mov	r5, r0
	mov	r0, r6
	bl	skb_queue_len
	mov	r2, r4
	mov	r3, r0
	mov	r1, r5
	ldr	r0, .L9
	bl	BT_DBG
	b	.L2
.L3:
	bl	skb_orphan
	mov	r1, r4
	mov	r0, r5
	bl	rfcomm_recv_frame
.L2:
	mov	r0, r6
	bl	skb_dequeue
	subs	r4, r0, #0
	bne	.L3
	ldr	r3, .L9+4
	ldr	r2, [r7]
	ldr	r3, [r3]
	cmp	r2, r3
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r5]
	cmp	r3, #0
	beq	.L8
	mov	r0, r5
	ldr	r1, [r7, #4]
	pop	{r4, r5, r6, r7, r8, lr}
	b	rfcomm_session_close
.L8:
	mov	r0, r5
	bl	rfcomm_session_put
	mov	r0, r5
	ldr	r1, [r7, #4]
	pop	{r4, r5, r6, r7, r8, lr}
	b	rfcomm_session_close
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	BT_CLOSED
	.size	rfcomm_process_rx, .-rfcomm_process_rx
	.comm	BT_CLOSED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
