	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Sudoku_Solve
_Sudoku_Solve:                          ## @Sudoku_Solve
	.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
	pushq	%rax
	movl	$8472, %eax                     ## imm = 0x2118
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -8512(%rbp)               ## 8-byte Spill
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-5888(%rbp), %rdi
	movl	$5832, %esi                     ## imm = 0x16C8
	callq	___bzero
	leaq	L_.memset_pattern(%rip), %rsi
	leaq	-7840(%rbp), %rdi
	movl	$1296, %edx                     ## imm = 0x510
	callq	_memset_pattern16
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	notl	%r14d
	shrl	$31, %r14d
	addl	%r14d, %r12d
	movq	$-1, -8496(%rbp,%r15,8)
	movq	$-1, -6544(%rbp,%r15,8)
	incq	%r15
	addl	$9, %ebx
	cmpq	$81, %r15
	je	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8512(%rbp), %rax               ## 8-byte Reload
	movsbl	(%rax,%r15), %r14d
	leal	-49(%r14), %eax
	addl	$-49, %r14d
	cmpb	$9, %al
	movl	$-1, %eax
	cmovael	%eax, %r14d
	testl	%r14d, %r14d
	js	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	(%r14,%rbx), %ecx
	movq	%r13, %rdi
	leaq	-5888(%rbp), %rsi
	leaq	-7840(%rbp), %rdx
	movl	$1, %r8d
	callq	_Sudoku_Update
	jmp	LBB0_3
LBB0_4:
	movl	$81, %eax
	subl	%r12d, %eax
	movl	%eax, -8512(%rbp)               ## 4-byte Spill
	movl	$0, -8500(%rbp)                 ## 4-byte Folded Spill
	movl	$655360, -8504(%rbp)            ## 4-byte Folded Spill
                                        ## imm = 0xA0000
	movl	$1, %r14d
	xorl	%r15d, %r15d
	testl	%r15d, %r15d
	jns	LBB0_6
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	testl	%r15d, %r15d
	js	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	incl	-8500(%rbp)                     ## 4-byte Folded Spill
	decl	%r15d
	movl	$-1, %r14d
	testl	%r15d, %r15d
	jns	LBB0_6
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	$-1, %rbx
	movl	$-1, %r14d
LBB0_29:                                ##   in Loop: Header=BB0_6 Depth=1
	addl	%r14d, %r15d
	movq	%rbx, -6544(%rbp,%r12,8)
	js	LBB0_30
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_25 Depth 2
	cmpl	-8512(%rbp), %r15d              ## 4-byte Folded Reload
	jge	LBB0_30
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%r15d, %r12d
	cmpl	$1, %r14d
	jne	LBB0_22
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-8504(%rbp), %edx               ## 4-byte Reload
	movl	%edx, %ecx
	sarl	$16, %ecx
	movzwl	%dx, %eax
	movq	%rax, -8496(%rbp,%r12,8)
	cmpl	$131072, %edx                   ## imm = 0x20000
	jl	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$2, %eax
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=2
	addq	$3, %rax
	movl	%ecx, %edx
	cmpq	$326, %rax                      ## imm = 0x146
	je	LBB0_18
LBB0_11:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-7848(%rbp,%rax,4), %edx
	cmpl	%ecx, %edx
	jge	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	leaq	-2(%rax), %rcx
	movq	%rcx, -8496(%rbp,%r12,8)
	movl	%edx, %ecx
	cmpl	$2, %edx
	jl	LBB0_18
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	-7844(%rbp,%rax,4), %edx
	cmpl	%ecx, %edx
	jge	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=2
	leaq	-1(%rax), %rcx
	movq	%rcx, -8496(%rbp,%r12,8)
	movl	%edx, %ecx
	cmpl	$2, %edx
	jl	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	-7840(%rbp,%rax,4), %edx
	cmpl	%ecx, %edx
	jge	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	%rax, -8496(%rbp,%r12,8)
	movl	%edx, %ecx
	cmpl	$2, %edx
	jge	LBB0_17
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-8496(%rbp,%r12,8), %rbx
	movq	%r12, %rax
	cmpl	$-1, %r14d
	jne	LBB0_24
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	%ecx, %edx
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	testl	%edx, %edx
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$10, %edx
	jne	LBB0_20
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=1
	movslq	%r15d, %rax
	decl	%r15d
	movq	$-1, -6544(%rbp,%r12,8)
	movq	-8504(%rbp,%rax,8), %rbx
	decq	%rax
	movq	%rax, %r12
LBB0_23:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-6544(%rbp,%rax,8), %rax
	movq	(%r13), %rcx
	movslq	%ebx, %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	(%rcx,%rax,4), %ecx
	movq	%r13, %rdi
	leaq	-5888(%rbp), %rsi
	leaq	-7840(%rbp), %rdx
	movl	$-1, %r8d
	callq	_Sudoku_Update
	jmp	LBB0_24
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	movslq	%r15d, %r12
	movq	-8496(%rbp,%r12,8), %rbx
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-6544(%rbp,%r12,8), %eax
	movslq	%ebx, %rdx
	incl	%eax
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$8, %eax
	jg	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_25 Depth=2
	movq	(%r13), %rcx
	movq	(%rcx,%rdx,8), %rcx
	movslq	%eax, %rbx
	movslq	(%rcx,%rbx,4), %rcx
	incl	%eax
	cmpq	$0, -5888(%rbp,%rcx,8)
	jne	LBB0_25
