	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_run                            ## -- Begin function run
	.p2align	4, 0x90
_run:                                   ## @run
	.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	_un@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	js	LBB0_66
## %bb.1:
	movq	_an@GOTPCREL(%rip), %rsi
	movq	_fd@GOTPCREL(%rip), %rbx
	movq	_a@GOTPCREL(%rip), %r12
	movq	_B2@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_64:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$10, %edi
	callq	_putchar
	movq	_fd@GOTPCREL(%rip), %rbx
	movq	%r13, %r12
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_65:                                ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%r14), %eax
	movq	_un@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r14d
	movl	%eax, %r14d
	movq	_an@GOTPCREL(%rip), %rsi
	movq	_B2@GOTPCREL(%rip), %r13
	jge	LBB0_66
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_20 Depth 2
                                        ##     Child Loop BB0_28 Depth 2
                                        ##     Child Loop BB0_41 Depth 2
                                        ##     Child Loop BB0_36 Depth 2
                                        ##     Child Loop BB0_50 Depth 2
                                        ##     Child Loop BB0_45 Depth 2
                                        ##     Child Loop BB0_52 Depth 2
                                        ##     Child Loop BB0_58 Depth 2
                                        ##     Child Loop BB0_63 Depth 2
	movq	_engineN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	imull	%r14d, %eax
	movq	_this_mod@GOTPCREL(%rip), %rdx
	addl	(%rdx), %eax
	movq	_userN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jg	LBB0_66
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, (%rsi)
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%r15
	movslq	%ecx, %rdx
	cmpq	%rdx, %r15
	jge	LBB0_8
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rdx
	cmpq	$0, (%rdx,%r15,8)
	js	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movslq	%eax, %rdx
	shlq	$2, %rdx
	addq	(%r12), %rdx
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_load
	movq	_an@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movl	%eax, (%rcx)
	movq	_engineN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	movq	_maxn@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	setl	%dil
	callq	_assert
	movq	_dn@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_an@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=2
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_13
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %ecx
	movl	%ecx, %edi
	shrl	$31, %edi
	addl	%ecx, %edi
                                        ## kill: def $ecx killed $ecx def $rcx
	andl	$1, %ecx
	leal	(%rcx,%rcx,2), %esi
	incl	%esi
	sarl	%edi
	movl	%edi, (%rax,%rbx,4)
	callq	_h_add
	movq	_d@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_dn@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rcx
	movl	%eax, (%rdx,%rcx,4)
	cmpl	$-1, %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	incq	%rcx
	movq	%rcx, (%rsi)
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_engineN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	imull	%r14d, %eax
	movq	_this_mod@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movl	%eax, -48(%rbp)
	movq	_A1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	cmpl	%eax, %ecx
	movq	_b@GOTPCREL(%rip), %r14
	movq	_B1@GOTPCREL(%rip), %r15
	jg	LBB0_19
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%eax, %ecx
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movl	(%r15), %edi
	testl	%edi, %edi
	js	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=2
	andl	$1073741823, %edi               ## imm = 0x3FFFFFFF
	callq	_h_rem
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=2
	xorl	%eax, %eax
	callq	_my_read1
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=2
	movl	-48(%rbp), %eax
	movl	(%rbx), %ecx
	cmpl	%eax, %ecx
	jle	LBB0_14
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_A2@GOTPCREL(%rip), %rbx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_20 Depth=2
	xorl	%eax, %eax
	callq	_my_read2
	testl	%eax, %eax
	je	LBB0_25
LBB0_20:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-48(%rbp), %eax
	cmpl	%eax, (%rbx)
	jg	LBB0_25
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=2
	jne	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=2
	movl	(%r13), %edi
	testl	%edi, %edi
	js	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=2
	andl	$1073741823, %edi               ## imm = 0x3FFFFFFF
	callq	_h_rem
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_dn@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_d@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r10
	movq	_h_val@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_h_key@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	(%r12), %r8
	movq	(%r14), %r9
	xorl	%edi, %edi
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_28 Depth=2
	movl	$0, (%rsi,%rbx,4)
	movl	$0, (%rdx,%rbx,4)
	incq	%rdi
	cmpq	%rdi, %rax
	je	LBB0_31
