	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_latex_vertical
_print_latex_vertical:                  ## @print_latex_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_cancel_pressed@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_1
LBB0_33:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	40(%rdi), %rax
	movl	(%rax), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	8(%rax), %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	4(%rax), %ecx
	cmpw	$2, %cx
	movl	$2, %ebx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	cmovbl	%ecx, %ebx
	cmpq	$0, 24(%rax)
	je	LBB0_13
## %bb.2:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_5
## %bb.3:
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	movl	$15, %esi
	movl	$1, %edx
	movq	%r12, %rcx
	callq	_fwrite
	movq	(%r14), %rdi
	movq	%r12, %rsi
	callq	_latex_escaped_print
	leaq	L_.str.1(%rip), %rdi
	movl	$15, %esi
	movl	$1, %edx
	movq	%r12, %rcx
	callq	_fwrite
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	movl	$16, %esi
	movl	$1, %edx
	movq	%r12, %rcx
	callq	_fwrite
	cmpw	$1, %bx
	je	LBB0_8
## %bb.6:
	testw	%bx, %bx
	jne	LBB0_9
## %bb.7:
	leaq	L_.str.3(%rip), %rdi
	movl	$2, %esi
	jmp	LBB0_11
LBB0_8:
	leaq	L_.str.4(%rip), %rdi
	movl	$3, %esi
	jmp	LBB0_11
LBB0_9:
	cmpw	$2, -44(%rbp)                   ## 2-byte Folded Reload
	jb	LBB0_12
## %bb.10:
	leaq	L_.str.5(%rip), %rdi
	movl	$5, %esi
LBB0_11:
	movl	$1, %edx
	movq	%r12, %rcx
	callq	_fwrite
LBB0_12:
	leaq	L_.str.6(%rip), %rdi
	movl	$2, %esi
	movl	$1, %edx
	movq	%r12, %rcx
	callq	_fwrite
LBB0_13:
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movq	8(%r14), %r13
	cmpq	$0, (%r13)
	je	LBB0_24
## %bb.14:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	24(%r14), %rcx
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	16(%r14)
                                        ## kill: def $edx killed $edx def $rdx
	movq	(%rcx,%rdx,8), %rdi
	movq	%r12, %rsi
	callq	_latex_escaped_print
	movl	$3, %esi
	movl	$1, %edx
	leaq	L_.str.10(%rip), %rdi
	movq	%r12, %rcx
	callq	_fwrite
	movq	(%r13,%rbx,8), %rdi
	movq	%r12, %rsi
	callq	_latex_escaped_print
	movl	$4, %esi
	movl	$1, %edx
	leaq	L_.str.11(%rip), %rdi
	movq	%r12, %rcx
	callq	_fwrite
	cmpq	$0, 8(%r13,%rbx,8)
	leaq	1(%rbx), %rbx
	je	LBB0_24
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	16(%r14)
	testl	%edx, %edx
	jne	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$0, (%r15)
	jne	LBB0_24
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_18
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpw	$0, -60(%rbp)                   ## 2-byte Folded Reload
	jne	LBB0_22
	jmp	LBB0_23
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	leaq	L_.str.9(%rip), %rsi
	cmpw	$2, -44(%rbp)                   ## 2-byte Folded Reload
	jb	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	$7, %esi
	movl	$1, %edx
	leaq	L_.str.7(%rip), %rdi
	movq	%r12, %rcx
	callq	_fwrite
	leaq	L_.str.8(%rip), %rsi
LBB0_20:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	1(%rdx), %r15
	movq	%r12, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_fprintf
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	_cancel_pressed@GOTPCREL(%rip), %r15
	cmpw	$0, -60(%rbp)                   ## 2-byte Folded Reload
	je	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	$7, %esi
	movl	$1, %edx
	leaq	L_.str.7(%rip), %rdi
	movq	%r12, %rcx
	callq	_fwrite
	jmp	LBB0_23
LBB0_24:
	movq	40(%r14), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_33
## %bb.25:
	cmpw	$2, -44(%rbp)                   ## 2-byte Folded Reload
	jb	LBB0_27
