	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r13
	movl	(%rsi), %ebx
	callq	_skb_headlen
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	setg	%dil
	callq	_BUG_ON
	movq	%r14, %rdx
	movl	8(%r14), %r14d
	xorl	$1, %r14d
	movq	_VMXNET3_TXD_GEN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r14d
	movslq	12(%rdx), %rax
	movq	%rax, %rcx
	shlq	$4, %rcx
	addq	16(%rdx), %rcx
	leaq	8(%rdx), %rbx
	movq	%rcx, 8(%r12)
	cmpl	$0, (%r12)
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movslq	(%rdx), %rdi
	imulq	%rax, %rdi
	addq	32(%rdx), %rdi
	movq	%rdx, %rbx
	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	24(%rbx), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movslq	12(%rcx), %r14
	movq	%r14, %rcx
	shlq	$5, %rcx
	leaq	(%rax,%rcx), %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	_VMXNET3_MAP_NONE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 24(%rax,%rcx)
	movl	(%r15), %r15d
	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	%r15d, %edi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_netdev_dbg
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_vmxnet3_cmd_ring_adv_next2fill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %r14d
	movq	_VMXNET3_TXD_GEN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r14d
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_3:
	movq	%r13, %rdi
	callq	_skb_headlen
	movslq	(%r12), %rcx
	subl	%ecx, %eax
	movq	%r12, -144(%rbp)                ## 8-byte Spill
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	je	LBB0_4
## %bb.14:
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %r12d
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	_VMXNET3_MAX_TX_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	cmpl	%r15d, %r12d
	movl	%r15d, %edx
	cmovll	%r12d, %edx
	movq	24(%rsi), %r13
	movslq	12(%rsi), %rbx
	movq	_VMXNET3_MAP_SINGLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$5, %rbx
	movl	%eax, 24(%r13,%rbx)
	movq	8(%r14), %rdi
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rsi
	addq	%rcx, %rsi
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	callq	_dma_map_single
	movq	%rax, 16(%r13,%rbx)
	movq	8(%r14), %rdi
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%r12d, %ecx
	leaq	(%rbx,%r13), %rax
	addq	$16, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	cmpl	%r15d, %r12d
	movl	$0, %r12d
	cmovll	%ecx, %r12d
	orl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r13,%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, %r13d
	movslq	12(%rax), %r15
	shlq	$4, %r15
	movl	(%rbx,%r15), %eax
	xorl	%edi, %edi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	8(%rcx), %eax
	sete	%dil
	callq	_BUG_ON
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_cpu_to_le64
	movq	%rax, 8(%rbx,%r15)
	movl	%r12d, %edi
	movl	%r13d, %r12d
	callq	_cpu_to_le32
	movq	(%rbx,%r15), %rcx
	movq	%rax, 16(%rcx)
	movq	(%rbx,%r15), %rax
	movq	$0, 24(%rax)
	movl	(%r14), %r13d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%rbx,%r15), %rdi
	callq	_le64_to_cpu
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	(%rbx,%r15), %rax
	movq	16(%rax), %rdi
	callq	_le32_to_cpu
	movq	(%rbx,%r15), %rcx
	movq	24(%rcx), %r9
	movl	%r13d, %edi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
	movq	%rax, %r8
	callq	_netdev_dbg
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_vmxnet3_cmd_ring_adv_next2fill
	movq	%r13, %rsi
	movl	8(%r13), %edx
	movq	_VMXNET3_TXD_GEN_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	movslq	%edx, %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	addq	%rax, %rcx
	subl	%edx, %r12d
	jne	LBB0_15
## %bb.19:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	-128(%rbp), %rax                ## 8-byte Folded Reload
	addq	%r15, %rbx
	movq	-144(%rbp), %r12                ## 8-byte Reload
	movq	%rbx, %r14
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	%rax, %r15
	jmp	LBB0_5
LBB0_4:
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_5:
	movq	%r13, %rdi
	callq	_skb_shinfo
	cmpl	$0, (%rax)
	jle	LBB0_13
