	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8366_sw_get_vlan_info       ## -- Begin function rtl8366_sw_get_vlan_info
	.p2align	4, 0x90
_rtl8366_sw_get_vlan_info:              ## @rtl8366_sw_get_vlan_info
	.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
	movq	%rdx, %rbx
	callq	_sw_to_rtl8366_smi
	movq	%rax, %r13
	movq	(%rax), %r12
	movq	16(%rax), %rax
	movl	16(%rbx), %esi
	movq	%r13, %rdi
	callq	*8(%rax)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	16(%r13), %rax
	movl	16(%rbx), %esi
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movl	-56(%rbp), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movl	$8, %esi
	xorl	%eax, %eax
	callq	_snprintf
	movl	8(%r13), %edx
	testl	%edx, %edx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_8
## %bb.4:
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r14d
	cmpl	%edx, %r14d
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	-52(%rbp), %esi
	movl	$1, %ebx
	movl	%r14d, %ecx
	shll	%cl, %ebx
	btl	%r14d, %esi
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movslq	%eax, %r15
	leaq	(%r12,%r15), %rdi
	movl	$8, %esi
	subl	%r15d, %esi
	andl	-48(%rbp), %ebx
	leaq	L_.str.2(%rip), %r8
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %r8
	leaq	L_.str.1(%rip), %rdx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	addl	%r15d, %eax
	movl	8(%r13), %edx
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_8:
	movslq	%eax, %rbx
	leaq	(%r12,%rbx), %rdi
	movl	$8, %esi
	subl	%ebx, %esi
	movl	-52(%rbp), %ecx
	movl	-48(%rbp), %r8d
	movl	-44(%rbp), %r9d
	leaq	L_.str.4(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	addl	%ebx, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, 8(%rcx)
	movl	%eax, (%rcx)
	xorl	%eax, %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VLAN %d: Ports: '"

L_.str.1:                               ## @.str.1
	.asciz	"%d%s"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"t"

L_.str.4:                               ## @.str.4
	.asciz	"', members=%04x, untag=%04x, fid=%u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8366_sw_get_vlan_info       ; -- Begin function rtl8366_sw_get_vlan_info
	.p2align	2
_rtl8366_sw_get_vlan_info:              ; @rtl8366_sw_get_vlan_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	bl	_sw_to_rtl8366_smi
	mov	x21, x0
	ldr	x20, [x0]
	ldr	x8, [x0, #16]
	ldr	x8, [x8, #8]
	ldr	w1, [x19, #16]
	blr	x8
	cbz	w0, LBB0_7
; %bb.1:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
	ldr	w1, [x19, #16]
	add	x2, sp, #16
	mov	x0, x21
	blr	x8
	cbnz	w0, LBB0_9
; %bb.2:
	ldr	w3, [sp, #16]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w25, #8
	mov	x0, x20
	mov	w1, #8
	bl	_snprintf
	mov	x22, x0
	ldr	w8, [x21, #8]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.3:
	mov	w23, #0
	mov	w26, #1
Lloh2:
	adrp	x27, l_.str.2@PAGE
Lloh3:
	add	x27, x27, l_.str.2@PAGEOFF
Lloh4:
	adrp	x28, l_.str.3@PAGE
Lloh5:
	add	x28, x28, l_.str.3@PAGEOFF
Lloh6:
	adrp	x24, l_.str.1@PAGE
Lloh7:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w23, w23, #1
	cmp	w23, w8
	b.ge	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [sp, #20]
	lsl	w9, w26, w23
	tst	w10, w9
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x20, w22, sxtw
	sub	w1, w25, w22
	ldr	w8, [sp, #24]
	tst	w8, w9
	csel	x8, x28, x27, eq
	str	x8, [sp]
	mov	x2, x24
	mov	x3, x23
	bl	_snprintf
	add	w22, w0, w22
	ldr	w8, [x21, #8]
	b	LBB0_4
LBB0_7:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_8:
	add	x0, x20, w22, sxtw
	sub	w1, w25, w22
	ldp	w3, w8, [sp, #20]
	ldr	w9, [sp, #28]
	stp	x8, x9, [sp]
Lloh11:
	adrp	x2, l_.str.4@PAGE
Lloh12:
	add	x2, x2, l_.str.4@PAGEOFF
	bl	_snprintf
	mov	x8, x0
	mov	w0, #0
	add	w8, w8, w22
	str	x20, [x19, #8]
	str	w8, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VLAN %d: Ports: '"

l_.str.1:                               ; @.str.1
	.asciz	"%d%s"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"t"

l_.str.4:                               ; @.str.4
	.asciz	"', members=%04x, untag=%04x, fid=%u"

.subsections_via_symbols
