	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s2io_txdl_getskb
_s2io_txdl_getskb:                      ## @s2io_txdl_getskb
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %r12
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	cmpq	8(%rdi), %r12
	jne	LBB0_2
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$8, %edx
	callq	_pci_unmap_single
	leaq	16(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %r12
LBB0_2:
	testq	%r12, %r12
	je	LBB0_3
## %bb.4:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %r13d
	movq	%r12, %rdi
	callq	_skb_headlen
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ebx, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_pci_unmap_single
	movq	%r12, %rdi
	callq	_skb_shinfo
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_8
## %bb.5:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_skb_shinfo
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	24(%rcx,%r14,4), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rax), %rdi
	addq	%r14, %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r13d
	callq	_skb_frag_size
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pci_unmap_page
	addq	$4, %r14
	decq	%r15
	jne	LBB0_6
LBB0_8:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	shll	$4, %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_3:
	movl	(%r14), %edx
	shll	$4, %edx
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
LBB0_9:
	xorl	%esi, %esi
	callq	_memset
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.no_dead_strip	_s2io_txdl_getskb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s2io_txdl_getskb
_s2io_txdl_getskb:                      ; @s2io_txdl_getskb
	.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, x1
	mov	x20, x0
	ldr	x21, [x1]
	ldp	x8, x24, [x0, #8]
Lloh0:
	adrp	x25, _PCI_DMA_TODEVICE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _PCI_DMA_TODEVICE@GOTPAGEOFF]
	mov	x28, x1
	cmp	x21, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x24]
	ldr	w1, [x19, #8]
	ldr	w3, [x25]
	mov	w2, #8
	bl	_pci_unmap_single
	mov	x28, x19
	ldr	x21, [x28, #16]!
LBB0_2:
	cbz	x21, LBB0_7
; %bb.3:
	ldr	w22, [x24]
	ldr	w23, [x28, #8]
	mov	x0, x21
	bl	_skb_headlen
	mov	x2, x0
	ldr	w3, [x25]
	mov	x0, x22
	mov	x1, x23
	bl	_pci_unmap_single
	mov	x0, x21
	bl	_skb_shinfo
	ldr	x26, [x0]
	cbz	x26, LBB0_7
; %bb.4:
	mov	x27, #0
	add	x28, x28, #24
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_skb_shinfo
	ldr	x22, [x28]
	cbz	x22, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x0, #8]
	add	x0, x8, x27
	ldr	w23, [x24]
	bl	_skb_frag_size
	mov	x2, x0
	ldr	w3, [x25]
	mov	x0, x23
	mov	x1, x22
	bl	_pci_unmap_page
	add	x28, x28, #16
	add	x27, x27, #4
	subs	x26, x26, #1
	b.ne	LBB0_5
LBB0_7:
	ldr	w8, [x20]
	lsl	w2, w8, #4
	mov	x0, x19
	mov	w1, #0
	bl	_memset
	mov	x0, x21
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.no_dead_strip	_s2io_txdl_getskb
.subsections_via_symbols
