	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on2avc_reconstruct_channel
_on2avc_reconstruct_channel:            ## @on2avc_reconstruct_channel
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdx), %rax
	movslq	%esi, %rdx
	movslq	%ecx, %rcx
	shlq	$2, %rcx
	addq	(%rax,%rdx,8), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rax,%rdx,8), %r12
	movq	(%rcx,%rdx,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %r13
	movq	24(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	32(%rdi), %eax
	leal	-128(%rax), %ecx
	cmpl	$3, %ecx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	jae	LBB0_1
## %bb.20:
	movq	%rdi, %rbx
	addq	$72, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	*72(%rbx)
	jmp	LBB0_5
LBB0_1:
	cmpl	$131, %eax
	jne	LBB0_5
## %bb.2:
	movq	_ON2AVC_SUBFRAME_SIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_5
## %bb.3:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	64(%rax), %rbx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r15d, %r15
	leaq	(,%r15,4), %rsi
	addq	%r13, %rsi
	leaq	(%r12,%r15,4), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movl	(%r14), %eax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	addl	%ecx, %r15d
	cmpl	%eax, %r15d
	jl	LBB0_4
LBB0_5:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	36(%r14), %eax
	orl	$2, %eax
	cmpl	$130, %eax
	jne	LBB0_8
## %bb.6:
	movl	$-129, %eax
	addl	32(%r14), %eax
	cmpl	$1, %eax
	ja	LBB0_8
## %bb.7:
	movq	48(%r14), %rax
	movl	56(%r14), %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	$512, %r8d                      ## imm = 0x200
	callq	*(%rax)
	jmp	LBB0_12
LBB0_8:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	1792(%rdi), %r12
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	$1792, %edx                     ## imm = 0x700
	callq	_memcpy
	movq	48(%r14), %rax
	leaq	1792(%rbx), %rsi
	movl	32(%r14), %r15d
	movl	40(%r14), %ecx
	movq	%r12, %rdi
	movq	%r13, %rdx
	movl	$64, %r8d
	callq	*(%rax)
	cmpl	$131, %r15d
	jne	LBB0_10
## %bb.9:
	movq	48(%r14), %rax
	leaq	512(%r12), %rdi
	leaq	256(%r13), %rsi
	leaq	512(%r13), %rdx
	movl	40(%r14), %ecx
	movl	$64, %r8d
	callq	*(%rax)
	movq	48(%r14), %rax
	leaq	1024(%r12), %rdi
	leaq	768(%r13), %rsi
	leaq	1024(%r13), %rdx
	movl	40(%r14), %ecx
	movl	$64, %r8d
	callq	*(%rax)
	movq	48(%r14), %rax
	leaq	1536(%r12), %rdi
	leaq	1280(%r13), %rsi
	leaq	1536(%r13), %rdx
	movl	40(%r14), %ecx
	movl	$64, %r8d
	callq	*(%rax)
	movq	48(%r14), %rax
	leaq	1792(%r13), %rsi
	leaq	2048(%r13), %rdx
	movl	40(%r14), %ecx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	$64, %r8d
	callq	*(%rax)
	addq	$2048, %r12                     ## imm = 0x800
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$256, %edx                      ## imm = 0x100
	jmp	LBB0_11
LBB0_10:
	addq	$512, %r12                      ## imm = 0x200
	leaq	256(%r13), %rsi
	movq	%r12, %rdi
	movl	$1792, %edx                     ## imm = 0x700
LBB0_11:
	callq	_memcpy
LBB0_12:
	movl	32(%r14), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_19
## %bb.13:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_17:
	addq	$2048, %r13                     ## imm = 0x800
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	$2048, %edx                     ## imm = 0x800
	jmp	LBB0_18
LBB0_15:
	leaq	2048(%r13), %rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	$1792, %edx                     ## imm = 0x700
	callq	_memcpy
	addq	$1792, %r14                     ## imm = 0x700
	addq	$3840, %r13                     ## imm = 0xF00
	movq	%r14, %rdi
	jmp	LBB0_16
LBB0_14:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	addq	$256, %rsi                      ## imm = 0x100
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memcpy
	movq	48(%r14), %rax
	leaq	256(%r15), %rdi
	leaq	2304(%r13), %rsi
	leaq	2560(%r13), %rdx
	movl	40(%r14), %ecx
	movl	$64, %r8d
	callq	*(%rax)
	movq	48(%r14), %rax
	leaq	768(%r15), %rdi
	leaq	2816(%r13), %rsi
	leaq	3072(%r13), %rdx
	movl	40(%r14), %ecx
	movl	$64, %r8d
	callq	*(%rax)
	movq	48(%r14), %rax
	leaq	1280(%r15), %rdi
	leaq	3328(%r13), %rsi
	leaq	3584(%r13), %rdx
	movl	40(%r14), %ecx
	movl	$64, %r8d
	callq	*(%rax)
	addq	$1792, %r15                     ## imm = 0x700
	addq	$3840, %r13                     ## imm = 0xF00
	movq	%r15, %rdi
LBB0_16:
	movq	%r13, %rsi
	movl	$256, %edx                      ## imm = 0x100
LBB0_18:
	callq	_memcpy
LBB0_19:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_15
	.long	L0_0_set_17
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_ON2AVC_SUBFRAME_SIZE,4,2       ## @ON2AVC_SUBFRAME_SIZE
	.no_dead_strip	_on2avc_reconstruct_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on2avc_reconstruct_channel
_on2avc_reconstruct_channel:            ; @on2avc_reconstruct_channel
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x21, x0
	ldr	x8, [x2]
	sbfiz	x9, x1, #3, #32
	ldr	x8, [x8, x9]
	ldp	x10, x11, [x0]
	ldr	x23, [x10, x9]
	ldr	x19, [x11, x9]
	add	x24, x8, w3, sxtw #2
	ldp	x20, x22, [x0, #16]
	ldr	w8, [x0, #32]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hs	LBB0_2
; %bb.1:
	mov	x0, x21
	ldr	x8, [x0, #72]!
	mov	x1, x20
	mov	x2, x23
	blr	x8
	b	LBB0_6
LBB0_2:
	cmp	w8, #131
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x26, _ON2AVC_SUBFRAME_SIZE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ON2AVC_SUBFRAME_SIZE@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w27, #0
	add	x25, x21, #64
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	sbfiz	x9, x27, #2, #32
	add	x1, x20, x9
	add	x2, x23, x9
	mov	x0, x25
	blr	x8
	ldr	w8, [x26]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w9, w9, w8, lt
	add	w27, w27, w9, asr #3
	cmp	w27, w8
	b.lt	LBB0_5
LBB0_6:
	ldr	w8, [x21, #36]
	orr	w8, w8, #0x2
	cmp	w8, #130
	b.ne	LBB0_9
; %bb.7:
	ldr	w8, [x21, #32]
	sub	w8, w8, #129
	cmp	w8, #1
	b.hi	LBB0_9
; %bb.8:
	ldr	x8, [x21, #48]
	ldr	x8, [x8]
	ldr	w3, [x21, #56]
	mov	x0, x24
	mov	x1, x19
	mov	x2, x20
	mov	w4, #512
	blr	x8
	b	LBB0_13
LBB0_9:
	add	x23, x24, #1792
	mov	x0, x24
	mov	x1, x19
	mov	w2, #1792
	bl	_memcpy
	ldr	w24, [x21, #32]
	ldr	x8, [x21, #48]
	ldr	x8, [x8]
	add	x1, x19, #1792
	ldr	w3, [x21, #40]
	mov	x0, x23
	mov	x2, x20
	mov	w4, #64
	blr	x8
	cmp	w24, #131
	b.ne	LBB0_11
; %bb.10:
	ldr	x8, [x21, #48]
	ldr	x8, [x8]
	add	x0, x23, #512
	add	x1, x20, #256
	add	x2, x20, #512
	ldr	w3, [x21, #40]
	mov	w4, #64
	blr	x8
	ldr	x8, [x21, #48]
	ldr	x8, [x8]
	add	x0, x23, #1024
	add	x1, x20, #768
	add	x2, x20, #1024
	ldr	w3, [x21, #40]
	mov	w4, #64
	blr	x8
	ldr	x8, [x21, #48]
	ldr	x8, [x8]
	add	x0, x23, #1536
	add	x1, x20, #1280
	add	x2, x20, #1536
	ldr	w3, [x21, #40]
	mov	w4, #64
	blr	x8
	ldr	x8, [x21, #48]
	ldr	x8, [x8]
	add	x1, x20, #1792
	add	x2, x20, #2048
	ldr	w3, [x21, #40]
	mov	x0, x22
	mov	w4, #64
	blr	x8
	add	x0, x23, #2048
	mov	x1, x22
	mov	w2, #256
	b	LBB0_12
LBB0_11:
	add	x0, x23, #512
	add	x1, x20, #256
	mov	w2, #1792
LBB0_12:
	bl	_memcpy
LBB0_13:
	ldr	w8, [x21, #32]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_20
; %bb.14:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_15
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_15:
	add	x1, x20, #2048
	mov	x0, x19
	mov	w2, #2048
	b	LBB0_19
LBB0_16:
	add	x1, x20, #2048
	mov	x0, x19
	mov	w2, #1792
	bl	_memcpy
	b	LBB0_18
LBB0_17:
	add	x1, x22, #256
	mov	x0, x19
	mov	w2, #256
	bl	_memcpy
	ldr	x8, [x21, #48]
	ldr	x8, [x8]
	add	x0, x19, #256
	add	x1, x20, #2304
	add	x2, x20, #2560
	ldr	w3, [x21, #40]
	mov	w4, #64
	blr	x8
	ldr	x8, [x21, #48]
	ldr	x8, [x8]
	add	x0, x19, #768
	add	x1, x20, #2816
	add	x2, x20, #3072
	ldr	w3, [x21, #40]
	mov	w4, #64
	blr	x8
	ldr	x8, [x21, #48]
	ldr	x8, [x8]
	add	x0, x19, #1280
	add	x1, x20, #3328
	add	x2, x20, #3584
	ldr	w3, [x21, #40]
	mov	w4, #64
	blr	x8
LBB0_18:
	add	x0, x19, #1792
	add	x1, x20, #3840
	mov	w2, #256
LBB0_19:
	bl	_memcpy
LBB0_20:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_15-LBB0_15)>>2
	.byte	(LBB0_16-LBB0_15)>>2
	.byte	(LBB0_15-LBB0_15)>>2
	.byte	(LBB0_17-LBB0_15)>>2
                                        ; -- End function
	.comm	_ON2AVC_SUBFRAME_SIZE,4,2       ; @ON2AVC_SUBFRAME_SIZE
	.no_dead_strip	_on2avc_reconstruct_channel
.subsections_via_symbols
