	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_all_tx_skbs
_free_all_tx_skbs:                      ## @free_all_tx_skbs
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	16(%rdi), %edi
	callq	_netdev_priv
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rbx
	leaq	-56(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	leaq	-60(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_hinic_sq_read_wqebb
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	leaq	-56(%rbp), %r12
	leaq	-60(%rbp), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rcx
	callq	_hinic_sq_read_wqe
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	movq	-56(%rbp), %rdi
	callq	_skb_shinfo
	movl	(%rax), %edx
	incl	%edx
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_hinic_sq_get_sges
	movl	-44(%rbp), %esi
	movq	%rbx, %rdi
	callq	_hinic_sq_put_wqe
	movq	-56(%rbp), %rsi
	movl	(%r15), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_tx_free_skb
	movq	%rbx, %rdi
	movq	%r12, %rsi
	leaq	-44(%rbp), %rdx
	movq	%r13, %rcx
	callq	_hinic_sq_read_wqebb
	testq	%rax, %rax
	jne	LBB0_2
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_free_all_tx_skbs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_all_tx_skbs
_free_all_tx_skbs:                      ; @free_all_tx_skbs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_netdev_priv
	mov	x20, x0
	ldr	x21, [x19, #8]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #16
	add	x2, sp, #28
	add	x3, sp, #12
	mov	x0, x21
	bl	_hinic_sq_read_wqebb
	cbz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w2, [sp, #28]
	add	x1, sp, #16
	add	x3, sp, #12
	mov	x0, x21
	bl	_hinic_sq_read_wqe
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x22, x0
	ldr	x0, [sp, #16]
	bl	_skb_shinfo
	ldr	w8, [x0]
	add	w2, w8, #1
	ldr	w1, [x19]
	mov	x0, x22
	bl	_hinic_sq_get_sges
	ldr	w1, [sp, #28]
	mov	x0, x21
	bl	_hinic_sq_put_wqe
	ldr	x1, [sp, #16]
	ldr	w2, [x19]
	mov	x0, x20
	bl	_tx_free_skb
	b	LBB0_1
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_free_all_tx_skbs
.subsections_via_symbols
