	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function inverse_channel_transform
LCPI0_0:
	.quad	0x3ff6a00000000000              ## double 1.4140625
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_inverse_channel_transform:             ## @inverse_channel_transform
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_20
## %bb.1:
	movq	%rdi, %r8
	xorl	%edx, %edx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rsp                 ## 8-byte Reload
	movl	(%r8), %eax
	movq	-104(%rbp), %rdx                ## 8-byte Reload
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	movslq	%eax, %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_20
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##         Child Loop BB0_9 Depth 4
                                        ##         Child Loop BB0_11 Depth 4
                                        ##           Child Loop BB0_12 Depth 5
	movq	40(%r8), %rcx
	leaq	(%rdx,%rdx,4), %rsi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	cmpq	$0, 32(%rcx,%rsi,8)
	je	LBB0_19
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	_WMAPRO_MAX_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	cmpl	$0, 16(%r8)
	jle	LBB0_18
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%r8), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%rax,%rcx,8), %rdx
	movq	8(%rax,%rcx,8), %rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rsi,%rdx,8), %r14
	movq	8(%r8), %r13
	movq	24(%rax,%rcx,8), %rcx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%rdx,4), %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	addq	$4, %rcx
	addq	$4, %r13
	movslq	16(%r8), %rax
	shlq	$2, %rax
	addq	8(%r8), %rax
	cmpq	%rax, %r13
	jae	LBB0_18
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##         Child Loop BB0_9 Depth 4
                                        ##         Child Loop BB0_11 Depth 4
                                        ##           Child Loop BB0_12 Depth 5
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	cmpl	$1, (%rcx)
	jne	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movslq	(%r13), %rbx
	movl	4(%r13), %edi
	movl	32(%r8), %esi
	callq	_FFMIN
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	cmpl	%eax, %ebx
	jl	LBB0_7
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=3
	incq	%rbx
	movl	4(%r13), %edi
	movl	32(%r8), %esi
	callq	_FFMIN
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_17
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_9 Depth 4
                                        ##         Child Loop BB0_11 Depth 4
                                        ##           Child Loop BB0_12 Depth 5
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=3
	movq	40(%r8), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rax,%rcx,8), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %rdx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ##       Parent Loop BB0_7 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	(%rcx), %rsi
	movss	(%rsi,%rbx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rdx)
	addq	$4, %rdx
	addq	$8, %rcx
	cmpq	%r14, %rcx
	jb	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=3
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_14
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ##       Parent Loop BB0_7 Depth=3
                                        ## =>      This Loop Header: Depth=4
                                        ##           Child Loop BB0_12 Depth 5
	xorps	%xmm0, %xmm0
	movq	%r12, %rdx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ##       Parent Loop BB0_7 Depth=3
                                        ##         Parent Loop BB0_11 Depth=4
                                        ## =>        This Inner Loop Header: Depth=5
	movss	(%rdx), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	mulss	(%rax), %xmm1
	addq	$4, %rdx
	addq	$4, %rax
	addss	%xmm1, %xmm0
	cmpq	%r15, %rdx
	jb	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=4
	movq	(%rcx), %rdx
	movss	%xmm0, (%rdx,%rbx,4)
	addq	$8, %rcx
	cmpq	%r14, %rcx
	jb	LBB0_11
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=2
	cmpl	$2, 20(%r8)
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=2
	movl	4(%r13), %edi
	movl	32(%r8), %esi
	callq	_FFMIN
	movslq	(%r13), %rdi
	subl	%edi, %eax
	movl	%eax, %edx
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
	shlq	$2, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	addq	(%rbx), %rdi
	movq	%rdi, %rsi
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	*(%rax)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
	movslq	(%r13), %rdi
	shlq	$2, %rdi
	addq	8(%rbx), %rdi
	movq	%rdi, %rsi
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	callq	*(%rax)
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_17
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_WMAPRO_MAX_CHANNELS,4,2        ## @WMAPRO_MAX_CHANNELS
	.no_dead_strip	_inverse_channel_transform
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inverse_channel_transform
_inverse_channel_transform:             ; @inverse_channel_transform
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	sub	sp, sp, #32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-104]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.1:
	mov	x19, x0
	mov	x21, #0
	mov	w24, #40
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	mov	sp, x8
	ldr	w8, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_20
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;       Child Loop BB0_11 Depth 3
                                        ;         Child Loop BB0_13 Depth 4
                                        ;         Child Loop BB0_15 Depth 4
                                        ;           Child Loop BB0_16 Depth 5
	ldr	x9, [x19, #40]
	madd	x9, x21, x24, x9
	ldr	x9, [x9, #32]
	cbz	x9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, sp
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
Lloh3:
	adrp	x8, _WMAPRO_MAX_CHANNELS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WMAPRO_MAX_CHANNELS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x26, x9, x8
	mov	sp, x26
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #40]
	mov	w10, #40
	madd	x9, x21, x10, x8
	ldrsw	x27, [x9]
	ldr	x28, [x9, #8]
	add	x23, x28, x27, lsl #3
	ldr	x25, [x19, #8]
	mov	w24, #40
	madd	x8, x21, x10, x8
	ldr	x8, [x8, #24]
	add	x22, x26, x27, lsl #2
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x25, x25, #4
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19, #16]
	add	x8, x8, x9, lsl #2
	cmp	x25, x8
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	b.hs	LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_11 Depth 3
                                        ;         Child Loop BB0_13 Depth 4
                                        ;         Child Loop BB0_15 Depth 4
                                        ;           Child Loop BB0_16 Depth 5
	mov	x9, x8
	ldr	w8, [x9], #4
	stur	x9, [x29, #-112]                ; 8-byte Folded Spill
	cmp	w8, #1
	b.ne	LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldp	w20, w0, [x25]
                                        ; kill: def $w20 killed $w20 def $x20
	sxtw	x20, w20
	ldr	w1, [x19, #32]
	bl	_FFMIN
	cmp	w20, w0
	b.lt	LBB0_11
	b	LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=3
	add	x20, x20, #1
	ldr	w0, [x25, #4]
	ldr	w1, [x19, #32]
	bl	_FFMIN
	cmp	x20, w0, sxtw
	b.ge	LBB0_7
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_8 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_13 Depth 4
                                        ;         Child Loop BB0_15 Depth 4
                                        ;           Child Loop BB0_16 Depth 5
	cmp	w27, #1
	b.lt	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=3
	ldr	x8, [x19, #40]
	madd	x8, x21, x24, x8
	ldr	x8, [x8, #16]
	mov	x9, x28
	mov	x10, x26
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_8 Depth=2
                                        ;       Parent Loop BB0_11 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldr	x11, [x9], #8
	ldr	s0, [x11, x20, lsl #2]
	str	s0, [x10], #4
	cmp	x9, x23
	b.lo	LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=3
	mov	x9, x28
	cmp	w27, #1
	b.lt	LBB0_10
LBB0_15:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_8 Depth=2
                                        ;       Parent Loop BB0_11 Depth=3
                                        ; =>      This Loop Header: Depth=4
                                        ;           Child Loop BB0_16 Depth 5
	movi	d0, #0000000000000000
	mov	x10, x26
LBB0_16:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_8 Depth=2
                                        ;       Parent Loop BB0_11 Depth=3
                                        ;         Parent Loop BB0_15 Depth=4
                                        ; =>        This Inner Loop Header: Depth=5
	ldr	s1, [x10], #4
	ldr	s2, [x8], #4
	fmadd	s0, s1, s2, s0
	cmp	x10, x22
	b.lo	LBB0_16
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=4
	ldr	x10, [x9], #8
	str	s0, [x10, x20, lsl #2]
	cmp	x9, x23
	b.lo	LBB0_15
	b	LBB0_10
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [x19, #20]
	cmp	w8, #2
	b.ne	LBB0_7
; %bb.19:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w0, [x25, #4]
	ldr	w1, [x19, #32]
	bl	_FFMIN
	ldrsw	x8, [x25]
	sub	w20, w0, w8
	ldr	x9, [x19, #24]
	ldr	x9, [x9]
	ldr	x10, [x28]
	add	x0, x10, x8, lsl #2
	mov	x8, #175921860444160
	movk	x8, #16374, lsl #48
	fmov	d8, x8
	mov	x1, x0
	fmov	d0, d8
	mov	x2, x20
	blr	x9
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldr	x9, [x28, #8]
	ldrsw	x10, [x25]
	add	x0, x9, x10, lsl #2
	mov	x1, x0
	fmov	d0, d8
	mov	x2, x20
	blr	x8
	b	LBB0_7
LBB0_20:
	ldur	x8, [x29, #-104]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	sub	sp, x29, #96
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WMAPRO_MAX_CHANNELS,4,2        ; @WMAPRO_MAX_CHANNELS
	.no_dead_strip	_inverse_channel_transform
.subsections_via_symbols
