	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_convert_value_data             ## -- Begin function convert_value_data
	.p2align	4, 0x90
_convert_value_data:                    ## @convert_value_data
	.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
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	(%rdi), %edi
	andl	%edx, %edi
	callq	_alloc_value_data
	movq	%rax, %r13
	movq	8(%r14), %rax
	movq	8(%r13), %rcx
	andl	16(%r14), %r12d
	movl	%r12d, 16(%r13)
	movq	_MAX_EXTRA_MASK@GOTPCREL(%rip), %r8
	movl	(%r8), %edi
	cmpl	$2, %edi
	jl	LBB0_7
## %bb.1:
	movl	$1, %esi
	xorl	%r9d, %r9d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rdx
	movq	%rdx, (%rcx)
	addq	$8, %rcx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	cmpl	$256, %esi                      ## imm = 0x100
	setl	%dl
	movl	$2, %ebx
	subq	%rdx, %rbx
	testl	%esi, (%r14)
	cmoveq	%r9, %rbx
	leaq	(%rax,%rbx,4), %rax
	addl	%esi, %esi
	cmpl	%edi, %esi
	jge	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%esi, (%r13)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$255, %esi
	jg	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %edi
	movl	%edi, (%rcx)
	addq	$4, %rcx
	movl	(%r8), %edi
	jmp	LBB0_6
LBB0_7:
	testl	%r15d, %r15d
	jne	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	callq	_free_value_data
LBB0_9:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_EXTRA_MASK,4,2             ## @MAX_EXTRA_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_convert_value_data             ; -- Begin function convert_value_data
	.p2align	2
_convert_value_data:                    ; @convert_value_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x0]
	and	w0, w8, w2
	bl	_alloc_value_data
	mov	x20, x0
	ldr	x8, [x19, #8]
	ldr	x9, [x0, #8]
	ldr	w10, [x19, #16]
	and	w10, w10, w22
	str	w10, [x0, #16]
Lloh0:
	adrp	x10, _MAX_EXTRA_MASK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MAX_EXTRA_MASK@GOTPAGEOFF]
	ldr	w11, [x10]
	cmp	w11, #2
	b.lt	LBB0_7
; %bb.1:
	mov	w12, #1
	mov	w13, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x14, [x8]
	str	x14, [x9], #8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w14, [x19]
	cmp	w13, #256
	cinc	x15, x12, ge
	tst	w14, w13
	csel	x14, xzr, x15, eq
	add	x8, x8, x14, lsl #2
	lsl	w13, w13, #1
	cmp	w13, w11
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x20]
	tst	w14, w13
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w13, #255
	b.gt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x8]
	str	w11, [x9], #4
	ldr	w11, [x10]
	b	LBB0_3
LBB0_7:
	cbnz	w21, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_free_value_data
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_EXTRA_MASK,4,2             ; @MAX_EXTRA_MASK
.subsections_via_symbols
