	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vnic_dev_cmd_proxy
_vnic_dev_cmd_proxy:                    ## @vnic_dev_cmd_proxy
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, %r13
	movq	%rcx, %r14
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	8(%rbx), %eax
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	%r12d, 4(%rcx)
	movl	(%r14), %eax
	movl	%eax, 8(%rcx)
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	(%r13), %eax
	movl	%eax, 12(%rcx)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	*16(%rbx)
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_1
LBB0_6:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r14, %rdx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	_STAT_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	4(%rax), %r13d
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.2:
	movq	_ERR_ECMDUNKNOWN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_4
## %bb.3:
	movq	_CMD_CAPABILITY@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	je	LBB0_6
LBB0_4:
	movl	%r12d, %edi
	callq	__CMD_N
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_vdev_neterr
	jmp	LBB0_6
LBB0_5:
	movslq	%r13d, %rax
	movq	%rax, (%rdx)
	movq	(%rbx), %rax
	movslq	8(%rax), %rax
	movq	%rax, (%r14)
	xorl	%r13d, %r13d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_STAT_ERROR,4,2                 ## @STAT_ERROR
	.comm	_ERR_ECMDUNKNOWN,4,2            ## @ERR_ECMDUNKNOWN
	.comm	_CMD_CAPABILITY,4,2             ## @CMD_CAPABILITY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error %d proxy devcmd %d\n"

	.no_dead_strip	_vnic_dev_cmd_proxy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vnic_dev_cmd_proxy
_vnic_dev_cmd_proxy:                    ; @vnic_dev_cmd_proxy
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x5
	mov	x21, x4
	mov	x23, x3
	mov	x20, x2
	mov	x24, x1
	mov	x19, x0
	ldr	x0, [x0]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w8, [x19, #8]
	ldr	x9, [x19]
	stp	w8, w20, [x9]
	ldr	x8, [x23]
	ldr	x10, [x21]
	stp	w8, w10, [x9, #8]
	ldr	x8, [x19, #16]
	mov	x0, x19
	mov	x1, x24
	mov	x2, x22
	blr	x8
	mov	x22, x0
	cbz	w0, LBB0_2
LBB0_1:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _STAT_ERROR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STAT_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldp	w10, w22, [x8]
	tst	w9, w10
	b.eq	LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, _ERR_ECMDUNKNOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_ECMDUNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _CMD_CAPABILITY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CMD_CAPABILITY@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w22, w8
	ccmp	w9, w20, #0, eq
	b.eq	LBB0_1
; %bb.4:
	mov	x0, x20
	bl	__CMD_N
	mov	x3, x0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_vdev_neterr
	b	LBB0_1
LBB0_5:
	sxtw	x8, w22
	mov	w22, #0
	str	x8, [x23]
	ldr	x8, [x19]
	ldrsw	x8, [x8, #8]
	str	x8, [x21]
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_STAT_ERROR,4,2                 ; @STAT_ERROR
	.comm	_ERR_ECMDUNKNOWN,4,2            ; @ERR_ECMDUNKNOWN
	.comm	_CMD_CAPABILITY,4,2             ; @CMD_CAPABILITY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error %d proxy devcmd %d\n"

	.no_dead_strip	_vnic_dev_cmd_proxy
.subsections_via_symbols