LBB0_28:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%r10,%rdi,4), %rbx
	cmpl	$0, (%rdx,%rbx,4)
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=2
	movl	(%rsi,%rbx,4), %ecx
	movslq	%r15d, %r15
	movl	%ecx, (%r8,%r15,4)
	movl	(%rdx,%rbx,4), %ecx
	movl	%ecx, (%r9,%r15,4)
	cmpl	%ecx, %r14d
	cmovlel	%ecx, %r14d
	incl	%r15d
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_cnt@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leal	4(,%r14,4), %edx
	xorl	%esi, %esi
	callq	_memset
	movl	%r15d, %r8d
	testl	%r15d, %r15d
	jle	LBB0_37
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_cnt@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_b@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	-1(%r8), %rsi
	movl	%r8d, %edx
	andl	$3, %edx
	cmpq	$3, %rsi
	jae	LBB0_40
## %bb.33:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%esi, %esi
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r8d, %edi
	andl	$-4, %edi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_41:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rax,%rsi,4), %rbx
	incl	(%rcx,%rbx,4)
	movslq	4(%rax,%rsi,4), %rbx
	incl	(%rcx,%rbx,4)
	movslq	8(%rax,%rsi,4), %rbx
	incl	(%rcx,%rbx,4)
	movslq	12(%rax,%rsi,4), %rbx
	incl	(%rcx,%rbx,4)
	addq	$4, %rsi
	cmpq	%rsi, %rdi
	jne	LBB0_41
LBB0_34:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%rdx, %rdx
	je	LBB0_37
## %bb.35:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rax,%rsi,4), %rax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_36:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rax,%rsi,4), %rdi
	incl	(%rcx,%rdi,4)
	incq	%rsi
	cmpq	%rsi, %rdx
	jne	LBB0_36
LBB0_37:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	jle	LBB0_46
## %bb.38:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_cnt@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	%r14d, %ecx
	movl	(%rsi), %edx
	leaq	-1(%rcx), %rdi
	movl	%ecx, %r9d
	andl	$3, %r9d
	cmpq	$3, %rdi
	jae	LBB0_49
## %bb.39:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	movl	$1, %ebx
	testq	%r9, %r9
	jne	LBB0_44
	jmp	LBB0_46
	.p2align	4, 0x90
LBB0_49:                                ##   in Loop: Header=BB0_2 Depth=1
	andl	$-4, %ecx
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_50:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addl	%edi, %edx
	movl	4(%rsi,%rbx,4), %edi
	addl	%edx, %edi
	movl	%edx, 4(%rsi,%rbx,4)
	movl	8(%rsi,%rbx,4), %eax
	addl	%edi, %eax
	movl	%edi, 8(%rsi,%rbx,4)
	movl	12(%rsi,%rbx,4), %edx
	addl	%eax, %edx
	movl	%eax, 12(%rsi,%rbx,4)
	movl	16(%rsi,%rbx,4), %edi
	movl	%edx, 16(%rsi,%rbx,4)
	addq	$4, %rbx
	cmpq	%rbx, %rcx
	jne	LBB0_50
## %bb.42:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	testq	%r9, %r9
	je	LBB0_46
LBB0_44:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rsi,%rbx,4), %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_45:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addl	%edi, %edx
	movl	(%rcx,%rsi,4), %edi
	movl	%edx, (%rcx,%rsi,4)
	incq	%rsi
	cmpq	%rsi, %r9
	jne	LBB0_45
LBB0_46:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r15d, %r15d
	movq	_fd@GOTPCREL(%rip), %rbx
	leaq	L_.str.1(%rip), %r13
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jle	LBB0_56
## %bb.47:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_c@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movq	_cnt@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_b@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	cmpl	$1, %r15d
	jne	LBB0_51
## %bb.48:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	testb	$1, %r8b
	jne	LBB0_55
	jmp	LBB0_56
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r8d, %r9d
	andl	$-2, %r9d
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_52:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rsi,%rax,4), %rbx
	movslq	(%rdx,%rbx,4), %rdi
	leal	1(%rdi), %ecx
	movl	%ecx, (%rdx,%rbx,4)
	movq	%rax, (%r10,%rdi,8)
	movslq	4(%rsi,%rax,4), %rcx
	movslq	(%rdx,%rcx,4), %rdi
	leal	1(%rdi), %ebx
	movl	%ebx, (%rdx,%rcx,4)
	leaq	1(%rax), %rcx
	movq	%rcx, (%r10,%rdi,8)
	addq	$2, %rax
	cmpq	%r9, %rax
	jne	LBB0_52
