	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function free_skb_resources
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_free_skb_resources:                    ## @free_skb_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	%rdi, %r14
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.1:
	movq	48(%r14), %rbx
	xorl	%r12d, %r12d
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %r8
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r13
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, %r13
	movq	40(%r14), %rax
	movq	(%rax,%r12,8), %rdi
	callq	_dev_kfree_skb_any
	movq	40(%r14), %rax
	movq	$0, (%rax,%r12,8)
	movl	(%r14), %eax
	movq	%r13, %rbx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %r8
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	%eax, %rcx
	cmpq	%rcx, %r12
	jge	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	40(%r14), %rcx
	cmpq	$0, (%rcx,%r12,8)
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r14), %rdi
	movq	8(%rbx), %rsi
	movl	(%rbx), %edx
	movl	(%r8), %ecx
	callq	_dma_unmap_single
	movq	$0, 16(%rbx)
	movq	40(%r14), %rax
	movq	(%rax,%r12,8), %rdi
	callq	_skb_shinfo
	cmpl	$0, (%rax)
	jle	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	24(%rbx), %r13
	movq	24(%r14), %rdi
	movq	32(%rbx), %rsi
	movl	24(%rbx), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_unmap_page
	incl	%r15d
	movq	40(%r14), %rax
	movq	(%rax,%r12,8), %rdi
	callq	_skb_shinfo
	movq	%r13, %rbx
	cmpl	(%rax), %r15d
	jl	LBB0_6
	jmp	LBB0_7
LBB0_9:
	movq	40(%r14), %rdi
	callq	_kfree
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.10:
	movl	4(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.11:
	movq	32(%r14), %r15
	movl	$1, %ebx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %r12
	cmpq	$0, -8(%rdi,%rbx,8)
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:
	movq	24(%r14), %rdi
	movq	(%r15), %rsi
	movl	16(%r14), %edx
	movl	(%r12), %ecx
	callq	_dma_unmap_single
	movq	8(%r14), %rax
	movq	-8(%rax,%rbx,8), %rdi
	callq	_dev_kfree_skb_any
	movq	8(%r14), %rax
	movq	$0, -8(%rax,%rbx,8)
	movl	4(%r14), %eax
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movslq	%eax, %rcx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r15)
	cmpq	%rcx, %rbx
	jge	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	addq	$16, %r15
	movq	8(%r14), %rdi
	incq	%rbx
	cmpq	$0, -8(%rdi,%rbx,8)
	jne	LBB0_13
	jmp	LBB0_14
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	8(%r14), %rdi
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.no_dead_strip	_free_skb_resources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_skb_resources
_free_skb_resources:                    ; @free_skb_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
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x20, #0
	ldr	x21, [x19, #48]
Lloh0:
	adrp	x22, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DMA_TO_DEVICE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #24
	ldr	x8, [x19, #40]
	lsl	x23, x20, #3
	ldr	x0, [x8, x23]
	bl	_dev_kfree_skb_any
	ldr	x8, [x19, #40]
	str	xzr, [x8, x23]
	ldr	w8, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x9, [x19, #40]
	ldr	x9, [x9, x20, lsl #3]
	cbz	x9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, #24]
	ldr	x1, [x21, #8]
	ldr	w2, [x21]
	ldr	w3, [x22]
	bl	_dma_unmap_single
	str	xzr, [x21, #16]
	ldr	x8, [x19, #40]
	ldr	x0, [x8, x20, lsl #3]
	bl	_skb_shinfo
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #0
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w2, [x21, #24]!
	ldr	x0, [x19, #24]
	ldr	x1, [x21, #8]
	ldr	w3, [x22]
	bl	_dma_unmap_page
	add	w23, w23, #1
	ldr	x8, [x19, #40]
	ldr	x0, [x8, x20, lsl #3]
	bl	_skb_shinfo
	ldr	w8, [x0]
	cmp	w23, w8
	b.lt	LBB0_7
	b	LBB0_2
LBB0_8:
	ldr	x0, [x19, #40]
	bl	_kfree
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_14
; %bb.9:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.10:
	mov	x20, #0
	ldr	x21, [x19, #32]
Lloh2:
	adrp	x22, _DMA_FROM_DEVICE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _DMA_FROM_DEVICE@GOTPAGEOFF]
	ldr	x9, [x0, x20, lsl #3]
	cbz	x9, LBB0_12
LBB0_11:
	ldr	x0, [x19, #24]
	ldr	x1, [x21]
	ldr	w2, [x19, #16]
	ldr	w3, [x22]
	bl	_dma_unmap_single
	ldr	x8, [x19, #8]
	lsl	x23, x20, #3
	ldr	x0, [x8, x23]
	bl	_dev_kfree_skb_any
	ldr	x8, [x19, #8]
	str	xzr, [x8, x23]
	ldr	w8, [x19, #4]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	x20, x20, #1
	stp	xzr, xzr, [x21]
	cmp	x20, w8, sxtw
	b.ge	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x21, x21, #16
	ldr	x0, [x19, #8]
	ldr	x9, [x0, x20, lsl #3]
	cbnz	x9, LBB0_11
	b	LBB0_12
LBB0_14:
	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
	ret
LBB0_15:
	ldr	x0, [x19, #8]
LBB0_16:
	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	_kfree
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.no_dead_strip	_free_skb_resources
.subsections_via_symbols