## %bb.6:
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movq	%r13, %rdi
	callq	_skb_shinfo
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_13
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	%r13, %rdi
	callq	_skb_shinfo
	leaq	(,%rbx,4), %rdi
	addq	8(%rax), %rdi
	movq	%rdi, -160(%rbp)                ## 8-byte Spill
	callq	_skb_frag_size
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %ecx
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	xorl	%edx, %edx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, %r15d
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	24(%r13), %r14
	movslq	12(%r13), %r13
	movq	_VMXNET3_MAX_TX_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	cmpl	%r12d, %r15d
	movl	%r12d, %ebx
	cmovll	%r15d, %ebx
	movq	_VMXNET3_MAP_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$5, %r13
	movl	%eax, 24(%r14,%r13)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, %ecx
	callq	_skb_frag_dma_map
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, 16(%r14,%r13)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rdi
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r14,%rax), %rcx
	addq	$16, %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	cmpl	%r12d, %r15d
	movl	%r15d, -64(%rbp)                ## 4-byte Spill
	movl	$0, %r15d
	cmovll	-64(%rbp), %r15d                ## 4-byte Folded Reload
	orl	-44(%rbp), %r15d                ## 4-byte Folded Reload
	movl	%ebx, (%r14,%rax)
	movl	%ebx, -128(%rbp)                ## 4-byte Spill
	movq	16(%r13), %r12
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movslq	12(%r13), %r14
	shlq	$4, %r14
	movl	(%r12,%r14), %eax
	xorl	%edi, %edi
	cmpl	8(%r13), %eax
	sete	%dil
	callq	_BUG_ON
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_cpu_to_le64
	movq	%rax, 8(%r12,%r14)
	movl	%r15d, %edi
	movl	-64(%rbp), %r15d                ## 4-byte Reload
	callq	_cpu_to_le32
	movq	(%r12,%r14), %rcx
	movq	%rax, 16(%rcx)
	movq	(%r12,%r14), %rax
	movq	$0, 24(%rax)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movl	12(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r12,%r14), %rdi
	callq	_le64_to_cpu
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	movq	(%r12,%r14), %rax
	movq	16(%rax), %rdi
	callq	_le32_to_cpu
	movq	%r12, %rbx
	movq	(%r12,%r14), %rcx
	movq	24(%rcx), %r9
	movl	-120(%rbp), %edi                ## 4-byte Reload
	leaq	L_.str.1(%rip), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-132(%rbp), %ecx                ## 4-byte Reload
	movq	%rax, %r8
	callq	_netdev_dbg
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_vmxnet3_cmd_ring_adv_next2fill
	movl	8(%r13), %edx
	movq	_VMXNET3_TXD_GEN_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	-128(%rbp), %ecx                ## 4-byte Reload
	movslq	%ecx, %rax
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	addq	%rax, %rdx
	subl	%ecx, %r15d
	jne	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	addq	-88(%rbp), %r15                 ## 8-byte Folded Reload
	addq	%r14, %rbx
	movq	-144(%rbp), %r12                ## 8-byte Reload
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	%rbx, %r14
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_12
LBB0_16:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_17
LBB0_13:
	movq	%r14, 16(%r12)
	movq	%r13, 8(%r15)
	movq	8(%r12), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	subq	16(%rcx), %rax
	shrq	$4, %rax
	movl	%eax, 4(%r15)
	xorl	%eax, %eax
