	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ifconfig_create_interface_vlan ## -- Begin function ifconfig_create_interface_vlan
	.p2align	4, 0x90
_ifconfig_create_interface_vlan:        ## @ifconfig_create_interface_vlan
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movq	_NOTAG@GOTPCREL(%rip), %rax
	movl	$-1, %r12d
	cmpw	%bx, (%rax)
	je	LBB0_4
## %bb.1:
	movq	%rcx, %r13
	cmpb	$0, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rdi
	movl	$8, %esi
	callq	_bzero
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movw	%bx, -48(%rbp)
	movl	-44(%rbp), %edi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_strlcpy
	leaq	-48(%rbp), %rax
	movq	%rax, -64(%rbp)
	movq	_AF_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SIOCIFCREATE2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-72(%rbp), %rcx
	movq	%r15, %rdi
	callq	_ifconfig_ioctlwrap
	testq	%rax, %rax
	js	LBB0_4
## %bb.3:
	movl	-72(%rbp), %edi
	callq	_strdup
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	xorl	%r12d, %r12d
LBB0_4:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NOTAG,2,1                      ## @NOTAG
	.comm	_AF_LOCAL,4,2                   ## @AF_LOCAL
	.comm	_SIOCIFCREATE2,4,2              ## @SIOCIFCREATE2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ifconfig_create_interface_vlan ; -- Begin function ifconfig_create_interface_vlan
	.p2align	2
_ifconfig_create_interface_vlan:        ; @ifconfig_create_interface_vlan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, _NOTAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NOTAG@GOTPAGEOFF]
	ldrh	w8, [x8]
	cmp	w8, w4
	b.eq	LBB0_4
; %bb.1:
	mov	x21, x3
	ldrb	w8, [x3]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x22, x4
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
	add	x24, sp, #8
	add	x0, sp, #8
	mov	w1, #8
	bl	_bzero
	mov	x1, x23
	mov	w2, #4
	bl	_strlcpy
	strh	w22, [sp, #8]
	ldr	w0, [sp, #12]
	mov	x1, x21
	mov	w2, #4
	bl	_strlcpy
	str	x24, [sp, #24]
Lloh2:
	adrp	x8, _AF_LOCAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AF_LOCAL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _SIOCIFCREATE2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIOCIFCREATE2@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x3, sp, #16
	mov	x0, x20
	bl	_ifconfig_ioctlwrap
	tbnz	x0, #63, LBB0_4
; %bb.3:
	ldr	w0, [sp, #16]
	bl	_strdup
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NOTAG,2,1                      ; @NOTAG
	.comm	_AF_LOCAL,4,2                   ; @AF_LOCAL
	.comm	_SIOCIFCREATE2,4,2              ; @SIOCIFCREATE2
.subsections_via_symbols
