	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wrap                           ## -- Begin function wrap
	.p2align	4, 0x90
_wrap:                                  ## @wrap
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %rbx
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movb	$0, (%rdx)
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	callq	_malloc
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_strcpy
	movl	$32, %edi
	callq	_char_width
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %rsi
	leaq	-88(%rbp), %rdx
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_tokenize
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	incl	%r12d
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	notl	%eax
	leal	(%rax,%r14), %edx
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strncat
	xorl	%edi, %edi
	leaq	L_.str(%rip), %rsi
	leaq	-88(%rbp), %rdx
	callq	_tokenize
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rsi
	je	LBB0_10
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%rax, %rdi
	leaq	-80(%rbp), %rdx
	callq	_tokenize
	testq	%rax, %rax
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r15
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	leal	(%r12,%r13), %eax
	xorl	%ecx, %ecx
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	leaq	L_.str.1(%rip), %r14
	leaq	L_.str.2(%rip), %rax
	cmovgq	%rax, %r14
	setg	%cl
	movl	$0, %eax
	cmovgl	%eax, %r13d
	addl	%ecx, -44(%rbp)                 ## 4-byte Folded Spill
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	notl	%eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rax,%rcx), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	callq	_strncat
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	notl	%eax
	leal	(%rax,%r14), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_strncat
	addl	-52(%rbp), %r12d                ## 4-byte Folded Reload
	addl	%r13d, %r12d
	xorl	%edi, %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	-80(%rbp), %rdx
	callq	_tokenize
	movq	%rax, %r15
	movl	%r12d, %r13d
	testq	%rax, %rax
	je	LBB0_9
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	callq	_string_width
	movl	%eax, %r12d
	testl	%r13d, %r13d
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	xorl	%r13d, %r13d
	jmp	LBB0_8
LBB0_1:
	xorl	%r12d, %r12d
LBB0_10:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movl	%r12d, %eax
	addq	$56, %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	"\r\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wrap                           ; -- Begin function wrap
	.p2align	2
_wrap:                                  ; @wrap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	strb	wzr, [x2]
	bl	_strlen
	add	w0, w0, #1
	bl	_malloc
	mov	x24, x0
	mov	x1, x22
	bl	_strcpy
	mov	w0, #32
	bl	_char_width
	mov	x23, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #24
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	mov	x0, x24
	bl	_tokenize
	mov	w24, #0
	cbz	x0, LBB0_8
; %bb.1:
Lloh2:
	adrp	x25, l_.str.1@PAGE
Lloh3:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w24, w24, #1
	mov	x0, x20
	bl	_strlen
	mvn	w8, w0
	add	w2, w8, w19
	mov	x0, x20
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strncat
	add	x2, sp, #24
	mov	x0, #0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_tokenize
	cbz	x0, LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	add	x2, sp, #16
	mov	x1, x25
	bl	_tokenize
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, x0
	mov	w26, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x20
	bl	_strlen
	mvn	w8, w0
	add	w2, w8, w19
	mov	x0, x20
	mov	x1, x28
	bl	_strncat
	add	w8, w22, w23
	add	w26, w8, w26
	add	x2, sp, #16
	mov	x0, #0
	mov	x1, x25
	bl	_tokenize
	mov	x28, x0
	cbz	x0, LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x28
	bl	_string_width
	mov	x22, x0
	cbz	w26, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	w8, w22, w26
	cmp	w8, w21
Lloh8:
	adrp	x8, l_.str.2@PAGE
Lloh9:
	add	x8, x8, l_.str.2@PAGEOFF
	csel	x27, x8, x25, gt
	csel	w26, wzr, w26, gt
	cinc	w24, w24, gt
	mov	x0, x20
	bl	_strlen
	mvn	w8, w0
	add	w2, w8, w19
	mov	x0, x20
	mov	x1, x27
	bl	_strncat
	b	LBB0_5
LBB0_8:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_free
	mov	x0, x24
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\r\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"\n"

.subsections_via_symbols
