	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PerformChannelConversion       ## -- Begin function PerformChannelConversion
	.p2align	4, 0x90
_PerformChannelConversion:              ## @PerformChannelConversion
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movl	%r8d, %r13d
	movl	%ecx, %r14d
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	cmpl	%ecx, %r8d
	jle	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	callq	_ASSERT
LBB0_2:
	movq	16(%rbp), %rbx
	leal	7(%r15), %eax
	testl	%r15d, %r15d
	cmovnsl	%r15d, %eax
	sarl	$3, %eax
	imull	%eax, %r13d
	imull	%r14d, %eax
	cltq
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movslq	%r12d, %rcx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movslq	%r13d, %r12
	movslq	24(%rbp), %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	leaq	(,%r12,4), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,4), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rax, %r13
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	-120(%rbp), %r12                ## 8-byte Folded Reload
	jge	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	-112(%rbp), %r13                ## 8-byte Folded Reload
	jge	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	callq	_RtlMoveMemory
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	addl	%r15d, %edx
	addq	-88(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	%r15, %r12
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addl	%eax, %ecx
	addq	-80(%rbp), %r14                 ## 8-byte Folded Reload
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	addq	%rax, %r13
	movq	_TRUE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
	jmp	LBB0_8
LBB0_4:
	movl	24(%rbp), %edx
	jmp	LBB0_8
LBB0_6:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
LBB0_8:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, (%rax)
	movq	32(%rbp), %rax
	movl	%edx, (%rax)
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UNIMPLEMENTED,4,2              ## @UNIMPLEMENTED
	.comm	_TRUE,8,3                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PerformChannelConversion       ; -- Begin function PerformChannelConversion
	.p2align	2
_PerformChannelConversion:              ; @PerformChannelConversion
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x7
	mov	x21, x6
	mov	x26, x5
	mov	x25, x4
	mov	x24, x3
	str	x2, [sp, #24]                   ; 8-byte Folded Spill
	mov	x20, x1
	mov	x23, x0
	ldr	x8, [x29, #16]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	cmp	w4, w3
	b.le	LBB0_2
; %bb.1:
	mov	w0, #0
	bl	_ASSERT
LBB0_2:
	mov	w28, #0
	mov	w19, #0
	add	w8, w26, #7
	cmp	w26, #0
	csel	w8, w8, w26, lt
	asr	w8, w8, #3
	mul	w9, w8, w25
	mul	w8, w8, w24
	sxtw	x26, w8
	stp	x20, x22, [sp]                  ; 16-byte Folded Spill
	sxtw	x10, w20
	sxtw	x20, w9
	sxtw	x27, w22
	sbfiz	x9, x9, #2, #32
	stp	x9, x10, [sp, #32]              ; 16-byte Folded Spill
	sbfiz	x22, x8, #2, #32
	mov	x25, x26
	mov	x24, x20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x24, x27
	b.ge	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	cmp	x25, x8
	b.ge	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x23
	mov	x2, x20
	bl	_RtlMoveMemory
	add	w19, w19, w20
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x21, x21, x8
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x24, x24, x20
	add	w28, w28, w26
	add	x23, x23, x22
	add	x25, x25, x26
	cbnz	x8, LBB0_3
	b	LBB0_8
LBB0_6:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	mov	x19, x8
	b	LBB0_8
LBB0_7:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	mov	x28, x8
LBB0_8:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	str	w28, [x8]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	w19, [x8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UNIMPLEMENTED,4,2              ; @UNIMPLEMENTED
	.comm	_TRUE,8,3                       ; @TRUE
.subsections_via_symbols
