	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_print_by_column                ## -- Begin function print_by_column
	.p2align	4, 0x90
_print_by_column:                       ## @print_by_column
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	_lbuffed@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_STRlistflags@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_varval
	movq	_STRNULL@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	cmpq	(%rcx), %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	movl	$120, %esi
	callq	_Strchr
	testq	%rax, %rax
	setne	%al
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	testl	%r13d, %r13d
	jg	LBB0_4
	jmp	LBB0_6
LBB0_1:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	testl	%r13d, %r13d
	jle	LBB0_6
LBB0_4:
	movl	%r13d, %r14d
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %rdi
	callq	_NLSStringWidth
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_max
	movl	%eax, %r12d
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_5
LBB0_6:
	cmpl	$1, -48(%rbp)                   ## 4-byte Folded Reload
	adcl	$1, %r12d
	movq	_TermH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r12d
	ja	LBB0_10
## %bb.7:
	xorl	%edx, %edx
	divl	%r12d
	movl	%eax, %r14d
	movq	_didfds@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	$1, %edi
	jne	LBB0_9
## %bb.8:
	movq	_SHOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_9:
	callq	_isatty
	testl	%eax, %eax
	jne	LBB0_11
LBB0_10:
	movl	$1, %r14d
LBB0_11:
	leal	(%r14,%r13), %eax
	decl	%eax
	cltd
	idivl	%r14d
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_28
## %bb.12:
	leal	-1(%r14), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	%r12d, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	$-1, %ebx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	$10, %edi
	callq	_xputchar
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_28
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##       Child Loop BB0_22 Depth 3
	testl	%r14d, %r14d
	jle	LBB0_25
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	xorl	%r15d, %r15d
	movl	%ebx, %r12d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_15 Depth=2
	testb	%al, %al
	jne	LBB0_25
LBB0_24:                                ##   in Loop: Header=BB0_15 Depth=2
	incl	%r15d
	movl	%r12d, %ebx
	cmpl	-88(%rbp), %r15d                ## 4-byte Folded Reload
	je	LBB0_25
LBB0_15:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_22 Depth 3
	movl	%r12d, %ebx
	incl	%ebx
	movl	%r15d, %r12d
	imull	-56(%rbp), %r12d                ## 4-byte Folded Reload
	addl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	testb	%al, %al
	cmovnel	%ebx, %r12d
	cmpl	%r13d, %r12d
	jge	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	movslq	%r12d, %r14
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx,%r14,8), %rdi
	callq	_Strlen
	movq	(%rbx,%r14,8), %r13
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=2
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_xprintf
	jmp	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%r13, %rsi
	callq	_filetype
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_xprintf
	movl	$1, %ebx
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	cmpl	-64(%rbp), %r15d                ## 4-byte Folded Reload
	jge	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r14,8), %rdi
	callq	_NLSStringWidth
	addl	%ebx, %eax
	cmpl	-60(%rbp), %eax                 ## 4-byte Folded Reload
	jae	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	%eax, %eax
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	subq	%rax, %rbx
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_13 Depth=1
                                        ##     Parent Loop BB0_15 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	$32, %edi
	callq	_xputchar
	decq	%rbx
	jne	LBB0_22
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_Tty_raw_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	$13, %edi
	callq	_xputchar
	jmp	LBB0_27
LBB0_28:
	movq	_lbuffed@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_flush                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_lbuffed,4,2                    ## @lbuffed
	.comm	_STRlistflags,4,2               ## @STRlistflags
	.comm	_STRNULL,8,3                    ## @STRNULL
	.comm	_TermH,4,2                      ## @TermH
	.comm	_didfds,8,3                     ## @didfds
	.comm	_SHOUT,4,2                      ## @SHOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%S"

L_.str.1:                               ## @.str.1
	.asciz	"%-S%c"

	.comm	_Tty_raw_mode,8,3               ## @Tty_raw_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_print_by_column                ; -- Begin function print_by_column
	.p2align	2
_print_by_column:                       ; @print_by_column
	.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
	str	w3, [sp, #28]                   ; 4-byte Folded Spill
	mov	x20, x2
	mov	x21, x1
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _lbuffed@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lbuffed@GOTPAGEOFF]
Lloh2:
	str	wzr, [x8]
Lloh3:
	adrp	x8, _STRlistflags@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRlistflags@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_varval
Lloh6:
	adrp	x8, _STRNULL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STRNULL@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.1:
	mov	w1, #120
	bl	_Strchr
	cmp	x0, #0
	cset	w27, ne
	cmp	w20, #1
	b.lt	LBB0_5
