	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7601u_tx_pktid_enc
_mt7601u_tx_pktid_enc:                  ## @mt7601u_tx_pktid_enc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $esi killed $esi def $rsi
	leal	(%rsi,%rdx,8), %ecx
	incl	%ecx
	testl	%edx, %edx
	leal	-6(%rsi,%rdx,8), %eax
	cmovel	%ecx, %eax
	cmpl	$7, %esi
	cmovnel	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mt7601u_tx_pktid_enc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7601u_tx_pktid_enc
_mt7601u_tx_pktid_enc:                  ; @mt7601u_tx_pktid_enc
	.cfi_startproc
; %bb.0:
	add	w8, w1, w2, lsl #3
	sub	w9, w8, #6
	cmp	w2, #0
	ccmp	w1, #7, #0, ne
	csinc	w0, w9, w8, eq
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mt7601u_tx_pktid_enc
.subsections_via_symbols
