	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_list_vertical                  ## -- Begin function list_vertical
	.p2align	4, 0x90
_list_vertical:                         ## @list_vertical
	.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
	movq	%rdi, %r13
	movq	(%rdi), %r14
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	8(%r13), %r15
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %rdi
	callq	_strlen
	cmpq	%r12, %rax
	cmovaq	%rax, %r12
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_3
## %bb.4:
	addq	$8, %r12
	andq	$-8, %r12
	jmp	LBB0_5
LBB0_1:
	movl	$8, %r12d
LBB0_5:
	movq	_ttywidth@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, %rax
	orq	%r12, %rax
	shrq	$32, %rax
	je	LBB0_6
## %bb.7:
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%r12
	jmp	LBB0_8
LBB0_6:
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%r12d
                                        ## kill: def $eax killed $eax def $rax
LBB0_8:
	cmpq	%rcx, %r12
	movl	$1, %esi
	cmovbeq	%rax, %rsi
	leaq	(%r14,%rsi), %rcx
	decq	%rcx
	movq	%rcx, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_9
## %bb.10:
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%rsi
	cmpq	%rcx, %rsi
	ja	LBB0_24
	jmp	LBB0_12
LBB0_9:
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
	cmpq	%rcx, %rsi
	jbe	LBB0_12
LBB0_24:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	cmpq	$2, %rax
	movl	$1, %ecx
	cmovaeq	%rax, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	_ttyout@GOTPCREL(%rip), %r14
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	(%r14), %esi
	movl	$10, %edi
	callq	_putc
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_23:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	movq	%rdx, %rcx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	cmpq	-72(%rbp), %rdx                 ## 8-byte Folded Reload
	je	LBB0_24
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##       Child Loop BB0_21 Depth 3
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_15 Depth=2
	addq	%rax, %r13
	cmpq	(%r14), %r13
	movq	%r14, %r13
	movq	%rdx, %r14
	jae	LBB0_18
LBB0_22:                                ##   in Loop: Header=BB0_15 Depth=2
	incq	%r15
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	cmpq	%rsi, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_23
LBB0_15:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_21 Depth 3
	movq	%r14, %rdx
	movq	8(%r13), %rcx
	movq	%r13, %r14
	movq	%r15, %r13
	imulq	%rax, %r13
	addq	-48(%rbp), %r13                 ## 8-byte Folded Reload
	movq	(%rcx,%r13,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	%rdx, %r12
	movl	(%rdx), %esi
	movq	%rbx, %rdi
	callq	_fputs
	addq	-56(%rbp), %r13                 ## 8-byte Folded Reload
	cmpq	(%r14), %r13
	movq	%r14, %r13
	movq	%r12, %r14
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jae	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	%rbx, %rdi
	callq	_strlen
	cmpq	%r12, %rax
	jae	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_13 Depth=1
                                        ##     Parent Loop BB0_15 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	addq	$8, %rbx
	andq	$-8, %rbx
	movl	(%r14), %esi
	movl	$9, %edi
	callq	_putc
	cmpq	%r12, %rbx
	jb	LBB0_21
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_ttywidth,8,3                   ## @ttywidth
	.comm	_ttyout,4,2                     ## @ttyout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_list_vertical                  ; -- Begin function list_vertical
	.p2align	2
_list_vertical:                         ; @list_vertical
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x20, [x0]
	cbz	x20, LBB0_4
; %bb.1:
	mov	x21, #0
	ldr	x22, [x19, #8]
	mov	x23, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22], #8
	bl	_strlen
	cmp	x0, x21
	csel	x21, x0, x21, hi
	subs	x23, x23, #1
	b.ne	LBB0_2
; %bb.3:
	add	x8, x21, #8
	and	x21, x8, #0xfffffffffffffff8
	b	LBB0_5
LBB0_4:
	mov	w21, #8
LBB0_5:
Lloh0:
	adrp	x8, _ttywidth@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ttywidth@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	udiv	x9, x8, x21
	cmp	x21, x8
	csinc	x22, x9, xzr, ls
	sub	x8, x20, #1
	adds	x8, x8, x22
	b.lo	LBB0_7
LBB0_6:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x23, #0
	udiv	x24, x8, x22
	cmp	x24, #1
	csinc	x25, x24, xzr, hi
Lloh3:
	adrp	x26, _ttyout@GOTPAGE
Lloh4:
	ldr	x26, [x26, _ttyout@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	w1, [x26]
	mov	w0, #10
	bl	_putc
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x23, x23, #1
	cmp	x23, x25
	b.eq	LBB0_6
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
                                        ;       Child Loop BB0_18 Depth 3
	cbz	x22, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x27, #0
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=2
	ldr	x8, [x19]
	add	x9, x28, x24
	cmp	x9, x8
	b.hs	LBB0_8
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	add	x27, x27, #1
	cmp	x27, x22
	b.eq	LBB0_9
LBB0_14:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_18 Depth 3
	ldr	x8, [x19, #8]
	madd	x28, x27, x24, x23
	ldr	x20, [x8, x28, lsl #3]
	cbz	x20, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	w1, [x26]
	mov	x0, x20
	bl	_fputs
	ldr	x8, [x19]
	add	x9, x28, x24
	cmp	x9, x8
	b.hs	LBB0_8
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=2
	mov	x0, x20
	bl	_strlen
	cmp	x0, x21
	b.hs	LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=2
	mov	x20, x0
LBB0_18:                                ;   Parent Loop BB0_10 Depth=1
                                        ;     Parent Loop BB0_14 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x8, x20, #8
	and	x20, x8, #0xfffffffffffffff8
	ldr	w1, [x26]
	mov	w0, #9
	bl	_putc
	cmp	x20, x21
	b.lo	LBB0_18
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ttywidth,8,3                   ; @ttywidth
	.comm	_ttyout,4,2                     ; @ttyout
.subsections_via_symbols
