	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vnic_dev_init                  ## -- Begin function vnic_dev_init
	.p2align	4, 0x90
_vnic_dev_init:                         ## @vnic_dev_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	%esi, -36(%rbp)
	movl	$0, -40(%rbp)
	movq	_CMD_INIT@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_vnic_dev_capable
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	leaq	-36(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$1000, %r8d                     ## imm = 0x3E8
	callq	_vnic_dev_cmd
	movl	%eax, %r14d
	jmp	LBB0_4
LBB0_2:
	movq	_CMD_INIT_v1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$1000, %r8d                     ## imm = 0x3E8
	callq	_vnic_dev_cmd
	movq	_CMD_INITF_DEFAULT_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	testl	%eax, -36(%rbp)
	je	LBB0_4
## %bb.3:
	movq	_CMD_GET_MAC_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %r15
	leaq	-40(%rbp), %r12
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movq	%r12, %rcx
	movl	$1000, %r8d                     ## imm = 0x3E8
	callq	_vnic_dev_cmd
	movq	_CMD_ADDR_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movq	%r12, %rcx
	movl	$1000, %r8d                     ## imm = 0x3E8
	callq	_vnic_dev_cmd
LBB0_4:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_INIT,4,2                   ## @CMD_INIT
	.comm	_CMD_INIT_v1,4,2                ## @CMD_INIT_v1
	.comm	_CMD_INITF_DEFAULT_MAC,4,2      ## @CMD_INITF_DEFAULT_MAC
	.comm	_CMD_GET_MAC_ADDR,4,2           ## @CMD_GET_MAC_ADDR
	.comm	_CMD_ADDR_ADD,4,2               ## @CMD_ADDR_ADD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vnic_dev_init                  ; -- Begin function vnic_dev_init
	.p2align	2
_vnic_dev_init:                         ; @vnic_dev_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	stp	wzr, w1, [sp, #8]
Lloh0:
	adrp	x20, _CMD_INIT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CMD_INIT@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_vnic_dev_capable
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x20]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x19
	mov	w4, #1000
	bl	_vnic_dev_cmd
	b	LBB0_5
LBB0_2:
Lloh2:
	adrp	x8, _CMD_INIT_v1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CMD_INIT_v1@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x19
	mov	w4, #1000
	bl	_vnic_dev_cmd
	ldr	w8, [sp, #12]
Lloh5:
	adrp	x9, _CMD_INITF_DEFAULT_MAC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CMD_INITF_DEFAULT_MAC@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _CMD_GET_MAC_ADDR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CMD_GET_MAC_ADDR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x19
	mov	w4, #1000
	bl	_vnic_dev_cmd
Lloh11:
	adrp	x8, _CMD_ADDR_ADD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CMD_ADDR_ADD@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x19
	mov	w4, #1000
	bl	_vnic_dev_cmd
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_INIT,4,2                   ; @CMD_INIT
	.comm	_CMD_INIT_v1,4,2                ; @CMD_INIT_v1
	.comm	_CMD_INITF_DEFAULT_MAC,4,2      ; @CMD_INITF_DEFAULT_MAC
	.comm	_CMD_GET_MAC_ADDR,4,2           ; @CMD_GET_MAC_ADDR
	.comm	_CMD_ADDR_ADD,4,2               ; @CMD_ADDR_ADD
.subsections_via_symbols
