	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmxnet3_map_pkt
_vmxnet3_map_pkt:                       ## @vmxnet3_map_pkt
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r12
	movl	(%rsi), %r14d
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	callq	_skb_headlen
	xorl	%edi, %edi
	cmpl	%eax, %r14d
	setg	%dil
	callq	_BUG_ON
	movl	(%r13), %r14d
	xorl	$1, %r14d
	movq	_VMXNET3_TXD_GEN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r14d
	movslq	4(%r13), %rdi
	movq	%rdi, %rax
	shlq	$4, %rax
	addq	8(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, 8(%r12)
	cmpl	$0, (%r12)
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	shlq	$2, %rdi
	addq	24(%r13), %rdi
	callq	_cpu_to_le64
	movq	8(%r12), %rcx
	movq	%rax, 8(%rcx)
	orl	(%r12), %r14d
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movq	8(%r12), %rcx
	movq	(%rcx), %rcx
	movq	%rax, 16(%rcx)
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movq	$0, 24(%rax)
	movq	16(%r13), %rax
	movslq	4(%r13), %r15
	movq	%r15, %rcx
	shlq	$5, %rcx
	leaq	(%rax,%rcx), %rdx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	_VMXNET3_MAP_NONE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 24(%rax,%rcx)
	movl	(%rbx), %r14d
	movq	8(%r12), %rax
	movq	8(%rax), %rdi
	callq	_le64_to_cpu
	movq	8(%r12), %rcx
	movq	(%rcx), %rcx
	movq	16(%rcx), %r8
	movq	24(%rcx), %r9
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_netdev_dbg
	movq	%r13, %rdi
	callq	_vmxnet3_cmd_ring_adv_next2fill
	movl	(%r13), %edx
	movq	_VMXNET3_TXD_GEN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
LBB0_1:
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_3:
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_skb_headlen
	movslq	(%r12), %rcx
	subl	%ecx, %eax
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.9:
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	_VMXNET3_MAX_TX_BUF_SIZE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ebx
	cmpl	%ebx, %eax
	cmovll	%eax, %ebx
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	movl	$0, %esi
	cmovll	%eax, %esi
	orl	%edx, %esi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	16(%r14), %r15
	movslq	4(%r14), %r13
	shlq	$5, %r13
	movq	_VMXNET3_MAP_SINGLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15,%r13)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rdi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	addq	%rcx, %rsi
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edx
	callq	_pci_map_single
	movq	%rax, 16(%r15,%r13)
	movl	%ebx, (%r15,%r13)
	movq	8(%r14), %r12
	movslq	4(%r14), %rbx
	shlq	$4, %rbx
	movl	(%r12,%rbx), %eax
	xorl	%edi, %edi
	cmpl	(%r14), %eax
	sete	%dil
	callq	_BUG_ON
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	16(%r15,%r13), %rdi
	callq	_cpu_to_le64
	movq	%rax, 8(%r12,%rbx)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le32
	movq	(%r12,%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	(%r12,%rbx), %rax
	movq	$0, 24(%rax)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movl	4(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r12,%rbx), %rdi
	callq	_le64_to_cpu
	movl	%eax, %r15d
	movq	(%r12,%rbx), %rax
	movq	16(%rax), %rdi
	callq	_le32_to_cpu
	movq	(%r12,%rbx), %rcx
	movq	24(%rcx), %r9
	movl	-112(%rbp), %edi                ## 4-byte Reload
	leaq	L_.str(%rip), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %ecx
	movq	%rax, %r8
	callq	_netdev_dbg
	movq	%r14, %rdi
	callq	_vmxnet3_cmd_ring_adv_next2fill
	movl	(%r14), %edx
	movq	_VMXNET3_TXD_GEN_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movslq	-76(%rbp), %rax                 ## 4-byte Folded Reload
	addq	%rax, %rcx
	subl	%eax, -64(%rbp)                 ## 4-byte Folded Spill
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	jne	LBB0_10
## %bb.11:
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	addq	%r13, -88(%rbp)                 ## 8-byte Folded Spill
	addq	%rbx, %r12
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r12, %rbx
	jmp	LBB0_5
LBB0_4:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_5:
	movq	%r14, %rdi
	callq	_skb_shinfo
	cmpl	$0, (%rax)
	movq	%r14, %r12
	jle	LBB0_16
## %bb.6:
	xorl	%r15d, %r15d
	movq	_VMXNET3_MAP_PAGE@GOTPCREL(%rip), %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-120(%rbp), %r15                ## 8-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r15
	movq	%r12, %rdi
	callq	_skb_shinfo
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jge	LBB0_16
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_skb_shinfo
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	leaq	(,%r15,4), %rbx
	addq	8(%rax), %rbx
	movq	%rbx, %rdi
	callq	_skb_frag_size
	testl	%eax, %eax
	je	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %ecx
	xorl	%edx, %edx
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movslq	4(%r13), %rbx
	shlq	$5, %rbx
	movq	_VMXNET3_MAX_TX_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	cmpl	%r14d, %ecx
	movl	$0, %r13d
	cmovll	%ecx, %r13d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %r15
	cmovll	%ecx, %r14d
	movl	%r14d, -76(%rbp)                ## 4-byte Spill
	orl	%esi, %r13d
	movq	_VMXNET3_MAP_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15,%rbx)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rdi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	%r14d, %ecx
	callq	_skb_frag_dma_map
	movq	%rax, 16(%r15,%rbx)
	movl	%r14d, (%r15,%rbx)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r14
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movslq	4(%rax), %r12
	shlq	$4, %r12
	movl	(%r14,%r12), %eax
	xorl	%edi, %edi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_BUG_ON
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	16(%r15,%rbx), %rdi
	callq	_cpu_to_le64
	movq	%rax, 8(%r14,%r12)
	movl	%r13d, %edi
	callq	_cpu_to_le32
	movq	(%r14,%r12), %rcx
	movq	%rax, 16(%rcx)
	movq	(%r14,%r12), %rax
	movq	$0, 24(%rax)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %r15d
	movq	8(%r14,%r12), %rdi
	callq	_le64_to_cpu
	movl	%eax, %r13d
	movq	(%r14,%r12), %rax
	movq	16(%rax), %rdi
	callq	_le32_to_cpu
	movq	(%r14,%r12), %rcx
	movq	24(%rcx), %r9
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, %r8
	callq	_netdev_dbg
	movq	%r13, %rdi
	callq	_vmxnet3_cmd_ring_adv_next2fill
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	(%r13), %esi
	movq	_VMXNET3_TXD_GEN_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %esi
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movslq	-76(%rbp), %rax                 ## 4-byte Folded Reload
	addq	%rax, %rdx
	subl	%eax, %ecx
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	addq	%rbx, -88(%rbp)                 ## 8-byte Folded Spill
	addq	%r12, %r14
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r14, %rbx
	movq	-120(%rbp), %r15                ## 8-byte Reload
	movq	_VMXNET3_MAP_PAGE@GOTPCREL(%rip), %r14
	jmp	LBB0_15
