	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alternates                     ## -- Begin function alternates
	.p2align	4, 0x90
_alternates:                            ## @alternates
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_argcount
	movq	_altnames@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	testl	%eax, %eax
	je	LBB0_1
## %bb.6:
	movl	%eax, %r15d
	incl	%r15d
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_free
LBB0_8:
	movl	%r15d, %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, %r15
	movq	%rax, (%r12)
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
	movq	(%r12), %r15
LBB0_10:
	movq	(%r14), %r12
	testq	%r12, %r12
	je	LBB0_13
## %bb.11:
	addq	$8, %r14
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_strlen
	leal	1(%rax), %edi
	movl	$1, %esi
	callq	_calloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_strcpy
	movq	%rbx, (%r15)
	addq	$8, %r15
	movq	(%r14), %r12
	addq	$8, %r14
	testq	%r12, %r12
	jne	LBB0_12
LBB0_13:
	movq	$0, (%r15)
	jmp	LBB0_14
LBB0_1:
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.2:
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.3:
	addq	$8, %rbx
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	(%rbx), %rsi
	addq	$8, %rbx
	testq	%rsi, %rsi
	jne	LBB0_4
LBB0_5:
	movl	$10, %edi
	callq	_putchar
LBB0_14:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_altnames,8,3                   ## @altnames
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s "

L_.str.2:                               ## @.str.2
	.asciz	"Out of memory"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alternates                     ; -- Begin function alternates
	.p2align	2
_alternates:                            ; @alternates
	.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	x20, x0
	bl	_argcount
	mov	x8, x0
Lloh0:
	adrp	x21, _altnames@GOTPAGE
Lloh1:
	ldr	x21, [x21, _altnames@GOTPAGEOFF]
	ldr	x0, [x21]
	cbz	w8, LBB0_9
; %bb.1:
	add	w19, w8, #1
	cbz	x0, LBB0_3
; %bb.2:
	bl	_free
LBB0_3:
	mov	x0, x19
	mov	w1, #8
	bl	_calloc
	mov	x19, x0
	str	x0, [x21]
	cbnz	x0, LBB0_5
; %bb.4:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
	ldr	x19, [x21]
LBB0_5:
	ldr	x21, [x20]
	cbz	x21, LBB0_8
; %bb.6:
	add	x22, x20, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_strlen
	add	w0, w0, #1
	mov	w1, #1
	bl	_calloc
	mov	x20, x0
	mov	x1, x21
	bl	_strcpy
	str	x20, [x19], #8
	ldr	x21, [x22], #8
	cbnz	x21, LBB0_7
LBB0_8:
	str	xzr, [x19]
	b	LBB0_14
LBB0_9:
	cbz	x0, LBB0_14
; %bb.10:
	ldr	x8, [x0]
	cbz	x8, LBB0_13
; %bb.11:
	add	x20, x0, #8
Lloh4:
	adrp	x19, l_.str@PAGE
Lloh5:
	add	x19, x19, l_.str@PAGEOFF
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	str	x8, [sp]
	mov	x0, x19
	bl	_printf
	ldr	x8, [x20], #8
	cbnz	x8, LBB0_12
LBB0_13:
	mov	w0, #10
	bl	_putchar
LBB0_14:
	mov	w0, #0
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_altnames,8,3                   ; @altnames
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s "

l_.str.2:                               ; @.str.2
	.asciz	"Out of memory"

.subsections_via_symbols
