	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_offset
_init_offset:                           ## @init_offset
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	24(%rdi), %esi
	movl	$1, %edi
	callq	_FFMAX
	movl	(%r14), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	jae	LBB0_1
## %bb.2:
	movslq	%ecx, %rcx
	leaq	l_switch.table.init_offset(%rip), %rdx
	movq	(%rdx,%rcx,8), %rdx
	movl	(%rdx), %edx
	movq	16(%r14), %rsi
	movl	%edx, (%rsi)
	movl	4(%r14), %ebx
	testl	%ebx, %ebx
	jle	LBB0_18
## %bb.3:
	leaq	l_switch.table.init_offset.1(%rip), %rdx
	movl	(%rdx,%rcx,4), %ecx
	movl	%eax, %edx
	movl	%edx, %r11d
	andl	$-8, %r11d
	leaq	-8(%r11), %r8
	movq	%r8, %r9
	shrq	$3, %r9
	incq	%r9
	movd	%ecx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movl	%r9d, %r10d
	andl	$7, %r10d
	andq	$-8, %r9
	movq	%r10, %r15
	shlq	$5, %r15
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r14), %ebx
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	movslq	%ebx, %rsi
	cmpq	%rsi, %r12
	jge	LBB0_18
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
	testl	%eax, %eax
	jle	LBB0_17
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r14), %rsi
	movq	(%rsi,%r12,8), %rbx
	cmpl	$8, %eax
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%esi, %esi
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$56, %r8
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r9, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, (%rbx,%rdi,4)
	movdqu	%xmm0, 16(%rbx,%rdi,4)
	movdqu	%xmm0, 32(%rbx,%rdi,4)
	movdqu	%xmm0, 48(%rbx,%rdi,4)
	movdqu	%xmm0, 64(%rbx,%rdi,4)
	movdqu	%xmm0, 80(%rbx,%rdi,4)
	movdqu	%xmm0, 96(%rbx,%rdi,4)
	movdqu	%xmm0, 112(%rbx,%rdi,4)
	movdqu	%xmm0, 128(%rbx,%rdi,4)
	movdqu	%xmm0, 144(%rbx,%rdi,4)
	movdqu	%xmm0, 160(%rbx,%rdi,4)
	movdqu	%xmm0, 176(%rbx,%rdi,4)
	movdqu	%xmm0, 192(%rbx,%rdi,4)
	movdqu	%xmm0, 208(%rbx,%rdi,4)
	movdqu	%xmm0, 224(%rbx,%rdi,4)
	movdqu	%xmm0, 240(%rbx,%rdi,4)
	addq	$64, %rdi
	addq	$-8, %rsi
	jne	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	testq	%r10, %r10
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rbx,%rdi,4), %rsi
	addq	$16, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -16(%rsi,%rdi)
	movdqu	%xmm0, (%rsi,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %r15
	jne	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r11, %rsi
	cmpq	%rdx, %r11
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, (%rbx,%rsi,4)
	incq	%rsi
	cmpq	%rsi, %rdx
	jne	LBB0_15
	jmp	LBB0_16
LBB0_1:
	movq	16(%r14), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movq	_AVERROR_PATCHWELCOME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_19
LBB0_18:
	xorl	%eax, %eax
LBB0_19:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_SAMPLE_FMT_U8P,4,2          ## @AV_SAMPLE_FMT_U8P
	.comm	_AV_SAMPLE_FMT_S16P,4,2         ## @AV_SAMPLE_FMT_S16P
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown audio type\n"

	.comm	_AVERROR_PATCHWELCOME,4,2       ## @AVERROR_PATCHWELCOME
	.no_dead_strip	_init_offset
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.init_offset
l_switch.table.init_offset:
	.quad	_AV_SAMPLE_FMT_U8P
	.quad	_AV_SAMPLE_FMT_S16P
	.quad	_AV_SAMPLE_FMT_S16P

	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.init_offset.1
l_switch.table.init_offset.1:
	.long	128                             ## 0x80
	.long	0                               ## 0x0
	.long	0                               ## 0x0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_offset
_init_offset:                           ; @init_offset
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w1, [x0, #24]
	mov	w0, #1
	bl	_FFMAX
	ldr	w8, [x19]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hs	LBB0_13
; %bb.1:
Lloh0:
	adrp	x8, l_switch.table.init_offset@PAGE
Lloh1:
	add	x8, x8, l_switch.table.init_offset@PAGEOFF
	ldr	x8, [x8, w9, sxtw #3]
	ldr	w8, [x8]
	ldr	x10, [x19, #16]
	str	w8, [x10]
	ldr	w12, [x19, #4]
	cmp	w12, #1
	b.lt	LBB0_14
; %bb.2:
	mov	x8, #0
Lloh2:
	adrp	x10, l_switch.table.init_offset.1@PAGE
Lloh3:
	add	x10, x10, l_switch.table.init_offset.1@PAGEOFF
	ldr	w9, [x10, w9, sxtw #2]
	mov	w10, w0
	and	x11, x10, #0xfffffff0
	dup.4s	v0, w9
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w12, [x19, #4]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, #1
	cmp	x8, w12, sxtw
	b.ge	LBB0_14
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x12, [x19, #8]
	ldr	x12, [x12, x8, lsl #3]
	cmp	w0, #16
	b.hs	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x13, #0
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x13, x12, #32
	mov	x14, x11
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	q0, q0, [x13, #-32]
	stp	q0, q0, [x13], #64
	subs	x14, x14, #16
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x13, x11
	cmp	x11, x10
	b.eq	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x12, x12, x13, lsl #2
	sub	x13, x10, x13
LBB0_12:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w9, [x12], #4
	subs	x13, x13, #1
	b.ne	LBB0_12
	b	LBB0_3
LBB0_13:
	ldr	x0, [x19, #16]
Lloh4:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
Lloh9:
	adrp	x8, _AVERROR_PATCHWELCOME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AVERROR_PATCHWELCOME@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_14:
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_SAMPLE_FMT_U8P,4,2          ; @AV_SAMPLE_FMT_U8P
	.comm	_AV_SAMPLE_FMT_S16P,4,2         ; @AV_SAMPLE_FMT_S16P
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown audio type\n"

	.comm	_AVERROR_PATCHWELCOME,4,2       ; @AVERROR_PATCHWELCOME
	.no_dead_strip	_init_offset
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.init_offset
l_switch.table.init_offset:
	.quad	_AV_SAMPLE_FMT_U8P
	.quad	_AV_SAMPLE_FMT_S16P
	.quad	_AV_SAMPLE_FMT_S16P

	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.init_offset.1
l_switch.table.init_offset.1:
	.long	128                             ; 0x80
	.long	0                               ; 0x0
	.long	0                               ; 0x0

.subsections_via_symbols
