	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vlan_newlink_tagged
_vlan_newlink_tagged:                   ## @vlan_newlink_tagged
	.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	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r12d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_DYNAMIC_VLAN_NAMING_WITH_DEVICE@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r13, %rcx
	movl	%r12d, %r8d
	xorl	%eax, %eax
	callq	_os_snprintf
	cmpl	%r14d, %eax
	jge	LBB0_4
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_os_snprintf
	cmpl	%r14d, %eax
	jl	LBB0_5
LBB0_4:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdx
	callq	_wpa_printf
LBB0_5:
	movq	%r13, %rdi
	callq	_ifconfig_up
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	_vlan_add
	xorl	%ebx, %ebx
	movl	$0, %r14d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	_DVLAN_CLEAN_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_br_addif
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	_DVLAN_CLEAN_VLAN_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_9:
	orl	%r14d, %ebx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_dyn_iface_get
	movq	%r15, %rdi
	callq	_ifconfig_up
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.comm	_DYNAMIC_VLAN_NAMING_WITH_DEVICE,4,2 ## @DYNAMIC_VLAN_NAMING_WITH_DEVICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s.%d"

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

	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
L_.str.2:                               ## @.str.2
	.asciz	"VLAN: Interface name was truncated to %s"

	.comm	_DVLAN_CLEAN_VLAN,4,2           ## @DVLAN_CLEAN_VLAN
	.comm	_DVLAN_CLEAN_VLAN_PORT,4,2      ## @DVLAN_CLEAN_VLAN_PORT
	.no_dead_strip	_vlan_newlink_tagged
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vlan_newlink_tagged
_vlan_newlink_tagged:                   ; @vlan_newlink_tagged
	.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
	sub	sp, sp, #16
	mov	x19, x4
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh8:
	adrp	x8, _DYNAMIC_VLAN_NAMING_WITH_DEVICE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DYNAMIC_VLAN_NAMING_WITH_DEVICE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
	stp	x23, x22, [sp, #-16]!
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:
	mov	x8, x22
	str	x8, [sp, #-16]!
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_3:
	mov	x0, x20
	mov	x1, x24
	bl	_os_snprintf
	add	sp, sp, #16
	cmp	w0, w24
	b.lt	LBB0_5
; %bb.4:
Lloh15:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_wpa_printf
LBB0_5:
	mov	x0, x23
	bl	_ifconfig_up
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	bl	_vlan_add
Lloh20:
	adrp	x8, _DVLAN_CLEAN_VLAN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DVLAN_CLEAN_VLAN@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w22, w8, wzr, eq
	mov	x0, x21
	mov	x1, x20
	bl	_br_addif
Lloh23:
	adrp	x8, _DVLAN_CLEAN_VLAN_PORT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DVLAN_CLEAN_VLAN_PORT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w8, w8, wzr, eq
	orr	w2, w8, w22
	mov	x0, x19
	mov	x1, x20
	bl	_dyn_iface_get
	mov	x0, x20
	bl	_ifconfig_up
	ldur	x8, [x29, #-56]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	sub	sp, x29, #48
	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_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.comm	_DYNAMIC_VLAN_NAMING_WITH_DEVICE,4,2 ; @DYNAMIC_VLAN_NAMING_WITH_DEVICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s.%d"

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

	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
l_.str.2:                               ; @.str.2
	.asciz	"VLAN: Interface name was truncated to %s"

	.comm	_DVLAN_CLEAN_VLAN,4,2           ; @DVLAN_CLEAN_VLAN
	.comm	_DVLAN_CLEAN_VLAN_PORT,4,2      ; @DVLAN_CLEAN_VLAN_PORT
	.no_dead_strip	_vlan_newlink_tagged
.subsections_via_symbols
