	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ARMT_Convert                   ## -- Begin function ARMT_Convert
	.p2align	4, 0x90
_ARMT_Convert:                          ## @ARMT_Convert
	.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
                                        ## kill: def $edx killed $edx def $rdx
	xorl	%eax, %eax
	cmpl	$4, %esi
	jge	LBB0_1
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	addl	$-4, %esi
	addl	$4, %edx
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	$2, %eax
	cmpl	%esi, %eax
	jg	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%eax, %r8
	movl	4(%rdi,%r8,4), %r11d
	movl	%r11d, %r9d
	andl	$248, %r9d
	cmpl	$240, %r9d
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%rdi,%r8,4), %r10d
	movl	%r10d, %r9d
	notl	%r9d
	testb	$-8, %r9b
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%r8), %r9
	andl	$7, %r11d
	shll	$19, %r11d
	movl	(%rdi,%r8,4), %eax
	shll	$11, %eax
	andl	$7, %r10d
	shll	$8, %r10d
	orl	%r11d, %r10d
	orl	%eax, %r10d
	orl	8(%rdi,%r8,4), %r10d
	leaq	3(%r8), %r11
	leal	(%rdx,%r8), %r14d
	leal	2(%r8), %eax
	movl	%r14d, %ebx
	negl	%ebx
	testl	%ecx, %ecx
	cmovnel	%r14d, %ebx
	leal	(%rbx,%r10,2), %r14d
	movl	%r14d, %r10d
	sarl	%r10d
	movl	%r14d, %ebx
	shrl	$20, %ebx
	andl	$7, %ebx
	orl	$240, %ebx
	movl	%ebx, (%rdi,%r9,4)
	movl	%r14d, %ebx
	sarl	$12, %ebx
	movl	%ebx, (%rdi,%r8,4)
	shrl	$9, %r14d
	orl	$248, %r14d
	movzbl	%r14b, %ebx
	movl	%ebx, (%rdi,%r11,4)
	movl	%r10d, 8(%rdi,%r8,4)
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ARMT_Convert                   ; -- Begin function ARMT_Convert
	.p2align	2
_ARMT_Convert:                          ; @ARMT_Convert
	.cfi_startproc
; %bb.0:
	mov	w8, #0
	subs	w9, w1, #4
	b.ge	LBB0_2
LBB0_1:
	mov	x0, x8
	ret
LBB0_2:
	add	w10, w2, #4
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w8, #2
	cmp	w8, w9
	b.gt	LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x13, w8
	add	x11, x13, #1
	ldr	w15, [x0, x11, lsl #2]
	and	w12, w15, #0xf8
	cmp	w12, #240
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x12, x13, #3
	ldr	w14, [x0, x12, lsl #2]
	mvn	w16, w14
	tst	w16, #0xf8
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ubfiz	w15, w15, #19, #3
	lsl	x16, x13, #2
	ldr	w17, [x0, x16]
	add	w8, w10, w8
	add	x13, x13, #2
	lsl	x1, x13, #2
	ldr	w2, [x0, x1]
	bfi	w15, w14, #8, #3
	orr	w14, w15, w17, lsl #11
	orr	w14, w14, w2
	cmp	w3, #0
	cneg	w8, w8, eq
	add	w8, w8, w14, lsl #1
	asr	w14, w8, #1
	mov	w15, #240
	bfxil	w15, w8, #20, #3
	str	w15, [x0, x11, lsl #2]
	asr	w11, w8, #12
	str	w11, [x0, x16]
	mov	w11, #248
	bfxil	w11, w8, #9, #3
	str	w11, [x0, x12, lsl #2]
	str	w14, [x0, x1]
	mov	x8, x13
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
