	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vlan_status
_vlan_status:                           ## @vlan_status
	.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
	movl	%edi, %ebx
	movq	_ifr@GOTPCREL(%rip), %r14
	leaq	-32(%rbp), %rdx
	movq	%r14, %rsi
	callq	_getvlan
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.1:
	movl	-32(%rbp), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_SIOCGVLANPCP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	_ifr@GOTPCREL(%rip), %edx
	movl	%ebx, %edi
	callq	_ioctl
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.2:
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_3:
	movq	-24(%rbp), %rax
	cmpb	$0, (%rax)
	leaq	L_.str.3(%rip), %rsi
	cmovneq	%rax, %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	$10, %edi
	callq	_putchar
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ifr,4,2                        ## @ifr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tvlan: %d"

	.comm	_SIOCGVLANPCP,4,2               ## @SIOCGVLANPCP
L_.str.1:                               ## @.str.1
	.asciz	" vlanpcp: %u"

L_.str.2:                               ## @.str.2
	.asciz	" parent interface: %s"

L_.str.3:                               ## @.str.3
	.asciz	"<none>"

	.no_dead_strip	_vlan_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vlan_status
_vlan_status:                           ; @vlan_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
Lloh0:
	adrp	x1, _ifr@GOTPAGE
Lloh1:
	ldr	x1, [x1, _ifr@GOTPAGEOFF]
	add	x2, sp, #16
	bl	_getvlan
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.1:
	ldr	w8, [sp, #16]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh4:
	adrp	x8, _SIOCGVLANPCP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SIOCGVLANPCP@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x20, _ifr@GOTPAGE
Lloh8:
	ldr	x20, [x20, _ifr@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x20
	bl	_ioctl
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.2:
	ldr	w8, [x20]
	str	x8, [sp]
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
LBB0_3:
	ldr	x8, [sp, #24]
	ldrb	w9, [x8]
Lloh11:
	adrp	x10, l_.str.3@PAGE
Lloh12:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	w9, #0
	csel	x8, x10, x8, eq
	str	x8, [sp]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	mov	w0, #10
	bl	_putchar
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ifr,4,2                        ; @ifr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tvlan: %d"

	.comm	_SIOCGVLANPCP,4,2               ; @SIOCGVLANPCP
l_.str.1:                               ; @.str.1
	.asciz	" vlanpcp: %u"

l_.str.2:                               ; @.str.2
	.asciz	" parent interface: %s"

l_.str.3:                               ; @.str.3
	.asciz	"<none>"

	.no_dead_strip	_vlan_status
.subsections_via_symbols
