	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ARM_Convert                    ## -- Begin function ARM_Convert
	.p2align	4, 0x90
_ARM_Convert:                           ## @ARM_Convert
	.cfi_startproc
## %bb.0:
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $esi killed $esi def $rsi
	xorl	%eax, %eax
	cmpl	$4, %esi
	jl	LBB0_6
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	addl	$-4, %esi
	leal	8(%rdx), %r8d
	movl	$-8, %r9d
	subl	%edx, %r9d
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rax
	addl	$-4, %r9d
	cmpq	%rsi, %rax
	ja	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$235, 12(%rdi,%rax,4)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rdi,%rax,4), %edx
	movl	8(%rdi,%rax,4), %r10d
	shll	$16, %r10d
	shll	$8, %edx
	orl	%r10d, %edx
	orl	(%rdi,%rax,4), %edx
	leal	(%r8,%rax), %r10d
	testl	%ecx, %ecx
	cmovel	%r9d, %r10d
	leal	(%r10,%rdx,4), %r11d
	movl	%r11d, %r10d
	sarl	$2, %r10d
	movl	%r11d, %edx
	sarl	$18, %edx
	movl	%edx, 8(%rdi,%rax,4)
	sarl	$10, %r11d
	movl	%r11d, 4(%rdi,%rax,4)
	movl	%r10d, (%rdi,%rax,4)
	jmp	LBB0_4
LBB0_5:
	popq	%rbp
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ARM_Convert
lCPI0_0:
	.long	4294967294                      ; 0xfffffffe
	.long	4294967286                      ; 0xfffffff6
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ARM_Convert
	.p2align	2
_ARM_Convert:                           ; @ARM_Convert
	.cfi_startproc
; %bb.0:
	subs	w9, w1, #4
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #0
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_2:
	mov	x8, x0
	mov	x0, #0
	add	w10, w2, #8
	mov	w11, #-8
	sub	w11, w11, w2
	add	x8, x8, #8
Lloh0:
	adrp	x12, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x12, lCPI0_0@PAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x0, #4
	sub	w11, w11, #4
	add	x8, x8, #16
	cmp	x0, x9
	b.hi	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x8, #4]
	cmp	w12, #235
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	w13, w12, [x8, #-4]
	ldur	w14, [x8, #-8]
	lsl	w13, w13, #8
	orr	w12, w13, w12, lsl #16
	orr	w12, w12, w14
	add	w13, w10, w0
	cmp	w3, #0
	csel	w13, w11, w13, eq
	add	w12, w13, w12, lsl #2
	asr	w13, w12, #18
	str	w13, [x8]
	dup.2s	v1, w12
	sshl.2s	v1, v1, v0
	stur	d1, [x8, #-8]
	b	LBB0_3
LBB0_6:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
