	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sipr_decode_frame
_sipr_decode_frame:                     ## @sipr_decode_frame
	.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, %r13
	movq	%rsi, %rbx
	movq	(%rdi), %r15
	movq	_modes@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	(%r15), %rax
	leaq	(%rax,%rax,2), %r12
	movq	_MODE_16k@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_L_SUBFR_16k@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_SUBFR_SIZE@GOTPCREL(%rip), %rax
LBB0_3:
	movq	8(%rcx), %rsi
	movl	(%rax), %edx
	movq	%rdi, 16(%r15)
	movl	(%rcx), %ecx
	movl	(%r14,%r12,4), %eax
	sarl	$3, %eax
	cmpl	%eax, %ecx
	jge	LBB0_5
## %bb.4:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_10
LBB0_5:
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r14,%r12,4), %eax
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	imull	%edx, %eax
	imull	8(%r14,%r12,4), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_10
## %bb.6:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r12,4), %r13
	movq	8(%rbx), %rax
	movq	(%rax), %rbx
	movl	(%r13), %edx
	leaq	-60(%rbp), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_init_get_bits
	cmpl	$0, 4(%r13)
	jle	LBB0_9
## %bb.7:
	leaq	(%r14,%r12,4), %rax
	addq	$8, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-76(%rbp), %r14
	movq	%r14, %rdi
	leaq	-60(%rbp), %rsi
	movq	%r13, %rdx
	callq	_decode_parameters
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	*8(%r15)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	imulq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	leaq	(%rbx,%rax,4), %rbx
	incl	%r12d
	cmpl	4(%r13), %r12d
	jl	LBB0_8
LBB0_9:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movl	(%r13), %eax
	sarl	$3, %eax
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_modes,8,3                      ## @modes
	.comm	_MODE_16k,8,3                   ## @MODE_16k
	.comm	_L_SUBFR_16k,4,2                ## @L_SUBFR_16k
	.comm	_SUBFR_SIZE,4,2                 ## @SUBFR_SIZE
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error processing packet: packet size (%d) too small\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_sipr_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sipr_decode_frame
_sipr_decode_frame:                     ; @sipr_decode_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	ldr	x20, [x0]
	ldr	x23, [x3, #8]
Lloh0:
	adrp	x8, _modes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _modes@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x20]
	mov	w10, #12
	madd	x21, x9, x10, x8
Lloh3:
	adrp	x10, _MODE_16k@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MODE_16k@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _L_SUBFR_16k@GOTPAGE
Lloh7:
	ldr	x11, [x11, _L_SUBFR_16k@GOTPAGEOFF]
Lloh8:
	adrp	x12, _SUBFR_SIZE@GOTPAGE
Lloh9:
	ldr	x12, [x12, _SUBFR_SIZE@GOTPAGEOFF]
	cmp	x9, x10
	csel	x10, x11, x12, eq
	ldr	w24, [x10]
	str	x0, [x20, #16]
	ldr	w3, [x3]
	ldr	w10, [x21]
	cmp	w3, w10, asr #3
	b.ge	LBB0_2
; %bb.1:
Lloh10:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
Lloh15:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_2:
	mov	x19, x2
	mov	x22, x1
	mov	w10, #12
	madd	x25, x9, x10, x8
	ldr	w8, [x25, #4]!
	mul	w8, w8, w24
	mov	x26, x25
	ldr	w9, [x26, #4]!
	mul	w8, w8, w9
	str	w8, [x1]
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_7
; %bb.3:
	ldr	x8, [x22, #8]
	ldr	x22, [x8]
	ldr	w2, [x21]
	add	x0, sp, #8
	mov	x1, x23
	bl	_init_get_bits
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w23, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	add	x1, sp, #8
	mov	x2, x21
	bl	_decode_parameters
	ldr	x8, [x20, #8]
	add	x1, sp, #12
	mov	x0, x20
	mov	x2, x22
	blr	x8
	ldr	w8, [x26]
	mul	w8, w8, w24
	add	x22, x22, w8, sxtw #2
	add	w23, w23, #1
	ldr	w8, [x25]
	cmp	w23, w8
	b.lt	LBB0_5
LBB0_6:
	mov	w8, #1
	str	w8, [x19]
	ldr	w8, [x21]
	asr	w0, w8, #3
LBB0_7:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_modes,8,3                      ; @modes
	.comm	_MODE_16k,8,3                   ; @MODE_16k
	.comm	_L_SUBFR_16k,4,2                ; @L_SUBFR_16k
	.comm	_SUBFR_SIZE,4,2                 ; @SUBFR_SIZE
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error processing packet: packet size (%d) too small\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_sipr_decode_frame
.subsections_via_symbols