LBB0_2:
	mov	w23, #0
	mov	w19, w20
	mov	x22, x21
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22], #8
	bl	_NLSStringWidth
	mov	x1, x0
	mov	x0, x23
	bl	_max
	mov	x23, x0
	subs	x19, x19, #1
	b.ne	LBB0_3
	b	LBB0_6
LBB0_4:
	mov	w27, #0
	cmp	w20, #1
	b.ge	LBB0_2
LBB0_5:
	mov	w23, #0
LBB0_6:
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w8, #0
	mov	w8, #1
	cinc	w8, w8, eq
Lloh9:
	adrp	x9, _TermH@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TermH@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x9]
	add	w8, w23, w8
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	cmp	w8, w19
	b.hi	LBB0_9
; %bb.7:
Lloh12:
	adrp	x8, _didfds@GOTPAGE
Lloh13:
	ldr	x8, [x8, _didfds@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _SHOUT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SHOUT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	x8, #0
	csinc	w0, w9, wzr, eq
	bl	_isatty
	cbz	w0, LBB0_9
; %bb.8:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	udiv	w26, w19, w8
	b	LBB0_10
LBB0_9:
	mov	w26, #1
LBB0_10:
	sub	w23, w26, #1
	add	w8, w23, w20
	sdiv	w22, w8, w26
	cmp	w22, #1
	b.lt	LBB0_27
; %bb.11:
	mov	w24, #0
	mov	w19, #-1
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	w0, #10
	bl	_xputchar
	add	w24, w24, #1
	cmp	w24, w22
	b.eq	LBB0_27
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
                                        ;       Child Loop BB0_23 Depth 3
	cmp	w26, #1
	b.lt	LBB0_25
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w28, #0
	mov	x8, x19
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=2
	tbnz	w27, #0, LBB0_24
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	add	w28, w28, #1
	mov	x8, x19
	cmp	w28, w26
	b.eq	LBB0_25
LBB0_17:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_23 Depth 3
	madd	w9, w28, w22, w24
	cmp	w27, #0
	csinc	w19, w9, w8, eq
	cmp	w19, w20
	b.ge	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	sbfiz	x25, x19, #3, #32
	ldr	x0, [x21, x25]
	bl	_Strlen
	ldr	x25, [x21, x25]
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=2
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x25
	bl	_xprintf
	mov	w25, #0
	cmp	w28, w23
	b.ge	LBB0_16
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x25
	bl	_filetype
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x25
	bl	_xprintf
	mov	w25, #1
	cmp	w28, w23
	b.ge	LBB0_16
LBB0_21:                                ;   in Loop: Header=BB0_17 Depth=2
	sxtw	x8, w19
	ldr	x0, [x21, x8, lsl #3]
	bl	_NLSStringWidth
	add	w8, w0, w25
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	cmp	w8, w9
	b.hs	LBB0_16
; %bb.22:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	sub	x25, x9, w8, uxtw
LBB0_23:                                ;   Parent Loop BB0_13 Depth=1
                                        ;     Parent Loop BB0_17 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	w0, #32
	bl	_xputchar
	subs	x25, x25, #1
	b.ne	LBB0_23
	b	LBB0_16
LBB0_24:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w19, w8, #1
LBB0_25:                                ;   in Loop: Header=BB0_13 Depth=1
Lloh22:
	adrp	x8, _Tty_raw_mode@GOTPAGE
Lloh23:
	ldr	x8, [x8, _Tty_raw_mode@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.26:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w0, #13
	bl	_xputchar
	b	LBB0_12
LBB0_27:
	mov	w8, #1
Lloh25:
	adrp	x9, _lbuffed@GOTPAGE
Lloh26:
	ldr	x9, [x9, _lbuffed@GOTPAGEOFF]
Lloh27:
	str	w8, [x9]
	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
	b	_flush
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_lbuffed,4,2                    ; @lbuffed
	.comm	_STRlistflags,4,2               ; @STRlistflags
	.comm	_STRNULL,8,3                    ; @STRNULL
	.comm	_TermH,4,2                      ; @TermH
	.comm	_didfds,8,3                     ; @didfds
	.comm	_SHOUT,4,2                      ; @SHOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%S"

l_.str.1:                               ; @.str.1
	.asciz	"%-S%c"

	.comm	_Tty_raw_mode,8,3               ; @Tty_raw_mode
.subsections_via_symbols
