	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmxnet3_open
_vmxnet3_open:                          ## @vmxnet3_open
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_netdev_priv
	movq	%rax, %r15
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	addq	%r14, %rdi
	callq	_spin_lock_init
	incq	%rbx
	movslq	(%r15), %rax
	addq	$4, %r14
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_VMXNET3_DEF_TX_RING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VMXNET3_DEF_RX_RING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ecx, %edx
	callq	_vmxnet3_create_queues
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	%r15, %rdi
	callq	_vmxnet3_activate_dev
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_vmxnet3_rq_destroy_all
	movq	%r15, %rdi
	callq	_vmxnet3_tq_destroy_all
	jmp	LBB0_7
LBB0_5:
	xorl	%r14d, %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VMXNET3_DEF_TX_RING_SIZE,4,2   ## @VMXNET3_DEF_TX_RING_SIZE
	.comm	_VMXNET3_DEF_RX_RING_SIZE,4,2   ## @VMXNET3_DEF_RX_RING_SIZE
	.no_dead_strip	_vmxnet3_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmxnet3_open
_vmxnet3_open:                          ; @vmxnet3_open
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_netdev_priv
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x20
	bl	_spin_lock_init
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #4
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
Lloh0:
	adrp	x8, _VMXNET3_DEF_TX_RING_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VMXNET3_DEF_TX_RING_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _VMXNET3_DEF_RX_RING_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VMXNET3_DEF_RX_RING_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x2
	bl	_vmxnet3_create_queues
	mov	x20, x0
	cbnz	w0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_vmxnet3_activate_dev
	mov	x20, x0
	cbz	w0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_vmxnet3_rq_destroy_all
	mov	x0, x19
	bl	_vmxnet3_tq_destroy_all
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VMXNET3_DEF_TX_RING_SIZE,4,2   ; @VMXNET3_DEF_TX_RING_SIZE
	.comm	_VMXNET3_DEF_RX_RING_SIZE,4,2   ; @VMXNET3_DEF_RX_RING_SIZE
	.no_dead_strip	_vmxnet3_open
.subsections_via_symbols
