	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CiGetFirstVLan                 ## -- Begin function CiGetFirstVLan
	.p2align	4, 0x90
_CiGetFirstVLan:                        ## @CiGetFirstVLan
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_Zero
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_CtEnumVLan
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movl	-32(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.3:
	movq	-24(%rbp), %rcx
	movq	(%rcx), %rsi
	movq	(%rsi), %rdi
	movl	$1, %edx
	cmpq	$0, 8(%rsi)
	jne	LBB0_4
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rcx,%rdx,8), %rsi
	incq	%rdx
	cmpq	$0, 8(%rsi)
	je	LBB0_5
LBB0_4:
	movq	(%rsi), %rdi
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, %rax
	jne	LBB0_6
## %bb.8:
	callq	_CopyStr
	movq	%rax, %rbx
	jmp	LBB0_11
LBB0_7:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	leaq	-32(%rbp), %rdi
	callq	_CiFreeClientEnumVLan
LBB0_12:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CiGetFirstVLan                 ; -- Begin function CiGetFirstVLan
	.p2align	2
_CiGetFirstVLan:                        ; @CiGetFirstVLan
	.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
	cbz	x0, LBB0_12
; %bb.1:
	mov	x0, sp
	mov	w1, #16
	bl	_Zero
	mov	x1, sp
	mov	x0, x19
	bl	_CtEnumVLan
	cbz	w0, LBB0_9
; %bb.2:
	ldr	w9, [sp]
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.3:
	ldr	x8, [sp, #8]
	ldr	x10, [x8], #8
	ldr	x0, [x10]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x9, x9, #1
	ldr	x11, [x10, #8]
	cbz	x11, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x10]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	x9, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x8], #8
	b	LBB0_4
LBB0_8:
	bl	_CopyStr
	mov	x19, x0
	b	LBB0_11
LBB0_9:
	mov	x19, #0
	b	LBB0_12
LBB0_10:
	mov	x19, #0
LBB0_11:
	mov	x0, sp
	bl	_CiFreeClientEnumVLan
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