LBB0_16:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	%rbx, 16(%rax)
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, 8(%rcx)
	movq	8(%rax), %rax
	subq	8(%r13), %rax
	shrq	$4, %rax
	movl	%eax, 4(%rcx)
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VMXNET3_TXD_GEN_SHIFT,4,2      ## @VMXNET3_TXD_GEN_SHIFT
	.comm	_VMXNET3_MAP_NONE,4,2           ## @VMXNET3_MAP_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"txd[%u]: 0x%Lx 0x%x 0x%x\n"

	.comm	_VMXNET3_MAX_TX_BUF_SIZE,4,2    ## @VMXNET3_MAX_TX_BUF_SIZE
	.comm	_VMXNET3_MAP_SINGLE,4,2         ## @VMXNET3_MAP_SINGLE
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_VMXNET3_MAP_PAGE,4,2           ## @VMXNET3_MAP_PAGE
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
L_.str.1:                               ## @.str.1
	.asciz	"txd[%u]: 0x%llu %u %u\n"

	.no_dead_strip	_vmxnet3_map_pkt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmxnet3_map_pkt
_vmxnet3_map_pkt:                       ; @vmxnet3_map_pkt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x24, x4
	mov	x19, x2
	mov	x23, x1
	mov	x26, x0
	ldr	w20, [x1]
	bl	_skb_headlen
	cmp	w20, w0
	cset	w0, gt
	bl	_BUG_ON
	ldp	w9, w8, [x19]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	eor	w9, w9, #0x1
Lloh0:
	adrp	x27, _VMXNET3_TXD_GEN_SHIFT@GOTPAGE
