	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function assign_variant
_assign_variant:                        ## @assign_variant
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rdi
	movl	(%r14), %ebx
	testl	%ebx, %ebx
	js	LBB0_1
LBB0_7:
	movl	%ebx, %esi
	callq	_fit_variant
	movl	%ebx, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_2
## %bb.3:
	movq	8(%rdi), %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rcx,%rbx,4)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	jne	LBB0_4
## %bb.6:
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_2:
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_assign_variant
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function assign_variant
_assign_variant:                        ; @assign_variant
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0, #8]
	ldr	w20, [x19]
	tbnz	w20, #31, LBB0_2
LBB0_1:
	mov	x1, x20
	bl	_fit_variant
	str	w20, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x20, #0
	ldr	x9, [x0, #8]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, x20, lsl #2]
	cbz	w10, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	cmp	x8, x20
	b.ne	LBB0_4
; %bb.6:
	mov	x20, x8
	b	LBB0_1
LBB0_7:
	mov	w20, #0
	b	LBB0_1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_assign_variant
.subsections_via_symbols