LBB0_17:
	addq	$120, %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	_EFAULT,4,2                     ## @EFAULT
	.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%llx %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	x21, x4
	mov	x19, x2
	mov	x26, x1
	mov	x28, x0
	ldr	w20, [x1]
	bl	_skb_headlen
	cmp	w20, w0
	cset	w0, gt
	bl	_BUG_ON
	mov	x27, x19
	ldr	w8, [x27, #8]!
	eor	w8, w8, #0x1
Lloh0:
	adrp	x9, _VMXNET3_TXD_GEN_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VMXNET3_TXD_GEN_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w20, w8, w9
	ldr	x9, [x27, #8]
	ldrsw	x8, [x27, #4]
	add	x22, x9, x8, lsl #4
	str	x22, [x26, #8]
	ldr	w9, [x26]
	str	x21, [sp, #32]                  ; 8-byte Folded Spill
	cbz	w9, LBB0_2
; %bb.1:
	ldr	x9, [x19, #32]
	ldrsw	x10, [x19]
	madd	x0, x10, x8, x9
	bl	_cpu_to_le64
	ldr	x8, [x26, #8]
	str	x0, [x8, #8]
	ldr	w8, [x26]
	orr	w0, w8, w20
	bl	_cpu_to_le32
	ldr	x8, [x26, #8]
	ldr	x8, [x8]
	str	x0, [x8, #16]
	ldr	x8, [x26, #8]
	ldr	x8, [x8]
	str	xzr, [x8, #24]
	ldr	x8, [x19, #24]
	ldrsw	x24, [x19, #12]
Lloh3:
	adrp	x9, _VMXNET3_MAP_NONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VMXNET3_MAP_NONE@GOTPAGEOFF]
	add	x23, x8, x24, lsl #5
Lloh5:
	ldr	w8, [x9]
	str	w8, [x23, #24]
	ldr	w25, [x21]
	ldr	x8, [x26, #8]
	ldr	x0, [x8, #8]
	bl	_le64_to_cpu
	mov	x3, x0
	ldr	x8, [x26, #8]
	ldr	x8, [x8]
	ldp	x4, x5, [x8, #16]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x25
	mov	x2, x24
	bl	_netdev_dbg
	mov	x0, x27
	bl	_vmxnet3_cmd_ring_adv_next2fill
	ldr	w8, [x19, #8]
Lloh8:
	adrp	x9, _VMXNET3_TXD_GEN_SHIFT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VMXNET3_TXD_GEN_SHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	lsl	w20, w8, w9
	b	LBB0_3
LBB0_2:
	mov	x23, #0
LBB0_3:
	mov	x0, x28
	bl	_skb_headlen
	ldrsw	x21, [x26]
	subs	w24, w0, w21
	str	x26, [sp, #16]                  ; 8-byte Folded Spill
	str	x27, [sp, #40]                  ; 8-byte Folded Spill
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
Lloh11:
	adrp	x8, _VMXNET3_MAX_TX_BUF_SIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VMXNET3_MAX_TX_BUF_SIZE@GOTPAGEOFF]
Lloh13:
	ldr	w22, [x8]
	cmp	w24, w22
	csel	w25, w24, w22, lt
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #12]
Lloh14:
	adrp	x10, _VMXNET3_MAP_SINGLE@GOTPAGE
Lloh15:
	ldr	x10, [x10, _VMXNET3_MAP_SINGLE@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	add	x23, x8, x9, lsl #5
	str	w10, [x23, #24]
	ldr	x26, [sp, #32]                  ; 8-byte Folded Reload
	ldr	x0, [x26, #8]
	ldr	x8, [x28]
	add	x1, x8, x21
Lloh17:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	mov	x2, x25
	bl	_dma_map_single
	mov	x1, x0
	mov	x27, x23
	str	x0, [x27, #16]!
	ldr	x0, [x26, #8]
	bl	_dma_mapping_error
	cbnz	x0, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w24, w22
	csel	w8, w24, wzr, lt
	orr	w26, w8, w20
	str	w25, [x23]
	ldr	x8, [x19, #16]
	ldp	w10, w9, [x19, #8]
                                        ; 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, [x27]
	bl	_cpu_to_le64
	str	x0, [x22, #8]
	mov	x0, x26
	bl	_cpu_to_le32
	ldr	x8, [x22]
	str	x0, [x8, #16]
	ldr	x8, [x22]
	str	xzr, [x8, #24]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w26, [x8]
	ldr	w27, [x19, #12]
	ldr	x0, [x22, #8]
	bl	_le64_to_cpu
	mov	x20, x28
	mov	x28, x0
	ldr	x8, [x22]
	ldr	x0, [x8, #16]
	bl	_le32_to_cpu
	mov	x4, x0
	ldr	x8, [x22]
	ldr	x5, [x8, #24]
	mov	x0, x26
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x27
	mov	x3, x28
	mov	x28, x20
	bl	_netdev_dbg
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_vmxnet3_cmd_ring_adv_next2fill
	ldr	w8, [x19, #8]
Lloh22:
	adrp	x9, _VMXNET3_TXD_GEN_SHIFT@GOTPAGE
Lloh23:
	ldr	x9, [x9, _VMXNET3_TXD_GEN_SHIFT@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	lsl	w20, w8, w9
	add	x21, x21, w25, sxtw
	subs	w24, w24, w25
	b.ne	LBB0_4
LBB0_6:
	mov	x0, x28
	bl	_skb_shinfo
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.7:
	mov	x21, #0
	str	x28, [sp]                       ; 8-byte Folded Spill
	ldr	x25, [sp, #32]                  ; 8-byte Folded Reload
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x21, x21, #1
	mov	x0, x28
	bl	_skb_shinfo
	ldrsw	x8, [x0]
	cmp	x21, x8
	b.ge	LBB0_15
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	mov	x0, x28
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x0, x8, x21, lsl #2
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	bl	_skb_frag_size
	cbz	w0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x26, x0
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	mov	x27, #0
LBB0_11:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #12]
Lloh25:
	adrp	x10, _VMXNET3_MAX_TX_BUF_SIZE@GOTPAGE
Lloh26:
	ldr	x10, [x10, _VMXNET3_MAX_TX_BUF_SIZE@GOTPAGEOFF]
Lloh27:
	ldr	w21, [x10]
	cmp	w26, w21
	csel	w28, w26, w21, lt
Lloh28:
	adrp	x10, _VMXNET3_MAP_PAGE@GOTPAGE
Lloh29:
	ldr	x10, [x10, _VMXNET3_MAP_PAGE@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	add	x23, x8, x9, lsl #5
	str	w10, [x23, #24]
	ldr	x0, [x25, #8]
Lloh31:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh33:
	ldr	w4, [x8]
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	mov	x2, x27
	mov	x3, x28
	bl	_skb_frag_dma_map
	mov	x1, x0
	mov	x24, x23
	str	x0, [x24, #16]!
	ldr	x0, [x25, #8]
	bl	_dma_mapping_error
	cbnz	x0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	cmp	w26, w21
	csel	w8, w26, wzr, lt
	orr	w20, w8, w20
	str	w28, [x23]
	ldr	x8, [x19, #16]
	ldp	w10, w9, [x19, #8]
                                        ; 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, [x24]
	bl	_cpu_to_le64
	str	x0, [x22, #8]
	mov	x0, x20
	bl	_cpu_to_le32
	ldr	x8, [x22]
	str	x0, [x8, #16]
	ldr	x8, [x22]
	str	xzr, [x8, #24]
	ldr	w20, [x25]
	ldr	w24, [x19, #12]
	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, x20
Lloh34:
	adrp	x1, l_.str.1@PAGE
Lloh35:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x24
	mov	x3, x21
	bl	_netdev_dbg
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_vmxnet3_cmd_ring_adv_next2fill
	ldr	w8, [x19, #8]
Lloh36:
	adrp	x9, _VMXNET3_TXD_GEN_SHIFT@GOTPAGE
Lloh37:
	ldr	x9, [x9, _VMXNET3_TXD_GEN_SHIFT@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	lsl	w20, w8, w9
	add	x27, x27, w28, sxtw
	subs	w26, w26, w28
	b.ne	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	ldp	x28, x21, [sp]                  ; 16-byte Folded Reload
	b	LBB0_8
LBB0_14:
Lloh39:
	adrp	x8, _EFAULT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
LBB0_15:
	mov	w0, #0
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	x22, [x8, #16]
	str	x28, [x23, #8]
	ldr	x8, [x8, #8]
	ldr	x9, [x19, #16]
	sub	x8, x8, x9
	lsr	x8, x8, #4
	str	w8, [x23, #4]
LBB0_16:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.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	_EFAULT,4,2                     ; @EFAULT
	.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%llx %u %u\n"

	.no_dead_strip	_vmxnet3_map_pkt
.subsections_via_symbols