## %bb.53:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_fd@GOTPCREL(%rip), %rbx
	testb	$1, %r8b
	je	LBB0_56
LBB0_55:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%rsi,%rax,4), %rcx
	movslq	(%rdx,%rcx,4), %rsi
	leal	1(%rsi), %edi
	movl	%edi, (%rdx,%rcx,4)
	movq	%rax, (%r10,%rsi,8)
LBB0_56:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_MAX_ANS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r15d
	cmovll	%r15d, %eax
	movl	%eax, -44(%rbp)
	leaq	-48(%rbp), %rdi
	movl	$4, %esi
	callq	_my_write
	leaq	-44(%rbp), %rdi
	movl	$4, %esi
	callq	_my_write
	movl	-44(%rbp), %edx
	movslq	%r15d, %r15
	testl	%edx, %edx
	jle	LBB0_60
## %bb.57:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	-8(,%r15,8), %rbx
	xorl	%r15d, %r15d
	movq	_b@GOTPCREL(%rip), %r14
	movq	_c@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_58:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13), %rax
	movq	(%rax,%rbx), %rdi
	shlq	$2, %rdi
	addq	(%r14), %rdi
	movl	$4, %esi
	callq	_my_write
	movq	(%r13), %rax
	movq	(%rax,%rbx), %rdi
	shlq	$2, %rdi
	addq	(%r12), %rdi
	movl	$4, %esi
	callq	_my_write
	movslq	-44(%rbp), %rdx
	incq	%r15
	addq	$-8, %rbx
	cmpq	%rdx, %r15
	jl	LBB0_58
## %bb.59:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_fd@GOTPCREL(%rip), %rbx
	leaq	L_.str.1(%rip), %r13
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_60:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_test_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_65
## %bb.61:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %esi
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_printf
	cmpl	$0, -44(%rbp)
	movq	%r13, %rdi
	movq	%r12, %r13
	movq	_c@GOTPCREL(%rip), %r12
	jle	LBB0_64
## %bb.62:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	-8(,%r15,8), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_63:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_b@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	movq	(%rcx,%r15), %rcx
	movl	(%rax,%rcx,4), %esi
	movq	(%r13), %rax
	movl	(%rax,%rcx,4), %edx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_printf
	movq	%r14, %rdi
	movslq	-44(%rbp), %rax
	incq	%rbx
	addq	$-8, %r15
	cmpq	%rax, %rbx
	jl	LBB0_63
	jmp	LBB0_64
LBB0_66:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_un,4,2                         ## @un
	.comm	_engineN,4,2                    ## @engineN
	.comm	_this_mod,4,2                   ## @this_mod
	.comm	_userN,4,2                      ## @userN
	.comm	_an,4,2                         ## @an
	.comm	_fd,8,3                         ## @fd
	.comm	_a,8,3                          ## @a
	.comm	_maxn,4,2                       ## @maxn
	.comm	_dn,8,3                         ## @dn
	.comm	_d,8,3                          ## @d
	.comm	_A1,4,2                         ## @A1
	.comm	_B1,4,2                         ## @B1
	.comm	_A2,4,2                         ## @A2
	.comm	_B2,4,2                         ## @B2
	.comm	_h_val,8,3                      ## @h_val
	.comm	_h_key,8,3                      ## @h_key
	.comm	_b,8,3                          ## @b
	.comm	_cnt,8,3                        ## @cnt
	.comm	_c,8,3                          ## @c
	.comm	_MAX_ANS,4,2                    ## @MAX_ANS
	.comm	_test_mode,8,3                  ## @test_mode
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d %d"

L_.str.1:                               ## @.str.1
	.asciz	" (%d;%d)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_run                            ; -- Begin function run
	.p2align	2
_run:                                   ; @run
	.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
Lloh0:
	adrp	x8, _un@GOTPAGE
