	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmxnet3_tq_init
_vmxnet3_tq_init:                       ## @vmxnet3_tq_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	40(%rdi), %rdi
	movl	8(%rbx), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, 24(%rbx)
	movq	_VMXNET3_INIT_GEN@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, 16(%rbx)
	movq	88(%rbx), %rdi
	movl	80(%rbx), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	72(%rbx), %rdi
	movl	48(%rbx), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	$0, 64(%rbx)
	movq	(%r14), %rax
	movq	%rax, 56(%rbx)
	movq	(%rbx), %rdi
	movl	8(%rbx), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movl	8(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_18
## %bb.1:
	movq	(%rbx), %rcx
	cmpl	$8, %eax
	jb	LBB0_2
## %bb.3:
	movq	_VMXNET3_MAP_NONE@GOTPCREL(%rip), %r8
	leaq	4(%r8), %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_6
## %bb.4:
	leaq	(%rcx,%rax,4), %rdx
	cmpq	_VMXNET3_MAP_NONE@GOTPCREL(%rip), %rdx
	jbe	LBB0_6
LBB0_2:
	xorl	%edx, %edx
LBB0_12:
	movq	%rdx, %r8
	notq	%r8
	addq	%rax, %r8
	movq	%rax, %rdi
	andq	$3, %rdi
	je	LBB0_15
## %bb.13:
	movq	_VMXNET3_MAP_NONE@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movl	%esi, (%rcx,%rdx,4)
	incq	%rdx
	decq	%rdi
	jne	LBB0_14
LBB0_15:
	cmpq	$3, %r8
	jb	LBB0_18
## %bb.16:
	movq	_VMXNET3_MAP_NONE@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %edi
	movl	%edi, (%rcx,%rdx,4)
	movl	(%rsi), %edi
	movl	%edi, 4(%rcx,%rdx,4)
	movl	(%rsi), %edi
	movl	%edi, 8(%rcx,%rdx,4)
	movl	(%rsi), %edi
	movl	%edi, 12(%rcx,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_17
	jmp	LBB0_18
LBB0_6:
	movl	%eax, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rdi
	movq	%rdi, %rsi
	shrq	$3, %rsi
	incq	%rsi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.7:
	movq	%rsi, %rdi
	andq	$-2, %rdi
	movd	(%r8), %xmm0                    ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rcx,%rbx,4)
	movdqu	%xmm0, 16(%rcx,%rbx,4)
	movdqu	%xmm0, 32(%rcx,%rbx,4)
	movdqu	%xmm0, 48(%rcx,%rbx,4)
	addq	$16, %rbx
	addq	$-2, %rdi
	jne	LBB0_8
## %bb.9:
	testb	$1, %sil
	je	LBB0_11
LBB0_10:
	movd	(%r8), %xmm0                    ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqu	%xmm0, (%rcx,%rbx,4)
	movdqu	%xmm0, 16(%rcx,%rbx,4)
LBB0_11:
	cmpq	%rax, %rdx
	jne	LBB0_12
LBB0_18:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_19:
	xorl	%ebx, %ebx
	testb	$1, %sil
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_VMXNET3_INIT_GEN,8,3           ## @VMXNET3_INIT_GEN
	.comm	_VMXNET3_MAP_NONE,4,2           ## @VMXNET3_MAP_NONE
	.no_dead_strip	_vmxnet3_tq_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmxnet3_tq_init
_vmxnet3_tq_init:                       ; @vmxnet3_tq_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0, #40]
	ldr	w8, [x19, #8]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	str	xzr, [x19, #32]
Lloh0:
	adrp	x20, _VMXNET3_INIT_GEN@GOTPAGE
Lloh1:
	ldr	x20, [x20, _VMXNET3_INIT_GEN@GOTPAGEOFF]
	ldr	x8, [x20]
	stp	x8, xzr, [x19, #16]
	ldr	x0, [x19, #88]
	ldr	w8, [x19, #80]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	ldr	x0, [x19, #72]
	ldr	w8, [x19, #48]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	ldr	x8, [x20]
	stp	x8, xzr, [x19, #56]
	ldr	x0, [x19]
	ldr	w8, [x19, #8]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	ldr	w9, [x19, #8]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.1:
	ldr	x10, [x19]
Lloh2:
	adrp	x8, _VMXNET3_MAP_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VMXNET3_MAP_NONE@GOTPAGEOFF]
	cmp	w9, #16
	b.lo	LBB0_4
; %bb.2:
	add	x11, x8, #4
	cmp	x10, x11
	b.hs	LBB0_8
; %bb.3:
	add	x11, x10, x9, lsl #2
	cmp	x11, x8
	b.ls	LBB0_8
LBB0_4:
	mov	x11, #0
LBB0_5:
	add	x10, x10, x11, lsl #2
	sub	x9, x9, x11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	str	w11, [x10], #4
	subs	x9, x9, #1
	b.ne	LBB0_6
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	and	x11, x9, #0xfffffff0
	ld1r.4s	{ v0 }, [x8]
	add	x12, x10, #32
	mov	x13, x11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x12, #-32]
	stp	q0, q0, [x12], #64
	subs	x13, x13, #16
	b.ne	LBB0_9
; %bb.10:
	cmp	x11, x9
	b.eq	LBB0_7
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_VMXNET3_INIT_GEN,8,3           ; @VMXNET3_INIT_GEN
	.comm	_VMXNET3_MAP_NONE,4,2           ; @VMXNET3_MAP_NONE
	.no_dead_strip	_vmxnet3_tq_init
.subsections_via_symbols
