	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opt_blks
_opt_blks:                              ## @opt_blks
	.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
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_init_val
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rsi
	movl	(%rsi), %ebx
	movq	%r13, %rdi
	callq	_find_inedges
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	js	LBB0_6
## %bb.1:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-1(%r14), %rax
	testq	%r14, %r14
	movq	%rax, %r14
	jle	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	(%r13), %rax
	movq	(%rax,%r14,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	callq	_opt_blk
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
	jmp	LBB0_5
LBB0_6:
	testl	%r15d, %r15d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_7
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	testl	%r12d, %r12d
	jle	LBB0_19
## %bb.8:
	incl	%r12d
	movl	$1, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r14
	cmpq	%r12, %r14
	je	LBB0_13
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	(%r13), %rax
	movq	(%rax,%r14,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	12(%rbx), %rsi
	movq	%r13, %rdi
	callq	_opt_j
	leaq	8(%rbx), %rsi
	movq	%r13, %rdi
	callq	_opt_j
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_10
	jmp	LBB0_12
LBB0_13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_find_inedges
	movl	$1, %r15d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%r15
	cmpq	%r12, %r15
	je	LBB0_18
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
	movq	(%r13), %rax
	movq	(%rax,%r15,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_or_pullup
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_and_pullup
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_15
	jmp	LBB0_17
LBB0_19:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_find_inedges                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_opt_blks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opt_blks
_opt_blks:                              ; @opt_blks
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	mov	x0, x1
	bl	_init_val
	ldr	x1, [x20]
	ldr	w24, [x1]
	mov	x0, x19
	bl	_find_inedges
	tbnz	w24, #31, LBB0_5
; %bb.1:
	mov	x25, x24
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x8, x25, #1
	cmp	x25, #0
	mov	x25, x8
	b.le	LBB0_5
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	x8, [x19]
	ldr	x23, [x8, x25, lsl #3]
	cbz	x23, LBB0_2
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	mov	x3, x21
	bl	_opt_blk
	ldr	x23, [x23]
	cbnz	x23, LBB0_4
	b	LBB0_2
LBB0_5:
	cbz	w21, LBB0_7
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	cmp	w24, #0
	b.le	LBB0_16
; %bb.8:
	add	w21, w24, #1
	mov	w22, #1
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x22, #1
	cmp	x22, x21
	b.eq	LBB0_12
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x8, [x19]
	ldr	x23, [x8, x22, lsl #3]
	cbz	x23, LBB0_9
LBB0_11:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, x23, #12
	mov	x0, x19
	bl	_opt_j
	add	x1, x23, #8
	mov	x0, x19
	bl	_opt_j
	ldr	x23, [x23]
	cbnz	x23, LBB0_11
	b	LBB0_9
LBB0_12:
	ldr	x1, [x20]
	mov	x0, x19
	bl	_find_inedges
	mov	w22, #1
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x22, x22, #1
	cmp	x22, x21
	b.eq	LBB0_6
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	ldr	x8, [x19]
	ldr	x20, [x8, x22, lsl #3]
	cbz	x20, LBB0_13
LBB0_15:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x20
	bl	_or_pullup
	mov	x0, x19
	mov	x1, x20
	bl	_and_pullup
	ldr	x20, [x20]
	cbnz	x20, LBB0_15
	b	LBB0_13
LBB0_16:
	ldr	x1, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_find_inedges
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_opt_blks
.subsections_via_symbols
