	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_columnate
_r_columnate:                           ## @r_columnate
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_termwidth@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_maxlength@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	cltd
	idivl	%r13d
	movl	%eax, %ecx
	movq	_entries@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	idivl	%ecx
	cmpl	$1, %edx
	sbbl	$-1, %eax
	testl	%eax, %eax
	jle	LBB0_12
## %bb.1:
	movl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_10
	.p2align	4, 0x90
LBB0_3:
	xorl	%r14d, %r14d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	addl	%ebx, %r15d
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_maxlength@GOTPCREL(%rip), %rax
	addl	(%rax), %r13d
	incl	%r14d
	cmpl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	je	LBB0_10
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	_list@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax,%r12,4), %esi
	leaq	l_.str(%rip), %rdi
	callq	_wprintf
	movq	(%rbx), %rax
	movl	(%rax,%r12,4), %edi
	callq	_width
	movq	%rax, %rbx
	addq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	movq	_entries@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r12
	jge	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leal	(%r15,%rbx), %edi
	incl	%edi
	movq	_TAB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_roundup
	cmpl	%r13d, %eax
	jg	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_TAB@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, %r15d
	movl	$9, %edi
	callq	_putwchar
	leal	1(%r15), %edi
	movl	(%rbx), %esi
	callq	_roundup
	cmpl	%r13d, %eax
	jle	LBB0_8
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	$10, %edi
	callq	_putwchar
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	%rcx, %rax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	cmpq	-64(%rbp), %rcx                 ## 8-byte Folded Reload
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_maxlength@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jg	LBB0_3
	jmp	LBB0_10
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_termwidth,4,2                  ## @termwidth
	.comm	_maxlength,4,2                  ## @maxlength
	.comm	_entries,4,2                    ## @entries
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	37                              ## 0x25
	.long	108                             ## 0x6c
	.long	115                             ## 0x73
	.long	0                               ## 0x0

	.comm	_list,8,3                       ## @list
	.comm	_TAB,4,2                        ## @TAB
	.no_dead_strip	_r_columnate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_columnate
_r_columnate:                           ; @r_columnate
	.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
Lloh0:
	adrp	x8, _termwidth@GOTPAGE
Lloh1:
	ldr	x8, [x8, _termwidth@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _maxlength@GOTPAGE
Lloh4:
	ldr	x9, [x9, _maxlength@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x9]
	sdiv	w21, w8, w24
Lloh6:
	adrp	x8, _entries@GOTPAGE
Lloh7:
	ldr	x8, [x8, _entries@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	sdiv	w9, w8, w21
	msub	w8, w9, w21, w8
	cmp	w8, #0
	cinc	w23, w9, ne
	cmp	w23, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x22, #0
Lloh9:
	adrp	x26, _list@GOTPAGE
Lloh10:
	ldr	x26, [x26, _list@GOTPAGEOFF]
Lloh11:
	adrp	x27, _TAB@GOTPAGE
Lloh12:
	ldr	x27, [x27, _TAB@GOTPAGEOFF]
	cmp	w21, #1
	b.lt	LBB0_8
LBB0_2:
	mov	w28, #0
	mov	w20, #0
	mov	x25, x22
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh13:
	adrp	x8, _maxlength@GOTPAGE
Lloh14:
	ldr	x8, [x8, _maxlength@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	add	w24, w8, w24
	add	w28, w28, #1
	cmp	w28, w21
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	x8, [x26]
	lsl	x19, x25, #2
	ldr	w1, [x8, x19]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_wprintf
	ldr	x8, [x26]
	ldr	w0, [x8, x19]
	bl	_width
Lloh18:
	adrp	x8, _entries@GOTPAGE
Lloh19:
	ldr	x8, [x8, _entries@GOTPAGEOFF]
Lloh20:
	ldrsw	x8, [x8]
	add	x25, x25, x23
	cmp	x25, x8
	b.ge	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w20, w20, w0
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w0, w20, #1
	ldr	w1, [x27]
	bl	_roundup
	cmp	w0, w24
	b.gt	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x20, x0
	mov	w0, #9
	bl	_putwchar
	b	LBB0_6
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #10
	bl	_putwchar
	add	x22, x22, #1
	cmp	x22, x23
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh21:
	adrp	x8, _maxlength@GOTPAGE
Lloh22:
	ldr	x8, [x8, _maxlength@GOTPAGEOFF]
Lloh23:
	ldr	w24, [x8]
	cmp	w21, #1
	b.ge	LBB0_2
	b	LBB0_8
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_termwidth,4,2                  ; @termwidth
	.comm	_maxlength,4,2                  ; @maxlength
	.comm	_entries,4,2                    ; @entries
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	37                              ; 0x25
	.long	108                             ; 0x6c
	.long	115                             ; 0x73
	.long	0                               ; 0x0

	.comm	_list,8,3                       ; @list
	.comm	_TAB,4,2                        ; @TAB
	.no_dead_strip	_r_columnate
.subsections_via_symbols