## %bb.28:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %r14d
	movq	%r13, %rdi
	leaq	-5888(%rbp), %rsi
	leaq	-7840(%rbp), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	$1, %r8d
	callq	_Sudoku_Update
	movl	%eax, -8504(%rbp)               ## 4-byte Spill
	jmp	LBB0_29
LBB0_32:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_34
## %bb.33:
	movl	-8500(%rbp), %eax               ## 4-byte Reload
	addq	$8472, %rsp                     ## imm = 0x2118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.long	9                               ## 0x9
	.long	9                               ## 0x9
	.long	9                               ## 0x9
	.long	9                               ## 0x9

	.no_dead_strip	_Sudoku_Solve
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Sudoku_Solve
_Sudoku_Solve:                          ; @Sudoku_Solve
	.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
	mov	w9, #8448
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #2, lsl #12             ; =8192
	sub	sp, sp, #256
	mov	x20, x1
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	add	x0, sp, #2600
	mov	w1, #5832
	bl	_bzero
Lloh5:
	adrp	x1, l_.memset_pattern@PAGE
Lloh6:
	add	x1, x1, l_.memset_pattern@PAGEOFF
	add	x0, sp, #656
	mov	w2, #1296
	bl	_memset_pattern16
	mov	x22, #0
	mov	w21, #0
	add	x23, sp, #1952
	add	x24, sp, #8
	mov	x25, #-1
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mvn	w8, w26
	str	x25, [x24], #8
	add	w21, w21, w8, lsr #31
	str	x25, [x23], #8
	add	x22, x22, #9
	add	x20, x20, #1
	cmp	x22, #729
	b.eq	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w8, [x20]
	sub	w8, w8, #49
	cmp	w8, #9
	csinv	w26, w8, wzr, lo
	tbnz	w26, #31, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w3, w22, w26
	add	x1, sp, #2600
	add	x2, sp, #656
	mov	x0, x19
	mov	w4, #1
	bl	_Sudoku_Update
	b	LBB0_1
LBB0_4:
	mov	w24, #0
	mov	w8, #81
	sub	w8, w8, w21
	stp	wzr, w8, [sp]                   ; 8-byte Folded Spill
	mov	w21, #655360
	mov	w27, #1
	add	x23, sp, #8
	add	x25, sp, #656
	add	x26, sp, #1952
	add	x28, sp, #2600
	tbz	w24, #31, LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	tbnz	w24, #31, LBB0_26
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp]                        ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp]                        ; 4-byte Folded Spill
	sub	w24, w24, #1
	mov	w27, #-1
	tbz	w24, #31, LBB0_9
	b	LBB0_5
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x22, #-1
	mov	w27, #-1
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	str	x22, [x26, x20, lsl #3]
	adds	w24, w24, w27
	b.mi	LBB0_5
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_23 Depth 2
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	cmp	w24, w8
	b.ge	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w27, #1
	b.ne	LBB0_19
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	asr	w9, w21, #16
	and	w10, w21, #0xffff
	mov	w8, w24
	str	x10, [x23, w24, uxtw #3]
	cmp	w21, #32, lsl #12               ; =131072
	b.lt	LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x10, #0
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	add	x10, x10, #1
	cmp	x10, #324
	b.eq	LBB0_16
LBB0_14:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w11, [x25, x10, lsl #2]
	cmp	w11, w9
	b.ge	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	str	x10, [x23, x8, lsl #3]
	mov	x9, x11
	cmp	w11, #2
	b.ge	LBB0_13
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=1
	cbz	w9, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w9, #10
	b.ne	LBB0_21
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=1
	sxtw	x9, w24
	sub	x20, x9, #1
	mov	x9, #-1
	str	x9, [x26, x8, lsl #3]
	ldr	x22, [x23, x20, lsl #3]
	mov	x24, x20
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x22, [x23, w24, uxtw #3]
	mov	w20, w24
	cmn	w27, #1
	b.ne	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x26, x20, lsl #3]
	ldr	x9, [x19]
	sbfiz	x10, x22, #3, #32
	ldr	x9, [x9, x10]
	ldr	w3, [x9, x8, lsl #2]
	add	x1, sp, #2600
	add	x2, sp, #656
	mov	x0, x19
	mov	w4, #-1
	bl	_Sudoku_Update
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x8, x24
	sxtw	x20, w8
	ldr	x22, [x23, w24, sxtw #3]
LBB0_22:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x26, x20, lsl #3]
	sxtw	x8, w22
	add	w10, w9, #1
LBB0_23:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w10, #8
	b.gt	LBB0_7
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	mov	x9, x10
	ldr	x10, [x19]
	ldr	x10, [x10, x8, lsl #3]
	ldrsw	x3, [x10, w9, sxtw #2]
	ldr	x11, [x28, x3, lsl #3]
	add	w10, w9, #1
	cbnz	x11, LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_9 Depth=1
	sxtw	x22, w9
	mov	w27, #1
	add	x1, sp, #2600
	add	x2, sp, #656
	mov	x0, x19
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	w4, #1
	bl	_Sudoku_Update
	mov	x21, x0
	b	LBB0_8
LBB0_26:
	ldur	x8, [x29, #-96]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	ldr	w0, [sp]                        ; 4-byte Folded Reload
	add	sp, sp, #2, lsl #12             ; =8192
	add	sp, sp, #256
	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
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.long	9                               ; 0x9
	.long	9                               ; 0x9
	.long	9                               ; 0x9
	.long	9                               ; 0x9

	.no_dead_strip	_Sudoku_Solve
.subsections_via_symbols
