	.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
                                        ## kill: def $edx killed $edx def $rdx
	cmpq	$4, %rsi
	jae	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	addq	$-4, %rsi
	addl	$4, %edx
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$2, %rax
	cmpq	%rsi, %rax
	ja	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rdi,%rax,4), %r9d
	movl	%r9d, %r8d
	andl	$248, %r8d
	cmpl	$240, %r8d
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	12(%rdi,%rax,4), %r8d
	movl	%r8d, %r10d
	notl	%r10d
	testb	$-8, %r10b
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	andl	$7, %r9d
	shll	$19, %r9d
	movl	(%rdi,%rax,4), %r10d
	shll	$11, %r10d
	andl	$7, %r8d
	shll	$8, %r8d
	orl	%r9d, %r8d
	orl	%r10d, %r8d
	orl	8(%rdi,%rax,4), %r8d
	leal	(%rdx,%rax), %r9d
	movl	%r9d, %r10d
	negl	%r10d
	testl	%ecx, %ecx
	cmovnel	%r9d, %r10d
	leal	(%r10,%r8,2), %r8d
	movl	%r8d, %r9d
	sarl	%r9d
	movl	%r8d, %r10d
	shrl	$20, %r10d
	andl	$7, %r10d
	orl	$240, %r10d
	movl	%r10d, 4(%rdi,%rax,4)
	movl	%r8d, %r10d
	sarl	$12, %r10d
	movl	%r10d, (%rdi,%rax,4)
	shrl	$9, %r8d
	orl	$248, %r8d
	movzbl	%r8b, %r8d
	movl	%r8d, 12(%rdi,%rax,4)
	movl	%r9d, 8(%rdi,%rax,4)
	addq	$2, %rax
	jmp	LBB0_6
LBB0_7:
	popq	%rbp
	retq
	.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	x8, #0
	subs	x9, x1, #4
	b.hs	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	x8, x8, #2
	cmp	x8, x9
	b.hi	LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x8, #1
	ldr	w14, [x0, x11, lsl #2]
	and	w12, w14, #0xf8
	cmp	w12, #240
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x12, x8, #3
	ldr	w13, [x0, x12, lsl #2]
	mvn	w15, w13
	tst	w15, #0xf8
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ubfiz	w14, w14, #19, #3
	lsl	x15, x8, #2
	ldr	w16, [x0, x15]
	add	w17, w10, w8
	add	x8, x8, #2
	lsl	x1, x8, #2
	ldr	w2, [x0, x1]
	bfi	w14, w13, #8, #3
	orr	w13, w14, w16, lsl #11
	orr	w13, w13, w2
	cmp	w3, #0
	cneg	w14, w17, eq
	add	w13, w14, w13, lsl #1
	asr	w14, w13, #1
	mov	w16, #240
	bfxil	w16, w13, #20, #3
	str	w16, [x0, x11, lsl #2]
	asr	w11, w13, #12
	str	w11, [x0, x15]
	mov	w11, #248
	bfxil	w11, w13, #9, #3
	str	w11, [x0, x12, lsl #2]
	str	w14, [x0, x1]
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
