	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swconfig_set_vlan_ports
_swconfig_set_vlan_ports:               ## @swconfig_set_vlan_ports
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	8(%rdx), %eax
	cmpl	8(%rdi), %eax
	jge	LBB0_1
## %bb.3:
	movq	%rdx, %r14
	movq	%rdi, %r12
	movq	(%rdx), %rax
	movq	(%rdi), %rcx
	cmpq	%rcx, %rax
	jle	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	16(%r12), %r15
	movq	(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.5:
	testq	%rax, %rax
	jle	LBB0_15
## %bb.6:
	movq	16(%r14), %r13
	movq	(%r13), %rsi
	cmpq	%rcx, %rsi
	jge	LBB0_1
## %bb.7:
	addq	$16, %r13
	xorl	%ebx, %ebx
	movq	_SWITCH_PORT_FLAG_TAGGED@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	-8(%r13), %edx
	movl	(%r8), %edi
	btl	%edi, %edx
	jb	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	8(%r14), %edx
	movq	%r12, %rdi
	callq	*%rcx
	movq	_SWITCH_PORT_FLAG_TAGGED@GOTPCREL(%rip), %r8
	movq	(%r14), %rax
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	jle	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r13), %rsi
	addq	$16, %r13
	cmpq	(%r12), %rsi
	jl	LBB0_8
	jmp	LBB0_1
LBB0_13:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_14:
	movq	(%r15), %rdx
LBB0_15:
	movq	%r12, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rdx                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_SWITCH_PORT_FLAG_TAGGED,4,2    ## @SWITCH_PORT_FLAG_TAGGED
	.no_dead_strip	_swconfig_set_vlan_ports
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swconfig_set_vlan_ports
_swconfig_set_vlan_ports:               ; @swconfig_set_vlan_ports
	.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
	ldr	w8, [x2, #8]
	ldr	w9, [x0, #8]
	cmp	w8, w9
	b.ge	LBB0_2
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	ldr	x8, [x2]
	ldr	x9, [x0]
	cmp	x8, x9
	b.le	LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w0, w8
	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_4:
	ldr	x21, [x20, #16]
	ldr	x2, [x21]
	cbz	x2, LBB0_13
; %bb.5:
	cmp	x8, #1
	b.lt	LBB0_15
; %bb.6:
	ldr	x10, [x19, #16]
	ldr	x1, [x10]
	cmp	x1, x9
	b.ge	LBB0_2
; %bb.7:
	mov	x22, #0
	add	x23, x10, #16
Lloh2:
	adrp	x24, _SWITCH_PORT_FLAG_TAGGED@GOTPAGE
Lloh3:
	ldr	x24, [x24, _SWITCH_PORT_FLAG_TAGGED@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #8]
	cbz	x9, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldur	w10, [x23, #-8]
	ldr	w11, [x24]
	lsr	w10, w10, w11
	tbnz	w10, #0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w2, [x19, #8]
	mov	x0, x20
	blr	x9
	ldr	x8, [x19]
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x22, x22, #1
	cmp	x8, x22
	b.le	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x1, [x23], #16
	ldr	x9, [x20]
	cmp	x1, x9
	b.lt	LBB0_8
	b	LBB0_2
LBB0_13:
Lloh4:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_3
LBB0_14:
	ldr	x2, [x21]
LBB0_15:
	mov	x0, x20
	mov	x1, x19
	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
	br	x2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_SWITCH_PORT_FLAG_TAGGED,4,2    ; @SWITCH_PORT_FLAG_TAGGED
	.no_dead_strip	_swconfig_set_vlan_ports
.subsections_via_symbols
