	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_one_direct_mv
_set_one_direct_mv:                     ## @set_one_direct_mv
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movslq	%edx, %rcx
	movslq	(%rax,%rcx,4), %rax
	movl	8(%rdi), %r8d
	movl	12(%rdi), %r11d
	movq	(%rsi), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx,%rax,8), %r14
	movslq	(%r14), %rsi
	movq	_tab_bias@GOTPCREL(%rip), %r9
	movslq	(%r9), %rax
	addq	%rsi, %rax
	movq	_tab_size@GOTPCREL(%rip), %r10
	cmpl	(%r10), %eax
	jae	LBB0_2
## %bb.1:
	movq	16(%rdi), %r12
	movq	24(%rdi), %rbx
	movq	(%rbx), %rdx
	movl	(%rdx,%rax,4), %eax
	movq	(%r12), %rdx
	movq	(%rdx,%rcx,8), %r15
	movl	%eax, (%r15)
	movq	8(%rbx), %rax
	movslq	(%r9), %rdx
	addq	%rsi, %rdx
	movl	(%rax,%rdx,4), %eax
	movq	8(%r12), %rdx
	jmp	LBB0_3
LBB0_2:
	movl	%esi, %eax
	imull	%r11d, %eax
	cltd
	idivl	%r8d
	movq	16(%rdi), %rbx
	movq	(%rbx), %rdx
	movq	(%rdx,%rcx,8), %r15
	movl	%eax, (%r15)
	movl	%r11d, %eax
	subl	%r8d, %eax
	imull	%esi, %eax
	cltd
	idivl	%r8d
	movq	8(%rbx), %rdx
LBB0_3:
	movq	(%rdx,%rcx,8), %rcx
	movl	%eax, (%rcx)
	movslq	4(%r14), %rsi
	movslq	(%r9), %rax
	addq	%rsi, %rax
	cmpl	(%r10), %eax
	jae	LBB0_5
## %bb.4:
	movq	24(%rdi), %rdx
	movq	(%rdx), %rsi
	movl	(%rsi,%rax,4), %esi
	movl	%esi, 4(%r15)
	movq	8(%rdx), %rdx
	movl	(%rdx,%rax,4), %eax
	jmp	LBB0_6
LBB0_5:
	movl	%esi, %eax
	imull	%r11d, %eax
	cltd
	idivl	%r8d
	movl	%eax, 4(%r15)
	subl	%r8d, %r11d
	imull	%esi, %r11d
	movl	%r11d, %eax
	cltd
	idivl	%r8d
LBB0_6:
	movl	%eax, 4(%rcx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tab_bias,4,2                   ## @tab_bias
	.comm	_tab_size,4,2                   ## @tab_size
	.no_dead_strip	_set_one_direct_mv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_one_direct_mv
_set_one_direct_mv:                     ; @set_one_direct_mv
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
	ldr	x8, [x0]
	sxtw	x14, w2
	ldrsw	x10, [x8, w2, sxtw #2]
	ldp	w8, w9, [x0, #8]
	ldr	x11, [x1]
	ldr	x11, [x11]
	ldr	x10, [x11, x10, lsl #3]
	ldr	w13, [x10]
Lloh0:
	adrp	x11, _tab_bias@GOTPAGE
Lloh1:
	ldr	x11, [x11, _tab_bias@GOTPAGEOFF]
	ldr	w15, [x11]
Lloh2:
	adrp	x12, _tab_size@GOTPAGE
Lloh3:
	ldr	x12, [x12, _tab_size@GOTPAGEOFF]
	ldr	w16, [x12]
	add	w15, w15, w13
	cmp	w15, w16
	b.hs	LBB0_2
; %bb.1:
	ldp	x17, x16, [x0, #16]
	ldp	x1, x16, [x16]
	ldr	w15, [x1, w15, sxtw #2]
	lsl	x1, x14, #3
	ldp	x14, x17, [x17]
	ldr	x14, [x14, x1]
	str	w15, [x14]
	ldr	w15, [x11]
	add	w13, w15, w13
	ldr	w15, [x16, w13, sxtw #2]
	ldr	x13, [x17, x1]
	b	LBB0_3
LBB0_2:
	mul	w15, w13, w9
	sdiv	w15, w15, w8
	ldr	x16, [x0, #16]
	lsl	x17, x14, #3
	ldp	x14, x16, [x16]
	ldr	x14, [x14, x17]
	str	w15, [x14]
	sub	w15, w9, w8
	mul	w15, w13, w15
	ldr	x13, [x16, x17]
	sdiv	w15, w15, w8
LBB0_3:
	str	w15, [x13]
	ldr	w10, [x10, #4]
	ldr	w11, [x11]
	ldr	w12, [x12]
	add	w11, w11, w10
	cmp	w11, w12
	b.hs	LBB0_5
; %bb.4:
	ldr	x8, [x0, #24]
	sbfiz	x9, x11, #2, #32
	ldp	x10, x8, [x8]
	ldr	w10, [x10, x9]
	str	w10, [x14, #4]
	ldr	w8, [x8, x9]
	str	w8, [x13, #4]
	ret
LBB0_5:
	mul	w11, w10, w9
	sdiv	w11, w11, w8
	str	w11, [x14, #4]
	sub	w9, w9, w8
	mul	w9, w10, w9
	sdiv	w8, w9, w8
	str	w8, [x13, #4]
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_tab_bias,4,2                   ; @tab_bias
	.comm	_tab_size,4,2                   ; @tab_size
	.no_dead_strip	_set_one_direct_mv
.subsections_via_symbols
