	.file	"extr_tx.c_mt7601u_tx_pktid_dec.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mt7601u_tx_pktid_dec, @function
mt7601u_tx_pktid_dec:
.LFB0:
	.cfi_startproc
	endbr64
	mov	ecx, DWORD PTR [rsi]
	mov	edx, DWORD PTR 4[rsi]
	lea	eax, -1[rcx]
	and	edx, 7
	cmp	eax, 7
	jle	.L2
	mov	DWORD PTR 8[rsi], 1
	lea	eax, -9[rcx]
	cmp	ecx, 9
	jne	.L2
	test	edx, edx
	mov	ecx, 7
	cmovne	eax, ecx
.L2:
	sub	eax, edx
	mov	DWORD PTR 12[rsi], eax
	ret
	.cfi_endproc
.LFE0:
	.size	mt7601u_tx_pktid_dec, .-mt7601u_tx_pktid_dec
	.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_tx.c_mt7601u_tx_pktid_dec.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mt7601u_tx_pktid_dec, %function
mt7601u_tx_pktid_dec:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldm	r1, {r0, r2}
	sub	r3, r0, #1
	cmp	r3, #7
	and	r2, r2, #7
	ble	.L2
	subs	r3, r0, #9
	moveq	r0, #1
	movne	r0, #0
	cmp	r2, #0
	moveq	r0, #0
	mov	ip, #1
	cmp	r0, #0
	movne	r3, #7
	str	ip, [r1, #8]
.L2:
	sub	r3, r3, r2
	str	r3, [r1, #12]
	bx	lr
	.size	mt7601u_tx_pktid_dec, .-mt7601u_tx_pktid_dec
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
