	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ifc_simple_create
_ifc_simple_create:                     ## @ifc_simple_create
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ifc_name2unit
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movl	-44(%rbp), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	callq	_ifc_alloc_unit
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_9
## %bb.2:
	movl	-44(%rbp), %esi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	*(%r12)
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	movl	-44(%rbp), %esi
	movq	%r12, %rdi
	callq	_ifc_free_unit
	jmp	LBB0_9
LBB0_4:
	xorl	%r14d, %r14d
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jns	LBB0_9
## %bb.5:
	decq	%rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	decq	%r15
	cmpb	$0, 1(%rbx)
	leaq	1(%rbx), %rbx
	jne	LBB0_6
## %bb.7:
	leaq	1(%r15), %rsi
	movl	-44(%rbp), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_snprintf
	cmpq	%r15, %rax
	jbe	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	callq	_panic
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

L_.str.1:                               ## @.str.1
	.asciz	"if_clone_create(): interface name too long"

	.no_dead_strip	_ifc_simple_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ifc_simple_create
_ifc_simple_create:                     ; @ifc_simple_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	add	x1, sp, #12
	mov	x0, x21
	bl	_ifc_name2unit
	mov	x23, x0
	cbnz	w0, LBB0_10
; %bb.1:
	ldr	w24, [sp, #12]
	add	x1, sp, #12
	mov	x0, x20
	bl	_ifc_alloc_unit
	mov	x23, x0
	cbnz	w0, LBB0_10
; %bb.2:
	ldr	x8, [x20]
	ldr	w1, [sp, #12]
	mov	x0, x20
	mov	x2, x22
	blr	x8
	cbz	w0, LBB0_4
; %bb.3:
	mov	x23, x0
	ldr	w1, [sp, #12]
	mov	x0, x20
	bl	_ifc_free_unit
	b	LBB0_10
LBB0_4:
	tbz	w24, #31, LBB0_9
; %bb.5:
	sub	x0, x21, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x0, #1]!
	sub	x19, x19, #1
	cbnz	w8, LBB0_6
; %bb.7:
	add	x1, x19, #1
	ldr	w3, [sp, #12]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	bl	_snprintf
	cmp	x0, x19
	b.ls	LBB0_9
; %bb.8:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_panic
LBB0_9:
	mov	w23, #0
LBB0_10:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

l_.str.1:                               ; @.str.1
	.asciz	"if_clone_create(): interface name too long"

	.no_dead_strip	_ifc_simple_create
.subsections_via_symbols
