	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jme_free_tx_resources
_jme_free_tx_resources:                 ## @jme_free_tx_resources
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %rbx
	cmpq	$0, 48(%rbx)
	je	LBB0_9
## %bb.1:
	movq	%rdi, %r15
	leaq	16(%rbx), %r12
	movq	16(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_8
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.3:
	movl	$32, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	movslq	%eax, %rcx
	xorps	%xmm0, %xmm0
	movups	%xmm0, -16(%r13,%rbx)
	movups	%xmm0, -32(%r13,%rbx)
	movq	(%r12), %r13
	addq	$40, %rbx
	cmpq	%rcx, %r14
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	callq	_dev_kfree_skb
	movq	$0, (%r13,%rbx)
	movl	(%r15), %eax
	jmp	LBB0_6
LBB0_7:
	movq	%r13, %rdi
	callq	_kfree
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_8:
	movq	8(%r15), %r14
	movl	(%r15), %edi
	callq	_TX_RING_ALLOC_SIZE
	movq	32(%rbx), %rcx
	movq	48(%rbx), %rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dma_free_coherent
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r12)
	movups	%xmm0, 16(%r12)
	movq	$0, 32(%r12)
LBB0_9:
	movq	$0, 8(%rbx)
	leaq	4(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atomic_set                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_jme_free_tx_resources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jme_free_tx_resources
_jme_free_tx_resources:                 ; @jme_free_tx_resources
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x19, [x0, #16]
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x20, x0
	mov	x22, x19
	ldr	x0, [x22, #16]!
	cbz	x0, LBB0_8
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x21, #0
	mov	x23, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x24]
	ldr	x0, [x22]
	add	x21, x21, #40
	cmp	x23, w8, sxtw
	b.ge	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x24, x0, x21
	ldr	x0, [x24, #32]
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_dev_kfree_skb
	str	xzr, [x24, #32]
	ldr	w8, [x20]
	b	LBB0_4
LBB0_7:
	bl	_kfree
LBB0_8:
	ldr	x21, [x20, #8]
	ldr	w0, [x20]
	bl	_TX_RING_ALLOC_SIZE
	mov	x1, x0
	ldr	x2, [x19, #48]
	ldr	x3, [x19, #32]
	mov	x0, x21
	bl	_dma_free_coherent
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x22]
	str	xzr, [x22, #32]
LBB0_9:
	str	xzr, [x19, #8]
	add	x0, x19, #4
	mov	w1, #0
	bl	_atomic_set
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_atomic_set
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_jme_free_tx_resources
.subsections_via_symbols
