	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compute_assignment             ## -- Begin function compute_assignment
	.p2align	4, 0x90
_compute_assignment:                    ## @compute_assignment
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movl	%esi, %r14d
	movl	%edi, %r15d
	leal	(,%r15,4), %edx
	cmpl	$1, %edi
	jg	LBB0_1
## %bb.8:
	movq	%rcx, %rdi
	xorl	%esi, %esi
	callq	_memset
	shll	$2, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_1:
	movq	%rcx, %rdi
	movl	$-1, %esi
	callq	_memset
	leal	(,%r14,4), %edx
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_memset
	movl	%r15d, %esi
	callq	_ALLOC_ARRAY
	decl	%r15d
	cmpl	$2, %r14d
	jl	LBB0_2
## %bb.3:
	movl	$1, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	movl	%esi, %r12d
	cmpl	%ebx, %r14d
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_COST
	movl	%eax, %r13d
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_COST
	movl	%ebx, %esi
	cmpl	%eax, %r13d
	jg	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%r12d, %esi
	jmp	LBB0_6
LBB0_2:
	xorl	%esi, %esi
LBB0_7:
	movl	%r15d, %edi
	callq	_COST
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compute_assignment             ; -- Begin function compute_assignment
	.p2align	2
_compute_assignment:                    ; @compute_assignment
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x4
	mov	x19, x1
	lsl	w2, w0, #2
	subs	w20, w0, #1
	b.gt	LBB0_2
; %bb.1:
	mov	x0, x3
	mov	w1, #0
	bl	_memset
	lsl	w2, w19, #2
	mov	x0, x21
	mov	w1, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_memset
LBB0_2:
	mov	x22, x0
	mov	x0, x3
	mov	w1, #-1
	bl	_memset
	lsl	w2, w19, #2
	mov	x0, x21
	mov	w1, #-1
	bl	_memset
	mov	x1, x22
	bl	_ALLOC_ARRAY
	cmp	w19, #2
	b.lt	LBB0_5
; %bb.3:
	mov	w21, #0
	mov	w22, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_COST
	mov	x23, x0
	mov	x0, x20
	mov	x1, x22
	bl	_COST
	cmp	w23, w0
	csel	w21, w22, w21, gt
	add	w22, w22, #1
	cmp	w19, w22
	b.ne	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	w21, #0
LBB0_6:
	mov	x0, x20
	mov	x1, x21
	bl	_COST
	brk	#0x1
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
.subsections_via_symbols
