	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function output_base
_output_base:                           ## @output_base
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_base@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_start_int_table
	movq	_nstates@GOTPCREL(%rip), %r15
	cmpl	$2, (%r15)
	jl	LBB0_6
## %bb.1:
	movl	$10, %r12d
	movl	$1, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_output_newline
	movl	$1, %r12d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_output_int
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$10, %r12d
	jge	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	jmp	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	callq	_end_table
	movq	(%r14), %rax
	movslq	(%r15), %rcx
	movl	(%rax,%rcx,4), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_start_int_table
	movl	(%r15), %ecx
	leal	1(%rcx), %eax
	addl	%ecx, %ecx
	cmpl	%ecx, %eax
	jge	LBB0_12
## %bb.7:
	movslq	%eax, %rbx
	movl	$10, %r12d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_8 Depth=1
	xorl	%eax, %eax
	callq	_output_newline
	movl	$1, %r12d
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_output_int
	incq	%rbx
	movslq	(%r15), %rax
	addq	%rax, %rax
	cmpq	%rax, %rbx
	jge	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$10, %r12d
	jge	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	incl	%r12d
	jmp	LBB0_11
LBB0_12:
	xorl	%eax, %eax
	callq	_end_table
	movq	(%r14), %rax
	movq	_PER_STATE@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rcx
	movslq	(%r15), %rdx
	imulq	%rcx, %rdx
	movl	(%rax,%rdx,4), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_start_int_table
	movl	(%r15), %eax
	imull	(%rbx), %eax
	incl	%eax
	movq	_nvectors@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	decl	%ecx
	cmpl	%ecx, %eax
	jge	LBB0_18
## %bb.13:
	movslq	%eax, %rbx
	movl	$10, %r12d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=1
	xorl	%eax, %eax
	callq	_output_newline
	movl	$1, %r12d
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_output_int
	incq	%rbx
	movslq	(%r15), %rax
	decq	%rax
	cmpq	%rax, %rbx
	jge	LBB0_18
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$10, %r12d
	jge	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	incl	%r12d
	jmp	LBB0_17
LBB0_18:
	xorl	%eax, %eax
	callq	_end_table
	movq	(%r14), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_FREE                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sindex"

	.comm	_base,8,3                       ## @base
	.comm	_nstates,4,2                    ## @nstates
L_.str.1:                               ## @.str.1
	.asciz	"rindex"

L_.str.2:                               ## @.str.2
	.asciz	"gindex"

	.comm	_PER_STATE,4,2                  ## @PER_STATE
	.comm	_nvectors,4,2                   ## @nvectors
	.no_dead_strip	_output_base
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function output_base
_output_base:                           ; @output_base
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x19, _base@GOTPAGE
Lloh1:
	ldr	x19, [x19, _base@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w1, [x8]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_start_int_table
Lloh4:
	adrp	x20, _nstates@GOTPAGE
Lloh5:
	ldr	x20, [x20, _nstates@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_6
; %bb.1:
	mov	w22, #10
	mov	w21, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_output_newline
	mov	w22, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8, x21, lsl #2]
	bl	_output_int
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w22, #10
	b.ge	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, #1
	b	LBB0_3
LBB0_6:
	bl	_end_table
	ldr	x8, [x19]
	ldrsw	x9, [x20]
	ldr	w1, [x8, x9, lsl #2]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_start_int_table
	ldr	w9, [x20]
	add	w8, w9, #1
	cmp	w8, w9, lsl #1
	b.ge	LBB0_12
; %bb.7:
	sxtw	x21, w8
	mov	w22, #10
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	bl	_output_newline
	mov	w22, #1
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8, x21, lsl #2]
	bl	_output_int
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8, lsl #1
	b.ge	LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	cmp	w22, #10
	b.ge	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w22, w22, #1
	b	LBB0_9
LBB0_12:
	bl	_end_table
Lloh8:
	adrp	x21, _PER_STATE@GOTPAGE
Lloh9:
	ldr	x21, [x21, _PER_STATE@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w9, [x21]
	ldr	w10, [x20]
	mul	w9, w10, w9
	ldr	w1, [x8, w9, sxtw #2]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_start_int_table
	ldr	w8, [x21]
	ldr	w9, [x20]
	orr	w10, wzr, #0x1
	madd	w8, w9, w8, w10
Lloh12:
	adrp	x20, _nvectors@GOTPAGE
Lloh13:
	ldr	x20, [x20, _nvectors@GOTPAGEOFF]
	ldr	w9, [x20]
	sub	w9, w9, #1
	cmp	w8, w9
	b.ge	LBB0_18
; %bb.13:
	sxtw	x21, w8
	mov	w22, #10
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	bl	_output_newline
	mov	w22, #1
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8, x21, lsl #2]
	bl	_output_int
	add	x21, x21, #1
	ldrsw	x8, [x20]
	sub	x8, x8, #1
	cmp	x21, x8
	b.ge	LBB0_18
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	cmp	w22, #10
	b.ge	LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	add	w22, w22, #1
	b	LBB0_15
LBB0_18:
	bl	_end_table
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_FREE
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sindex"

	.comm	_base,8,3                       ; @base
	.comm	_nstates,4,2                    ; @nstates
l_.str.1:                               ; @.str.1
	.asciz	"rindex"

l_.str.2:                               ; @.str.2
	.asciz	"gindex"

	.comm	_PER_STATE,4,2                  ; @PER_STATE
	.comm	_nvectors,4,2                   ; @nvectors
	.no_dead_strip	_output_base
.subsections_via_symbols