Lloh1:
	ldr	x27, [x27, _VMXNET3_TXD_GEN_SHIFT@GOTPAGEOFF]
	ldr	w10, [x27]
	lsl	w21, w9, w10
	ldr	x9, [x19, #8]
	add	x22, x9, x8, lsl #4
	str	x22, [x23, #8]
	ldr	w9, [x23]
	str	x24, [sp, #40]                  ; 8-byte Folded Spill
	cbz	w9, LBB0_2
; %bb.1:
	ldr	x9, [x19, #24]
	add	x0, x9, x8, lsl #2
	bl	_cpu_to_le64
	ldr	x8, [x23, #8]
	str	x0, [x8, #8]
	ldr	w8, [x23]
	orr	w0, w8, w21
	bl	_cpu_to_le32
	ldr	x8, [x23, #8]
	ldr	x8, [x8]
	str	x0, [x8, #16]
	ldr	x8, [x23, #8]
	ldr	x8, [x8]
	str	xzr, [x8, #24]
	ldr	x8, [x19, #16]
	ldrsw	x20, [x19, #4]
Lloh2:
	adrp	x9, _VMXNET3_MAP_NONE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _VMXNET3_MAP_NONE@GOTPAGEOFF]
	mov	x25, x23
	add	x23, x8, x20, lsl #5
Lloh4:
	ldr	w8, [x9]
	str	w8, [x23, #24]
	ldr	w24, [x24]
	ldr	x8, [x25, #8]
	ldr	x0, [x8, #8]
	bl	_le64_to_cpu
	mov	x3, x0
	ldr	x8, [x25, #8]
	ldr	x8, [x8]
	ldp	x4, x5, [x8, #16]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	mov	x2, x20
	bl	_netdev_dbg
	mov	x0, x19
	bl	_vmxnet3_cmd_ring_adv_next2fill
	ldr	w8, [x19]
	ldr	w9, [x27]
	lsl	w21, w8, w9
	b	LBB0_3
LBB0_2:
	mov	x25, x23
	mov	x23, #0
LBB0_3:
	mov	x0, x26
	bl	_skb_headlen
	str	x25, [sp, #8]                   ; 8-byte Folded Spill
	ldrsw	x28, [x25]
	subs	w20, w0, w28
	str	x26, [sp, #24]                  ; 8-byte Folded Spill
	b.eq	LBB0_5
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
Lloh7:
	adrp	x8, _VMXNET3_MAX_TX_BUF_SIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VMXNET3_MAX_TX_BUF_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w20, w8
	csel	w24, w20, w8, lt
	csel	w8, w20, wzr, lt
	orr	w25, w8, w21
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #4]
	add	x23, x8, x9, lsl #5
Lloh10:
	adrp	x8, _VMXNET3_MAP_SINGLE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VMXNET3_MAP_SINGLE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x23, #24]
	ldr	x21, [sp, #40]                  ; 8-byte Folded Reload
	ldr	x0, [x21, #8]
	ldr	x8, [x26]
	add	x1, x8, x28
Lloh13:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	x2, x24
	bl	_pci_map_single
	str	x0, [x23, #16]
	str	w24, [x23]
	ldr	x8, [x19, #8]
	ldp	w10, w9, [x19]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	x22, x8, x9, lsl #4
	ldr	w8, [x22]
	cmp	w8, w10
	cset	w0, eq
	bl	_BUG_ON
	ldr	x0, [x23, #16]
	bl	_cpu_to_le64
	str	x0, [x22, #8]
	mov	x0, x25
	bl	_cpu_to_le32
	ldr	x8, [x22]
	str	x0, [x8, #16]
	ldr	x8, [x22]
	str	xzr, [x8, #24]
	ldr	w25, [x21]
	ldr	w26, [x19, #4]
	ldr	x0, [x22, #8]
	bl	_le64_to_cpu
	mov	x27, x0
	ldr	x8, [x22]
	ldr	x0, [x8, #16]
	bl	_le32_to_cpu
	mov	x4, x0
	ldr	x8, [x22]
	ldr	x5, [x8, #24]
	mov	x0, x25
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x26
	ldr	x26, [sp, #24]                  ; 8-byte Folded Reload
	mov	x3, x27
	bl	_netdev_dbg
	mov	x0, x19
	bl	_vmxnet3_cmd_ring_adv_next2fill
	ldr	w8, [x19]
Lloh18:
	adrp	x9, _VMXNET3_TXD_GEN_SHIFT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _VMXNET3_TXD_GEN_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	lsl	w21, w8, w9
	add	x28, x28, w24, sxtw
	subs	w20, w20, w24
	b.ne	LBB0_4
LBB0_5:
	mov	x0, x26
	bl	_skb_shinfo
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.6:
	mov	x20, #0
Lloh21:
	adrp	x24, _VMXNET3_MAX_TX_BUF_SIZE@GOTPAGE
Lloh22:
	ldr	x24, [x24, _VMXNET3_MAX_TX_BUF_SIZE@GOTPAGEOFF]
Lloh23:
	adrp	x27, l_.str.1@PAGE
Lloh24:
	add	x27, x27, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x20, x20, #1
	mov	x0, x26
	bl	_skb_shinfo
	ldrsw	x8, [x0]
	cmp	x20, x8
	b.ge	LBB0_12
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	mov	x0, x26
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x0, x8, x20, lsl #2
	mov	x28, x0
	bl	_skb_frag_size
	cbz	w0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x25, x0
	str	x20, [sp, #16]                  ; 8-byte Folded Spill
	mov	x26, #0
	str	x28, [sp, #32]                  ; 8-byte Folded Spill
LBB0_10:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #4]
	add	x23, x8, x9, lsl #5
	ldr	w8, [x24]
	cmp	w25, w8
	csel	w9, w25, wzr, lt
	orr	w28, w9, w21
	csel	w27, w25, w8, lt
Lloh25:
	adrp	x8, _VMXNET3_MAP_PAGE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _VMXNET3_MAP_PAGE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	w8, [x23, #24]
	ldp	x1, x20, [sp, #32]              ; 16-byte Folded Reload
	ldr	x0, [x20, #8]
Lloh28:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh30:
	ldr	w4, [x8]
	mov	x2, x26
	mov	x3, x27
	bl	_skb_frag_dma_map
	str	x0, [x23, #16]
	str	w27, [x23]
	ldr	x8, [x19, #8]
	ldp	w10, w9, [x19]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	x22, x8, x9, lsl #4
	ldr	w8, [x22]
	cmp	w8, w10
	cset	w0, eq
	bl	_BUG_ON
	ldr	x0, [x23, #16]
	bl	_cpu_to_le64
	str	x0, [x22, #8]
	mov	x0, x28
	bl	_cpu_to_le32
	ldr	x8, [x22]
	str	x0, [x8, #16]
	ldr	x8, [x22]
	str	xzr, [x8, #24]
	ldr	w28, [x20]
	ldr	w20, [x19, #4]
	ldr	x0, [x22, #8]
	bl	_le64_to_cpu
	mov	x21, x0
	ldr	x8, [x22]
	ldr	x0, [x8, #16]
	bl	_le32_to_cpu
	mov	x4, x0
	ldr	x8, [x22]
	ldr	x5, [x8, #24]
	mov	x0, x28
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	mov	x3, x21
	bl	_netdev_dbg
	mov	x0, x19
	bl	_vmxnet3_cmd_ring_adv_next2fill
	ldr	w8, [x19]
Lloh33:
	adrp	x9, _VMXNET3_TXD_GEN_SHIFT@GOTPAGE
Lloh34:
	ldr	x9, [x9, _VMXNET3_TXD_GEN_SHIFT@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	lsl	w21, w8, w9
	add	x26, x26, w27, sxtw
	subs	w25, w25, w27
	b.ne	LBB0_10
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldp	x20, x26, [sp, #16]             ; 16-byte Folded Reload
Lloh36:
	adrp	x27, l_.str.1@PAGE
Lloh37:
	add	x27, x27, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_12:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x22, [x8, #16]
	str	x26, [x23, #8]
	ldr	x8, [x8, #8]
	ldr	x9, [x19, #8]
	sub	x8, x8, x9
	lsr	x8, x8, #4
	str	w8, [x23, #4]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_VMXNET3_TXD_GEN_SHIFT,4,2      ; @VMXNET3_TXD_GEN_SHIFT
	.comm	_VMXNET3_MAP_NONE,4,2           ; @VMXNET3_MAP_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"txd[%u]: 0x%Lx 0x%x 0x%x\n"

	.comm	_VMXNET3_MAX_TX_BUF_SIZE,4,2    ; @VMXNET3_MAX_TX_BUF_SIZE
	.comm	_VMXNET3_MAP_SINGLE,4,2         ; @VMXNET3_MAP_SINGLE
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_VMXNET3_MAP_PAGE,4,2           ; @VMXNET3_MAP_PAGE
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
l_.str.1:                               ; @.str.1
	.asciz	"txd[%u]: 0x%llu %u %u\n"

	.no_dead_strip	_vmxnet3_map_pkt
.subsections_via_symbols
