	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function computematchjumps
_computematchjumps:                     ## @computematchjumps
	.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
	cmpq	$0, (%rdi)
	je	LBB0_1
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rsi, %r15
	movl	(%rsi), %edi
	shll	$2, %edi
	callq	_malloc
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movl	(%r15), %edi
	shll	$2, %edi
	callq	_malloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_32
## %bb.5:
	movl	(%r15), %esi
	testl	%esi, %esi
	jle	LBB0_6
## %bb.22:
	movl	$-1, %ecx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	leal	(%rcx,%rsi,2), %esi
	movl	%esi, (%rax,%rdx,4)
	incq	%rdx
	movslq	(%r15), %rsi
	decl	%ecx
	cmpq	%rsi, %rdx
	jl	LBB0_23
## %bb.16:
	testl	%esi, %esi
	jle	LBB0_6
## %bb.17:
	movl	%esi, %r13d
	movl	%esi, %r14d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_18 Depth=1
	decl	%r14d
	cmpq	$1, %r13
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jle	LBB0_7
LBB0_18:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
	leaq	-1(%r13), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%ecx, %ebx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%r14d, (%rcx,%rbx,4)
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15), %esi
	cmpl	%esi, %r14d
	jge	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	movq	16(%r15), %rcx
	movq	(%rcx,%rbx,8), %rdx
	movslq	%r14d, %r12
	cmpq	(%rcx,%r12,8), %rdx
	je	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=2
	movl	(%rax,%r12,4), %edi
	subl	%r13d, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MIN
	movq	%rax, %rcx
	movq	8(%r15), %rax
	movl	%ecx, (%rax,%r12,4)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%r12,4), %r14d
	jmp	LBB0_19
LBB0_2:
	movq	$0, 8(%r15)
	jmp	LBB0_3
LBB0_6:
	movl	%esi, %r14d
LBB0_7:
	testl	%r14d, %r14d
	js	LBB0_12
## %bb.8:
	movl	(%rax), %edi
	addl	%r14d, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MIN
	movq	%rax, %rcx
	movq	8(%r15), %rax
	movl	%ecx, (%rax)
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.9:
	leal	1(%r14), %r12d
	leal	-1(%r14), %r13d
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rbx,4), %edi
	movl	(%r15), %esi
	addl	%r13d, %esi
	callq	_MIN
	movq	%rax, %rcx
	movq	8(%r15), %rax
	movl	%ecx, (%rax,%rbx,4)
	incq	%rbx
	decl	%r13d
	cmpq	%rbx, %r12
	jne	LBB0_10
LBB0_11:
	movl	(%r15), %esi
LBB0_12:
	cmpl	%esi, %r14d
	jge	LBB0_32
## %bb.13:
	movl	%r14d, %ecx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%ecx, %edx
LBB0_31:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%edx, %ecx
	cmpl	%esi, %edx
	jge	LBB0_32
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_27 Depth 2
	movslq	%r14d, %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi,%rdx,4), %r14d
	cmpl	%r14d, %ecx
	jg	LBB0_15
## %bb.25:                              ##   in Loop: Header=BB0_14 Depth=1
	movslq	%ecx, %rbx
	cmpl	%esi, %ecx
	jge	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_14 Depth=1
	movslq	%r14d, %r13
	leal	1(%r14), %edx
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	%r14d, %r12d
	subl	%ecx, %r12d
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rax,%rbx,4), %edi
	addl	%r12d, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MIN
	movq	%rax, %rcx
	movq	8(%r15), %rax
	movl	%ecx, (%rax,%rbx,4)
	cmpq	%r13, %rbx
	jge	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=2
	incq	%rbx
	movslq	(%r15), %rsi
	decl	%r12d
	cmpq	%rsi, %rbx
	jl	LBB0_27
LBB0_30:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%ebx, %edx
	jmp	LBB0_31
