	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ifconfig_create_interface      ## -- Begin function ifconfig_create_interface
	.p2align	4, 0x90
_ifconfig_create_interface:             ## @ifconfig_create_interface
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	-40(%rbp), %edi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_strlcpy
	leaq	L_.str(%rip), %r12
	movq	%r12, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	leaq	L_.str.1(%rip), %r12
	movq	%r12, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	leaq	L_.str.2(%rip), %r12
	movq	%r12, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_AF_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SIOCIFCREATE2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %rcx
	movq	%r15, %rdi
	callq	_ifconfig_ioctlwrap
	testq	%rax, %rax
	js	LBB0_6
## %bb.4:
	movl	-40(%rbp), %edi
	callq	_strdup
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	movq	_OTHER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_6:
	movl	$-1, %eax
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wlan"

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

L_.str.2:                               ## @.str.2
	.asciz	"vxlan"

	.comm	_OTHER,8,3                      ## @OTHER
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_AF_LOCAL,4,2                   ## @AF_LOCAL
	.comm	_SIOCIFCREATE2,4,2              ## @SIOCIFCREATE2
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ifconfig_create_interface      ; -- Begin function ifconfig_create_interface
	.p2align	2
_ifconfig_create_interface:             ; @ifconfig_create_interface
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [sp, #8]
	mov	x1, x21
	mov	w2, #4
	bl	_strlcpy
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_strncmp
	cbz	x0, LBB0_5
; %bb.1:
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_strncmp
	cbz	x0, LBB0_5
; %bb.2:
Lloh4:
	adrp	x22, l_.str.2@PAGE
Lloh5:
	add	x22, x22, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_strncmp
	cbz	x0, LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _AF_LOCAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AF_LOCAL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _SIOCIFCREATE2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SIOCIFCREATE2@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x20
	bl	_ifconfig_ioctlwrap
	tbnz	x0, #63, LBB0_6
; %bb.4:
	ldr	w0, [sp, #8]
	bl	_strdup
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_7
LBB0_5:
Lloh12:
	adrp	x8, _OTHER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OTHER@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x20, #8]
Lloh15:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_6:
	mov	w0, #-1
LBB0_7:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wlan"

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

l_.str.2:                               ; @.str.2
	.asciz	"vxlan"

	.comm	_OTHER,8,3                      ; @OTHER
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_AF_LOCAL,4,2                   ; @AF_LOCAL
	.comm	_SIOCIFCREATE2,4,2              ; @SIOCIFCREATE2
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
