	.file	"extr_isdnl2.c_l2_st7_got_super.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Restart T203 ST7 REJ"
	.text
	.p2align 4
	.type	l2_st7_got_super, @function
l2_st7_got_super:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rbp, QWORD PTR [rdi]
	mov	rax, QWORD PTR [rdx]
	mov	edi, DWORD PTR FLG_ORIG[rip]
	mov	ebx, DWORD PTR RR[rip]
	mov	r14d, DWORD PTR [rax]
	lea	r13, 32[rbp]
	mov	rsi, r13
	and	r14d, 2
	call	test_bit@PLT
	test	rax, rax
	je	.L2
	test	r14d, r14d
	sete	r14b
	movzx	r14d, r14b
.L2:
	mov	rdi, rbp
	call	l2addrsize@PLT
	mov	rdi, r12
	mov	esi, eax
	call	skb_pull@PLT
	mov	rdi, QWORD PTR [r12]
	mov	rsi, rbp
	call	IsRNR@PLT
	mov	rdi, rbp
	test	rax, rax
	je	.L3
	call	set_peer_busy@PLT
	mov	ebx, DWORD PTR RNR[rip]
.L4:
	mov	rdi, QWORD PTR [r12]
	mov	rsi, rbp
	call	IsREJ@PLT
	mov	edi, DWORD PTR FLG_MOD128[rip]
	mov	rsi, r13
	test	rax, rax
	cmovne	ebx, DWORD PTR REJ[rip]
	call	test_bit@PLT
	test	rax, rax
	mov	rax, QWORD PTR [r12]
	je	.L6
	mov	r13d, DWORD PTR 4[rax]
	mov	eax, r13d
	sar	r13d
	and	eax, 1
	mov	DWORD PTR 12[rsp], eax
.L7:
	mov	rdi, r12
	call	dev_kfree_skb@PLT
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	je	.L8
	test	r14d, r14d
	je	.L9
	mov	esi, DWORD PTR MDL_ERROR[rip]
	mov	edx, 65
	mov	rdi, rbp
	or	esi, DWORD PTR INDICATION[rip]
	call	[QWORD PTR 40[rbp]]
.L8:
	mov	esi, r13d
	mov	rdi, rbp
	call	legalnr@PLT
	test	rax, rax
	je	.L10
	cmp	DWORD PTR REJ[rip], ebx
	je	.L29
	cmp	DWORD PTR 0[rbp], r13d
	je	.L30
.L14:
	cmp	DWORD PTR 4[rbp], r13d
	jne	.L15
	cmp	DWORD PTR RNR[rip], ebx
	je	.L15
.L13:
	lea	rdi, 16[rbp]
	call	skb_queue_empty@PLT
	test	eax, eax
	jne	.L1
	cmp	DWORD PTR RR[rip], ebx
	je	.L31
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	r13d, DWORD PTR [rax]
	mov	eax, r13d
	sar	r13d, 5
	and	eax, 16
	and	r13d, 7
	mov	DWORD PTR 12[rsp], eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	call	clear_peer_busy@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L15:
	mov	esi, r13d
	mov	rdi, rbp
	call	setva@PLT
	cmp	DWORD PTR RR[rip], ebx
	jne	.L32
	mov	esi, 12
	mov	rdi, rbp
	call	restart_t200@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L10:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r15
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	nrerrorrecovery@PLT
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_restore_state
	cmp	DWORD PTR RR[rip], ebx
	jne	.L14
	mov	esi, r13d
	mov	rdi, rbp
	call	setva@PLT
	mov	rdi, rbp
	mov	esi, 11
	call	stop_t200@PLT
	mov	esi, DWORD PTR 24[rbp]
	mov	edx, DWORD PTR EV_L2_T203[rip]
	xor	ecx, ecx
	lea	rdi, 20[rbp]
	mov	r8d, 7
	call	FsmRestartTimer@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, rbp
	call	enquiry_response@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L32:
	lea	rdi, 20[rbp]
	mov	esi, 9
	call	FsmDelTimer@PLT
	mov	esi, 12
	mov	rdi, rbp
	call	restart_t200@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L29:
	mov	esi, r13d
	mov	rdi, rbp
	call	setva@PLT
	mov	esi, r13d
	mov	rdi, rbp
	call	invoke_retransmission@PLT
	mov	esi, 10
	mov	rdi, rbp
	call	stop_t200@PLT
	mov	esi, DWORD PTR 24[rbp]
	mov	edx, DWORD PTR EV_L2_T203[rip]
	xor	ecx, ecx
	lea	rdi, 20[rbp]
	mov	r8d, 6
	call	FsmAddTimer@PLT
	test	rax, rax
	je	.L13
	lea	rdi, 28[rbp]
	lea	rsi, .LC0[rip]
	call	l2m_debug@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L31:
	mov	esi, DWORD PTR PH_PULL[rip]
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, rbp
	xor	edx, edx
	or	esi, DWORD PTR REQUEST[rip]
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	rax
	.cfi_endproc
.LFE0:
	.size	l2_st7_got_super, .-l2_st7_got_super
	.comm	RR,4,4
	.comm	RNR,4,4
	.comm	REQUEST,4,4
	.comm	REJ,4,4
	.comm	PH_PULL,4,4
	.comm	MDL_ERROR,4,4
	.comm	INDICATION,4,4
	.comm	FLG_ORIG,4,4
	.comm	FLG_MOD128,4,4
	.comm	EV_L2_T203,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_isdnl2.c_l2_st7_got_super.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Restart T203 ST7 REJ\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	l2_st7_got_super, %function