## %bb.26:
	leaq	L_.str.7(%rip), %rdi
	movl	$7, %esi
	movl	$1, %edx
	movq	%r12, %rcx
	callq	_fwrite
LBB0_27:
	leaq	L_.str.12(%rip), %rdi
	movl	$25, %esi
	movl	$1, %edx
	movq	%r12, %rcx
	callq	_fwrite
	movq	32(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_32
## %bb.28:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_32
## %bb.29:
	cmpq	$0, (%r15)
	jne	LBB0_32
## %bb.30:
	leaq	L_.str.11(%rip), %r14
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movq	%r12, %rsi
	callq	_latex_escaped_print
	movl	$4, %esi
	movl	$1, %edx
	movq	%r14, %rdi
	movq	%r12, %rcx
	callq	_fwrite
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_31
LBB0_32:
	movl	$10, %edi
	movq	%r12, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fputc                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cancel_pressed,8,3             ## @cancel_pressed
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\\begin{center}\n"

L_.str.1:                               ## @.str.1
	.asciz	"\n\\end{center}\n\n"

L_.str.2:                               ## @.str.2
	.asciz	"\\begin{tabular}{"

L_.str.3:                               ## @.str.3
	.asciz	"cl"

L_.str.4:                               ## @.str.4
	.asciz	"c|l"

L_.str.5:                               ## @.str.5
	.asciz	"|c|l|"

L_.str.6:                               ## @.str.6
	.asciz	"}\n"

L_.str.7:                               ## @.str.7
	.asciz	"\\hline\n"

L_.str.8:                               ## @.str.8
	.asciz	"\\multicolumn{2}{|c|}{\\textit{Record %lu}} \\\\\n"

L_.str.9:                               ## @.str.9
	.asciz	"\\multicolumn{2}{c}{\\textit{Record %lu}} \\\\\n"

L_.str.10:                              ## @.str.10
	.asciz	" & "

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

L_.str.12:                              ## @.str.12
	.asciz	"\\end{tabular}\n\n\\noindent "

	.no_dead_strip	_print_latex_vertical
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_latex_vertical
_print_latex_vertical:                  ; @print_latex_vertical
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, _cancel_pressed@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cancel_pressed@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #40]
	ldr	w26, [x8]
	ldr	w21, [x8, #8]
	ldrh	w10, [x8, #4]
	mov	w9, #2
	cmp	w10, #2
	str	w10, [sp, #12]                  ; 4-byte Folded Spill
	csel	w28, w10, w9, lo
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_14
; %bb.3:
	cbnz	w26, LBB0_6
; %bb.4:
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.5:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #15
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	ldr	x0, [x20]
	mov	x1, x19
	bl	_latex_escaped_print
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #15
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_6:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #16
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	and	w8, w28, #0x3
	cmp	w8, #1
	b.eq	LBB0_9
; %bb.7:
	cbnz	w8, LBB0_10
; %bb.8:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #2
	b	LBB0_12
LBB0_9:
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #3
	b	LBB0_12
LBB0_10:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, #2
	b.lo	LBB0_13
; %bb.11:
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	w1, #5
LBB0_12:
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_13:
Lloh15:
	adrp	x0, l_.str.6@PAGE
Lloh16:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	w1, #2
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_14:
	ldr	x22, [x20, #8]
	ldr	x8, [x22]
	cbz	x8, LBB0_25
; %bb.15:
	mov	x25, #0
	add	w27, w21, #1
Lloh17:
	adrp	x23, l_.str.10@PAGE
Lloh18:
	add	x23, x23, l_.str.10@PAGEOFF
Lloh19:
	adrp	x24, l_.str.11@PAGE
Lloh20:
	add	x24, x24, l_.str.11@PAGEOFF
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x20, #24]
	ldr	w9, [x20, #16]
	udiv	w10, w25, w9
	msub	w9, w10, w9, w25
	ldr	x0, [x8, w9, uxtw #3]
	mov	x1, x19
	bl	_latex_escaped_print
	mov	x0, x23
	mov	w1, #3
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	add	x21, x22, x25, lsl #3
	ldr	x0, [x21]
	mov	x1, x19
	bl	_latex_escaped_print
	mov	x0, x24
	mov	w1, #4
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	ldr	x8, [x21, #8]
	add	x25, x25, #1
	cbz	x8, LBB0_25
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, #16]
	udiv	w9, w25, w8
	msub	w8, w9, w8, w25
	cbnz	w8, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
Lloh21:
	adrp	x8, _cancel_pressed@GOTPAGE
Lloh22:
	ldr	x8, [x8, _cancel_pressed@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cbnz	x8, LBB0_25
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	cbz	w26, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	cbnz	w28, LBB0_24
	b	LBB0_16
LBB0_21:                                ;   in Loop: Header=BB0_17 Depth=1
Lloh24:
	adrp	x1, l_.str.9@PAGE
Lloh25:
	add	x1, x1, l_.str.9@PAGEOFF
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, #2
	b.lo	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_17 Depth=1
Lloh26:
	adrp	x0, l_.str.7@PAGE
Lloh27:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	w1, #7
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
Lloh28:
	adrp	x1, l_.str.8@PAGE
Lloh29:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_23:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x21, x27, #1
	mov	x0, x19
	mov	x2, x27
	bl	_fprintf
	mov	x27, x21
	cbz	w28, LBB0_16
LBB0_24:                                ;   in Loop: Header=BB0_17 Depth=1
Lloh30:
	adrp	x0, l_.str.7@PAGE
Lloh31:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	w1, #7
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	b	LBB0_16
LBB0_25:
	ldr	x8, [x20, #40]
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_1
; %bb.26:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, #2
	b.lo	LBB0_28
; %bb.27:
Lloh32:
	adrp	x0, l_.str.7@PAGE
Lloh33:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	w1, #7
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_28:
Lloh34:
	adrp	x0, l_.str.12@PAGE
Lloh35:
	add	x0, x0, l_.str.12@PAGEOFF
	mov	w1, #25
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	ldr	x21, [x20, #32]
	cbz	x21, LBB0_33
; %bb.29:
	cbnz	w26, LBB0_33
; %bb.30:
Lloh36:
	adrp	x8, _cancel_pressed@GOTPAGE
Lloh37:
	ldr	x8, [x8, _cancel_pressed@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	cbnz	x8, LBB0_33
; %bb.31:
Lloh39:
	adrp	x20, l_.str.11@PAGE
Lloh40:
	add	x20, x20, l_.str.11@PAGEOFF
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	mov	x1, x19
	bl	_latex_escaped_print
	mov	x0, x20
	mov	w1, #4
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	ldr	x21, [x21, #8]
	cbnz	x21, LBB0_32
LBB0_33:
	mov	w0, #10
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_fputc
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_cancel_pressed,8,3             ; @cancel_pressed
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\\begin{center}\n"

l_.str.1:                               ; @.str.1
	.asciz	"\n\\end{center}\n\n"

l_.str.2:                               ; @.str.2
	.asciz	"\\begin{tabular}{"

l_.str.3:                               ; @.str.3
	.asciz	"cl"

l_.str.4:                               ; @.str.4
	.asciz	"c|l"

l_.str.5:                               ; @.str.5
	.asciz	"|c|l|"

l_.str.6:                               ; @.str.6
	.asciz	"}\n"

l_.str.7:                               ; @.str.7
	.asciz	"\\hline\n"

l_.str.8:                               ; @.str.8
	.asciz	"\\multicolumn{2}{|c|}{\\textit{Record %lu}} \\\\\n"

l_.str.9:                               ; @.str.9
	.asciz	"\\multicolumn{2}{c}{\\textit{Record %lu}} \\\\\n"

l_.str.10:                              ; @.str.10
	.asciz	" & "

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

l_.str.12:                              ; @.str.12
	.asciz	"\\end{tabular}\n\n\\noindent "

	.no_dead_strip	_print_latex_vertical
.subsections_via_symbols