Lloh1:
	ldr	x8, [x8, _un@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tbnz	w8, #31, LBB0_51
; %bb.1:
	mov	w19, #0
Lloh3:
	adrp	x28, _engineN@GOTPAGE
Lloh4:
	ldr	x28, [x28, _engineN@GOTPAGEOFF]
Lloh5:
	adrp	x27, _an@GOTPAGE
Lloh6:
	ldr	x27, [x27, _an@GOTPAGEOFF]
Lloh7:
	adrp	x25, _fd@GOTPAGE
Lloh8:
	ldr	x25, [x25, _fd@GOTPAGEOFF]
Lloh9:
	adrp	x20, _a@GOTPAGE
Lloh10:
	ldr	x20, [x20, _a@GOTPAGEOFF]
Lloh11:
	adrp	x26, _dn@GOTPAGE
Lloh12:
	ldr	x26, [x26, _dn@GOTPAGEOFF]
Lloh13:
	adrp	x21, _b@GOTPAGE
Lloh14:
	ldr	x21, [x21, _b@GOTPAGEOFF]
Lloh15:
	adrp	x24, _c@GOTPAGE
Lloh16:
	ldr	x24, [x24, _c@GOTPAGEOFF]
Lloh17:
	adrp	x23, _B2@GOTPAGE
Lloh18:
	ldr	x23, [x23, _B2@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #10
	bl	_putchar
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w19, #1
Lloh19:
	adrp	x9, _un@GOTPAGE
Lloh20:
	ldr	x9, [x9, _un@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	cmp	w19, w9
	mov	x19, x8
Lloh22:
	adrp	x25, _fd@GOTPAGE
Lloh23:
	ldr	x25, [x25, _fd@GOTPAGEOFF]
Lloh24:
	adrp	x23, _B2@GOTPAGE
Lloh25:
	ldr	x23, [x23, _B2@GOTPAGEOFF]
	b.ge	LBB0_51
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_24 Depth 2
                                        ;     Child Loop BB0_31 Depth 2
                                        ;     Child Loop BB0_36 Depth 2
                                        ;     Child Loop BB0_39 Depth 2
                                        ;     Child Loop BB0_42 Depth 2
                                        ;     Child Loop BB0_45 Depth 2
                                        ;     Child Loop BB0_50 Depth 2
	ldr	w8, [x28]
Lloh26:
	adrp	x9, _this_mod@GOTPAGE
Lloh27:
	ldr	x9, [x9, _this_mod@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	madd	w9, w8, w19, w9
Lloh29:
	adrp	x10, _userN@GOTPAGE
Lloh30:
	ldr	x10, [x10, _userN@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	cmp	w9, w10
	b.gt	LBB0_51
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [x27]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #0
	mov	x22, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_11
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x25]
	ldr	x10, [x10, x22, lsl #3]
	tbnz	x10, #63, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [x20]
	add	x2, x8, w9, sxtw #2
	mov	x0, x22
	mov	x1, x19
	bl	_load
	ldr	w8, [x27]
	add	w9, w8, w0
	str	w9, [x27]
	ldr	w8, [x28]
	b	LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #0
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh32:
	adrp	x8, _maxn@GOTPAGE
Lloh33:
	ldr	x8, [x8, _maxn@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cmp	w9, w8
	cset	w0, lt
	bl	_assert
	str	xzr, [x26]
	ldr	w8, [x27]
	cmp	w8, #1
Lloh35:
	adrp	x25, _d@GOTPAGE
Lloh36:
	ldr	x25, [x25, _d@GOTPAGEOFF]
	b.lt	LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, #0
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	add	x22, x22, #1
	ldrsw	x8, [x27]
	cmp	x22, x8
	b.ge	LBB0_16
LBB0_14:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20]
	lsl	x9, x22, #2
	ldr	w10, [x8, x9]
	and	w11, w10, #0x1
	bfi	w11, w11, #1, #1
	add	w1, w11, #1
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w0, w10, #1
	str	w0, [x8, x9]
	bl	_h_add
	ldr	x9, [x25]
	ldr	x8, [x26]
	str	w0, [x9, x8, lsl #2]
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	add	x8, x8, #1
	str	x8, [x26]
	b	LBB0_13
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x28]
Lloh37:
	adrp	x9, _this_mod@GOTPAGE
Lloh38:
	ldr	x9, [x9, _this_mod@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	madd	w8, w8, w19, w9
	str	w8, [sp, #28]
Lloh40:
	adrp	x22, _A1@GOTPAGE
Lloh41:
	ldr	x22, [x22, _A1@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w9, w8
Lloh42:
	adrp	x25, _B1@GOTPAGE
Lloh43:
	ldr	x25, [x25, _B1@GOTPAGEOFF]
	b.gt	LBB0_22
LBB0_17:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w9, w8
	b.ne	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	w8, [x25]
	tbnz	w8, #31, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=2
	and	w0, w8, #0x3fffffff
	bl	_h_rem
LBB0_20:                                ;   in Loop: Header=BB0_17 Depth=2
	bl	_my_read1
	cbz	w0, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	w8, [sp, #28]
	ldr	w9, [x22]
	cmp	w9, w8
	b.le	LBB0_17
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh44:
	adrp	x22, _A2@GOTPAGE
Lloh45:
	ldr	x22, [x22, _A2@GOTPAGEOFF]
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=2
	bl	_my_read2
	cbz	w0, LBB0_28
LBB0_24:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x22]
	ldr	w9, [sp, #28]
	cmp	w8, w9
	b.gt	LBB0_28
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=2
	b.ne	LBB0_23
; %bb.26:                               ;   in Loop: Header=BB0_24 Depth=2
	ldr	w8, [x23]
	tbnz	w8, #31, LBB0_23
; %bb.27:                               ;   in Loop: Header=BB0_24 Depth=2
	and	w0, w8, #0x3fffffff
	bl	_h_rem
	b	LBB0_23
LBB0_28:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26]
	cbz	x8, LBB0_33
; %bb.29:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #0
	mov	w22, #0
Lloh46:
	adrp	x9, _d@GOTPAGE
Lloh47:
	ldr	x9, [x9, _d@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
Lloh49:
	adrp	x10, _h_val@GOTPAGE
Lloh50:
	ldr	x10, [x10, _h_val@GOTPAGEOFF]
Lloh51:
	ldr	x10, [x10]
Lloh52:
	adrp	x11, _h_key@GOTPAGE
Lloh53:
	ldr	x11, [x11, _h_key@GOTPAGEOFF]
Lloh54:
	ldr	x11, [x11]
	ldr	x12, [x20]
	ldr	x13, [x21]
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=2
	str	wzr, [x11, x14]
	str	wzr, [x10, x14]
	add	x9, x9, #4
	subs	x8, x8, #1
	b.eq	LBB0_34
LBB0_31:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x14, [x9]
	ldr	w15, [x10, x14, lsl #2]
	lsl	x14, x14, #2
	cbz	w15, LBB0_30
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=2
	ldr	w15, [x11, x14]
	sbfiz	x16, x22, #2, #32
	str	w15, [x12, x16]
	ldr	w15, [x10, x14]
	str	w15, [x13, x16]
	cmp	w25, w15
	csel	w25, w25, w15, gt
	add	w22, w22, #1
	b	LBB0_30
LBB0_33:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w22, #0
	mov	w25, #0
LBB0_34:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh55:
	adrp	x8, _cnt@GOTPAGE
Lloh56:
	ldr	x8, [x8, _cnt@GOTPAGEOFF]
Lloh57:
	ldr	x0, [x8]
	lsl	w8, w25, #2
	add	w2, w8, #4
	mov	w1, #0
	bl	_memset
	cmp	w22, #1
	b.lt	LBB0_37
; %bb.35:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh58:
	adrp	x8, _cnt@GOTPAGE
Lloh59:
	ldr	x8, [x8, _cnt@GOTPAGEOFF]
Lloh60:
	ldr	x8, [x8]
	ldr	x9, [x21]
	mov	w10, w22
LBB0_36:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x11, [x9], #4
	lsl	x11, x11, #2
	ldr	w12, [x8, x11]
	add	w12, w12, #1
	str	w12, [x8, x11]
	subs	x10, x10, #1
	b.ne	LBB0_36
LBB0_37:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w25, #1
	b.lt	LBB0_40
; %bb.38:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w11, #0
Lloh61:
	adrp	x8, _cnt@GOTPAGE
Lloh62:
	ldr	x8, [x8, _cnt@GOTPAGEOFF]
Lloh63:
	ldr	x8, [x8]
	add	w10, w25, #1
	ldr	w9, [x8], #4
	sub	x10, x10, #1
LBB0_39:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w9, w9, w11
	ldr	w11, [x8]
	str	w9, [x8], #4
	subs	x10, x10, #1
	b.ne	LBB0_39
LBB0_40:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w22, #1
	b.lt	LBB0_43
; %bb.41:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, #0
	ldr	x9, [x24]
Lloh64:
	adrp	x10, _cnt@GOTPAGE
Lloh65:
	ldr	x10, [x10, _cnt@GOTPAGEOFF]
Lloh66:
	ldr	x10, [x10]
	mov	w11, w22
	ldr	x12, [x21]
LBB0_42:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x13, [x12, x8, lsl #2]
	lsl	x13, x13, #2
	ldrsw	x14, [x10, x13]
	add	w15, w14, #1
	str	w15, [x10, x13]
	str	x8, [x9, x14, lsl #3]
	add	x8, x8, #1
	cmp	x11, x8
	b.ne	LBB0_42
LBB0_43:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh67:
	adrp	x8, _MAX_ANS@GOTPAGE
Lloh68:
	ldr	x8, [x8, _MAX_ANS@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	cmp	w22, w8
	csel	w8, w22, w8, lt
	str	w8, [sp, #24]
	add	x0, sp, #28
	mov	w1, #4
	bl	_my_write
	add	x0, sp, #24
	mov	w1, #4
	bl	_my_write
	ldr	w8, [sp, #24]
	cmp	w8, #1
	b.lt	LBB0_47
; %bb.44:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x28
	mov	x25, #0
	mov	x8, x22
	sbfiz	x8, x8, #3, #32
	sub	x28, x8, #8
LBB0_45:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21]
	ldr	x9, [x24]
	ldr	x9, [x9, x28]
	add	x0, x8, x9, lsl #2
	mov	w1, #4
	bl	_my_write
	ldr	x8, [x20]
	ldr	x9, [x24]
	ldr	x9, [x9, x28]
	add	x0, x8, x9, lsl #2
	mov	w1, #4
	bl	_my_write
	ldrsw	x8, [sp, #24]
	add	x25, x25, #1
	sub	x28, x28, #8
	cmp	x25, x8
	b.lt	LBB0_45
; %bb.46:                               ;   in Loop: Header=BB0_4 Depth=1
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	mov	x28, x23
LBB0_47:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh70:
	adrp	x9, _test_mode@GOTPAGE
Lloh71:
	ldr	x9, [x9, _test_mode@GOTPAGEOFF]
Lloh72:
	ldr	x9, [x9]
	cbz	x9, LBB0_3
; %bb.48:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [sp, #28]
	stp	x9, x8, [sp]
Lloh73:
	adrp	x0, l_.str@PAGE
Lloh74:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	w8, [sp, #24]
	cmp	w8, #1
Lloh75:
	adrp	x23, l_.str.1@PAGE
Lloh76:
	add	x23, x23, l_.str.1@PAGEOFF
	b.lt	LBB0_2
; %bb.49:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, #0
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	sbfiz	x8, x22, #3, #32
	sub	x22, x8, #8
LBB0_50:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21]
	ldr	x9, [x24]
	ldr	x9, [x9, x22]
	lsl	x9, x9, #2
	ldr	x10, [x20]
	ldr	w8, [x8, x9]
	ldr	w9, [x10, x9]
	stp	x8, x9, [sp]
	mov	x0, x23
	bl	_printf
	ldrsw	x8, [sp, #24]
	add	x25, x25, #1
	sub	x22, x22, #8
	cmp	x25, x8
	b.lt	LBB0_50
	b	LBB0_2
LBB0_51:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.cfi_endproc
                                        ; -- End function
	.comm	_un,4,2                         ; @un
	.comm	_engineN,4,2                    ; @engineN
	.comm	_this_mod,4,2                   ; @this_mod
	.comm	_userN,4,2                      ; @userN
	.comm	_an,4,2                         ; @an
	.comm	_fd,8,3                         ; @fd
	.comm	_a,8,3                          ; @a
	.comm	_maxn,4,2                       ; @maxn
	.comm	_dn,8,3                         ; @dn
	.comm	_d,8,3                          ; @d
	.comm	_A1,4,2                         ; @A1
	.comm	_B1,4,2                         ; @B1
	.comm	_A2,4,2                         ; @A2
	.comm	_B2,4,2                         ; @B2
	.comm	_h_val,8,3                      ; @h_val
	.comm	_h_key,8,3                      ; @h_key
	.comm	_b,8,3                          ; @b
	.comm	_cnt,8,3                        ; @cnt
	.comm	_c,8,3                          ; @c
	.comm	_MAX_ANS,4,2                    ; @MAX_ANS
	.comm	_test_mode,8,3                  ; @test_mode
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d %d"

l_.str.1:                               ; @.str.1
	.asciz	" (%d;%d)"

.subsections_via_symbols