LBB0_28:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r15), %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_31
LBB0_32:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_computematchjumps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function computematchjumps
_computematchjumps:                     ; @computematchjumps
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_2
LBB0_1:
	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_2:
	mov	x19, x1
	ldr	w8, [x1]
	lsl	w0, w8, #2
	bl	_malloc
	cbz	x0, LBB0_14
; %bb.3:
	mov	x20, x0
	ldr	w8, [x19]
	lsl	w0, w8, #2
	bl	_malloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_32
; %bb.4:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.5:
	mov	x9, #0
	mov	w10, #-1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w10, w8, lsl #1
	str	w8, [x0, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x8, [x19]
	sub	w10, w10, #1
	cmp	x9, x8
	b.lt	LBB0_6
; %bb.7:
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.8:
	and	x22, x8, #0xffffffff
	mov	x21, x8
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	sub	w21, w21, #1
	cmp	x22, #1
	mov	x22, x23
	b.le	LBB0_16
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	sub	x23, x22, #1
	str	w21, [x20, w23, uxtw #2]
	ldr	w8, [x19]
	cmp	w21, w8
	b.ge	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	and	x24, x23, #0xffffffff
LBB0_12:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x19, #16]
	ldr	x10, [x9, x24, lsl #3]
	ldr	x9, [x9, w21, sxtw #3]
	cmp	x10, x9
	b.eq	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	sxtw	x9, w21
	lsl	x21, x9, #2
	ldr	w0, [x0, x21]
	sub	w1, w8, w22
	bl	_MIN
	mov	x8, x0
	ldr	x0, [x19, #8]
	str	w8, [x0, x21]
	ldr	w21, [x20, x21]
	ldr	w8, [x19]
	cmp	w21, w8
	b.lt	LBB0_12
	b	LBB0_9
LBB0_14:
	str	xzr, [x19, #8]
	b	LBB0_1
LBB0_15:
	mov	x21, x8
LBB0_16:
	tbnz	w21, #31, LBB0_21
; %bb.17:
	ldr	w0, [x0]
	add	w1, w21, w8
	bl	_MIN
	mov	x8, x0
	ldr	x0, [x19, #8]
	str	w8, [x0]
	cbz	w21, LBB0_20
; %bb.18:
	add	w8, w21, #1
	lsl	x22, x8, #2
	sub	w23, w21, #1
	mov	w24, #4
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	ldr	w0, [x0, x24]
	add	w1, w23, w8
	bl	_MIN
	mov	x8, x0
	ldr	x0, [x19, #8]
	str	w8, [x0, x24]
	add	x24, x24, #4
	sub	w23, w23, #1
	cmp	x22, x24
	b.ne	LBB0_19
LBB0_20:
	ldr	w8, [x19]
	cmp	w21, w8
	b.lt	LBB0_22
	b	LBB0_32
LBB0_21:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	cmp	w21, w8
	b.ge	LBB0_32
LBB0_22:
	mov	x22, x21
	mov	x9, x21
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x21, x9
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x9, x21
	cmp	w21, w8
	b.ge	LBB0_32
LBB0_25:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_28 Depth 2
	ldr	w22, [x20, w22, sxtw #2]
	cmp	w9, w22
	b.gt	LBB0_23
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	sxtw	x23, w9
	cmp	w9, w8
	b.ge	LBB0_30
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	sxtw	x24, w22
	add	w21, w24, #1
	sub	w25, w24, w9
LBB0_28:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x26, x23, #2
	ldr	w0, [x0, x26]
	add	w1, w8, w25
	bl	_MIN
	mov	x8, x0
	ldr	x0, [x19, #8]
	str	w8, [x0, x26]
	cmp	x24, x23
	b.eq	LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=2
	add	x23, x23, #1
	ldrsw	x8, [x19]
	sub	w25, w25, #1
	cmp	x23, x8
	b.lt	LBB0_28
LBB0_30:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x21, x23
	b	LBB0_24
LBB0_31:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	w8, [x19]
	b	LBB0_24
LBB0_32:
	mov	x0, x20
	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	_free
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_computematchjumps
.subsections_via_symbols
