	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ap_sta_get_free_vlan_id
_ap_sta_get_free_vlan_id:               ## @ap_sta_get_free_vlan_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MAX_VLAN_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$2, %eax
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	movq	%rcx, %rdx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, (%rdx)
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_3
	jmp	LBB0_5
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%eax
	movq	%rcx, %rdx
	jmp	LBB0_3
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_VLAN_ID,4,2                ## @MAX_VLAN_ID
	.no_dead_strip	_ap_sta_get_free_vlan_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ap_sta_get_free_vlan_id
_ap_sta_get_free_vlan_id:               ; @ap_sta_get_free_vlan_id
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _MAX_VLAN_ID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_VLAN_ID@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w0, w9, #2
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x9, x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	cmp	w10, w0
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x9, #8]
	cbnz	x9, LBB0_2
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w0, w0, #1
	mov	x9, x8
	b	LBB0_2
LBB0_5:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_VLAN_ID,4,2                ; @MAX_VLAN_ID
	.no_dead_strip	_ap_sta_get_free_vlan_id
.subsections_via_symbols
