	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function release_tx_packet
_release_tx_packet:                     ## @release_tx_packet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rsi), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movslq	%edx, %r15
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	shlq	$4, %r15
	leaq	(%rcx,%r15), %rax
	addq	$8, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rcx,%r15), %rbx
	movq	(%rbx), %rdi
	callq	_le64_to_cpup
	incl	28(%r14)
	movq	_TXHDR_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	movq	_TXHDR_LEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edx
	movq	_TXHDR_PAD@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	addl	24(%r14), %edx
	subl	%ecx, %edx
	movl	%edx, 24(%r14)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_skb_headlen
	movl	%eax, %ebx
	movq	8(%r12), %rax
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movl	(%r12), %edi
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%r15), %esi
	movq	%r14, %r15
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ebx, %edx
	callq	*8(%rax)
	movq	16(%r14), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %edi
	callq	_le64_to_cpu
	movq	_TX_DESC_MARK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	decl	8(%r15)
LBB0_2:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	movq	_MAX_TX_DESC_LEN@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_NEXT_TX
	movl	%eax, %r13d
	subl	(%r14), %ebx
	testl	%ebx, %ebx
	jg	LBB0_3
## %bb.4:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_skb_shinfo
	cmpl	$0, (%rax)
	jle	LBB0_7
## %bb.5:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r15
	movslq	%r13d, %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	shlq	$4, %rbx
	xorl	%edi, %edi
	cmpq	$0, 8(%r15,%rbx)
	setne	%dil
	callq	_BUG_ON
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rcx), %r13d
	movl	(%r15,%rbx), %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movq	8(%rax), %rdi
	addq	%r14, %rdi
	callq	_skb_frag_size
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r13d, %edi
	movl	%r15d, %esi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, %edx
	callq	*-48(%rbp)                      ## 8-byte Folded Reload
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_NEXT_TX
	movl	%eax, %r13d
	incq	%r12
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movslq	(%rax), %rax
	addq	$4, %r14
	cmpq	%rax, %r12
	jl	LBB0_6
LBB0_7:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXHDR_LEN,4,2                  ## @TXHDR_LEN
	.comm	_TXHDR_LEN_SHIFT,4,2            ## @TXHDR_LEN_SHIFT
	.comm	_TXHDR_PAD,4,2                  ## @TXHDR_PAD
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_TX_DESC_MARK,4,2               ## @TX_DESC_MARK
	.comm	_MAX_TX_DESC_LEN,8,3            ## @MAX_TX_DESC_LEN
	.no_dead_strip	_release_tx_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function release_tx_packet
_release_tx_packet:                     ; @release_tx_packet
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x25, [x1]
	sbfiz	x26, x19, #4, #32
	add	x24, x25, x26
	ldr	x21, [x24, #8]!
	ldr	x0, [x21]
	bl	_le64_to_cpup
Lloh0:
	adrp	x8, _TXHDR_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXHDR_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh3:
	adrp	x9, _TXHDR_LEN_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TXHDR_LEN_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh6:
	adrp	x9, _TXHDR_PAD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TXHDR_PAD@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ands	w9, w9, w0
	ldp	w11, w10, [x20, #24]
	add	w8, w11, w8
	add	w10, w10, #1
	cinc	w9, w9, lt
	sub	w8, w8, w9, asr #1
	stp	w8, w10, [x20, #24]
	mov	x0, x21
	bl	_skb_headlen
	mov	x23, x0
	ldr	x8, [x22, #8]
	ldr	x8, [x8, #8]
	ldr	w0, [x22]
	ldr	w1, [x25, x26]
Lloh9:
	adrp	x25, _DMA_TO_DEVICE@GOTPAGE
Lloh10:
	ldr	x25, [x25, _DMA_TO_DEVICE@GOTPAGEOFF]
	ldr	w3, [x25]
	mov	x2, x23
	blr	x8
	ldr	x8, [x20, #16]
	ldr	w0, [x8, w19, sxtw #2]
	bl	_le64_to_cpu
Lloh11:
	adrp	x8, _TX_DESC_MARK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TX_DESC_MARK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x20, #8]
	sub	w8, w8, #1
	str	w8, [x20, #8]
LBB0_2:
	str	xzr, [x24]
Lloh14:
	adrp	x24, _MAX_TX_DESC_LEN@GOTPAGE
Lloh15:
	ldr	x24, [x24, _MAX_TX_DESC_LEN@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_NEXT_TX
	mov	x19, x0
	ldr	w8, [x24]
	sub	w23, w23, w8
	cmp	w23, #0
	b.gt	LBB0_3
; %bb.4:
	mov	x0, x21
	bl	_skb_shinfo
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x26, #0
	mov	x27, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x24, x8, w19, sxtw #4
	ldr	x8, [x24, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_BUG_ON
	ldr	x8, [x22, #8]
	ldr	x28, [x8]
	ldr	w23, [x22]
	ldr	w24, [x24]
	mov	x0, x21
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x0, x8, x26
	bl	_skb_frag_size
	mov	x2, x0
	ldr	w3, [x25]
	mov	x0, x23
	mov	x1, x24
	blr	x28
	mov	x0, x20
	mov	x1, x19
	bl	_NEXT_TX
	mov	x19, x0
	add	x27, x27, #1
	mov	x0, x21
	bl	_skb_shinfo
	ldrsw	x8, [x0]
	add	x26, x26, #4
	cmp	x27, x8
	b.lt	LBB0_6
LBB0_7:
	mov	x0, x21
	bl	_dev_kfree_skb
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_TXHDR_LEN,4,2                  ; @TXHDR_LEN
	.comm	_TXHDR_LEN_SHIFT,4,2            ; @TXHDR_LEN_SHIFT
	.comm	_TXHDR_PAD,4,2                  ; @TXHDR_PAD
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_TX_DESC_MARK,4,2               ; @TX_DESC_MARK
	.comm	_MAX_TX_DESC_LEN,8,3            ; @MAX_TX_DESC_LEN
	.no_dead_strip	_release_tx_packet
.subsections_via_symbols
