	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asf_deinterleave
_asf_deinterleave:                      ## @asf_deinterleave
	.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	%rsi, %r15
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movslq	%edx, %rcx
	movq	(%rax,%rcx,8), %r14
	movq	8(%rsi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r14), %r12d
	movslq	4(%r14), %r13
	movl	(%rsi), %esi
	leaq	-64(%rbp), %rdi
	callq	_av_new_packet
	testl	%eax, %eax
	js	LBB0_18
## %bb.1:
	leaq	8(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %eax
	cltd
	idivl	%r13d
	cltq
	movl	(%r15), %edx
	movl	8(%r14), %r8d
	imulq	%r13, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%r15, %rax
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %esi
	imull	%r8d, %esi
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	%esi, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	%rsi, %rdi
	movslq	%edx, %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	addq	(%rbx), %rsi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rsi, %rdi
	ja	LBB0_17
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_10 Depth 3
	cmpl	%edx, %ecx
	jge	LBB0_17
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r8d, %esi
	imull	%r12d, %esi
	leal	(%rsi,%rcx), %edi
	cmpl	%edi, %edx
	jl	LBB0_17
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r12d, %r12d
	jle	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edx, %ecx
	jge	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_10 Depth 3
	testl	%r8d, %r8d
	jle	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movslq	%ecx, %rcx
	leaq	(%rcx,%r13), %rsi
	movslq	%edx, %rdx
	cmpq	%rdx, %rsi
	jge	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rcx, %r15
	movq	-64(%rbp), %rdi
	addq	%rcx, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movq	%r14, %r13
	movq	%rax, %r14
	callq	_memcpy
	movq	%r14, %rax
	movq	%r13, %r14
	movq	-104(%rbp), %r13                ## 8-byte Reload
	incq	%r12
	movslq	8(%r14), %r8
	cmpq	%r8, %r12
	jge	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=3
	leaq	(%r15,%r13), %rcx
	addq	-96(%rbp), %rbx                 ## 8-byte Folded Reload
	movslq	(%rax), %rdx
	leaq	(%rcx,%r13), %rsi
	cmpq	%rdx, %rsi
	jl	LBB0_10
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=2
	addq	%r13, %r15
	movq	%r15, %rcx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=2
	incq	%rdi
	movl	(%rax), %edx
	cmpq	%r12, %rdi
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=2
	addq	%r13, %rbx
	cmpl	%edx, %ecx
	jl	LBB0_7
	jmp	LBB0_15
LBB0_17:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_av_packet_unref
	movq	-64(%rbp), %rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
LBB0_18:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_asf_deinterleave
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asf_deinterleave
_asf_deinterleave:                      ; @asf_deinterleave
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x1
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x23, [x8, w2, sxtw #3]
	mov	x8, x1
	ldr	x28, [x8, #8]!
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldp	w25, w21, [x23]
                                        ; kill: def $w21 killed $w21 def $x21
	sxtw	x21, w21
	ldr	w1, [x1]
	add	x0, sp, #24
	bl	_av_new_packet
	tbnz	w0, #31, LBB0_19
; %bb.1:
	mov	w9, #0
	sdiv	w8, w25, w21
	sxtw	x11, w8
	ldr	w10, [x20]
	ldr	w8, [x23, #8]
	mul	x26, x21, x11
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mul	w11, w8, w25
	ldr	x28, [sp, #16]                  ; 8-byte Folded Reload
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x28, x28, w11, sxtw
	ldr	x11, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x11, [x11]
	add	x11, x11, w10, sxtw
	cmp	x28, x11
	b.hi	LBB0_18
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_12 Depth 3
	cmp	w9, w10
	b.ge	LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mul	w11, w8, w25
	add	w12, w11, w9
	cmp	w10, w12
	b.lt	LBB0_18
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w25, #1
	b.lt	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, w10
	str	x28, [sp, #16]                  ; 8-byte Folded Spill
	b.ge	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, #0
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_12 Depth 3
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	sxtw	x9, w9
	add	x11, x9, x21
	cmp	x11, w10, sxtw
	b.ge	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x19, #0
	mov	x22, x28
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x24, x9
	ldr	x8, [sp, #24]
	add	x0, x8, x9
	mov	x1, x22
	mov	x2, x21
	bl	_memcpy
	add	x19, x19, #1
	ldrsw	x8, [x23, #8]
	cmp	x19, x8
	b.ge	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=3
	add	x22, x22, x26
	ldrsw	x10, [x20]
	add	x9, x24, x21
	add	x11, x21, x9
	cmp	x11, x10
	b.lt	LBB0_12
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=2
	add	x9, x21, x24
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=2
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=2
	add	x27, x27, #1
	ldr	w10, [x20]
	cmp	x27, x25
	b.eq	LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x28, x28, x21
	cmp	w9, w10
	b.lt	LBB0_9
	b	LBB0_2
LBB0_18:
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x19
	bl	_av_packet_unref
	mov	w0, #0
	ldr	x8, [sp, #24]
	str	x8, [x19]
LBB0_19:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_asf_deinterleave
.subsections_via_symbols