l2_st7_got_super:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r4, [r0]
	ldr	r3, .L34
	mov	r5, r2
	ldr	fp, .L34+4
	ldr	r2, [r2]
	add	r6, r4, #28
	sub	sp, sp, #12
	mov	r1, r6
	mov	r8, r0
	ldr	r0, [r3]
	ldr	r7, [r2]
	ldr	r9, [fp]
	bl	test_bit
	and	r7, r7, #2
	cmp	r0, #0
	clzne	r7, r7
	mov	r0, r4
	lsrne	r7, r7, #5
	bl	l2addrsize
	mov	r1, r0
	mov	r0, r5
	bl	skb_pull
	mov	r1, r4
	ldr	r0, [r5]
	bl	IsRNR
	cmp	r0, #0
	mov	r0, r4
	beq	.L3
	bl	set_peer_busy
	ldr	r3, .L34+8
	ldr	r9, [r3]
.L4:
	mov	r1, r4
	ldr	r0, [r5]
	bl	IsREJ
	cmp	r0, #0
	ldrne	r3, .L34+12
	mov	r1, r6
	ldrne	r9, [r3]
	ldr	r3, .L34+16
	ldr	r0, [r3]
	bl	test_bit
	ldr	r3, [r5]
	cmp	r0, #0
	ldrne	r6, [r3, #4]
	ldreq	r10, [r3]
	andne	r10, r6, #1
	asreq	r6, r10, #5
	mov	r0, r5
	andeq	r10, r10, #16
	asrne	r6, r6, #1
	andeq	r6, r6, #7
	bl	dev_kfree_skb
	cmp	r10, #0
	beq	.L8
	cmp	r7, #0
	beq	.L9
	ldr	r2, .L34+20
	ldr	r3, .L34+24
	ldr	r1, [r2]
	ldr	r2, [r3]
	mov	r0, r4
	orr	r1, r1, r2
	ldr	r3, [r4, #32]
	mov	r2, #65
	blx	r3
.L8:
	mov	r1, r6
	mov	r0, r4
	bl	legalnr
	cmp	r0, #0
	beq	.L10
	ldr	r3, .L34+12
	ldr	r3, [r3]
	cmp	r3, r9
	beq	.L30
	ldr	r3, [r4]
	cmp	r3, r6
	beq	.L31
.L14:
	ldr	r3, [r4, #4]
	cmp	r3, r6
	bne	.L15
	ldr	r3, .L34+8
	ldr	r3, [r3]
	cmp	r3, r9
	beq	.L15
.L13:
	add	r0, r4, #12
	bl	skb_queue_empty
	subs	r2, r0, #0
	bne	.L1
	ldr	r3, [fp]
	cmp	r3, r9
	beq	.L32
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
	bl	clear_peer_busy
	b	.L4
.L15:
	mov	r1, r6
	mov	r0, r4
	bl	setva
	ldr	r3, [fp]
	cmp	r3, r9
	bne	.L33
	mov	r1, #12
	mov	r0, r4
	bl	restart_t200
	b	.L13
.L10:
	mov	r0, r8
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	nrerrorrecovery
.L31:
	ldr	r3, [fp]
	cmp	r3, r9
	bne	.L14
	mov	r1, r6
	mov	r0, r4
	bl	setva
	mov	r1, #11
	mov	r0, r4
	bl	stop_t200
	mov	r2, #7
	ldr	r3, .L34+28
	ldr	r1, [r4, #20]
	str	r2, [sp]
	ldr	r2, [r3]
	add	r0, r4, #16
	mov	r3, #0
	bl	FsmRestartTimer
	b	.L13
.L9:
	mov	r0, r4
	bl	enquiry_response
	b	.L8
.L33:
	mov	r1, #9
	add	r0, r4, #16
	bl	FsmDelTimer
	mov	r1, #12
	mov	r0, r4
	bl	restart_t200
	b	.L13
.L30:
	mov	r1, r6
	mov	r0, r4
	bl	setva
	mov	r1, r6
	mov	r0, r4
	bl	invoke_retransmission
	mov	r1, #10
	mov	r0, r4
	bl	stop_t200
	mov	r2, #6
	ldr	r3, .L34+28
	ldr	r1, [r4, #20]
	str	r2, [sp]
	ldr	r2, [r3]
	add	r0, r4, #16
	mov	r3, #0
	bl	FsmAddTimer
	cmp	r0, #0
	beq	.L13
	ldr	r1, .L34+32
	add	r0, r4, #24
	bl	l2m_debug
	b	.L13
.L32:
	mov	r0, r4
	ldr	r1, .L34+36
	ldr	r3, .L34+40
	ldr	r1, [r1]
	ldr	r3, [r3]
	orr	r1, r1, r3
	ldr	r3, [r4, #8]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx	r3
.L35:
	.align	2
.L34:
	.word	FLG_ORIG
	.word	RR
	.word	RNR
	.word	REJ
	.word	FLG_MOD128
	.word	MDL_ERROR
	.word	INDICATION
	.word	EV_L2_T203
	.word	.LC0
	.word	PH_PULL
	.word	REQUEST
	.size	l2_st7_got_super, .-l2_st7_got_super
	.comm	RR,4,4
	.comm	RNR,4,4
	.comm	REQUEST,4,4
	.comm	REJ,4,4
	.comm	PH_PULL,4,4
	.comm	MDL_ERROR,4,4
	.comm	INDICATION,4,4
	.comm	FLG_ORIG,4,4
	.comm	FLG_MOD128,4,4
	.comm	EV_L2_T203,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
