	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gsm_parse
_gsm_parse:                             ## @gsm_parse
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	%r8, -64(%rbp)
	movl	%r9d, -44(%rbp)
	movq	8(%rdi), %r13
	cmpl	$0, (%r13)
	je	LBB0_1
LBB0_8:
	movl	8(%r13), %ebx
	testl	%ebx, %ebx
	jne	LBB0_10
## %bb.9:
	movl	(%r13), %ebx
LBB0_10:
	leaq	12(%r13), %rdi
	xorl	%r14d, %r14d
	movl	%ebx, %eax
	movl	$0, %ecx
	subl	-44(%rbp), %eax
	jle	LBB0_12
## %bb.11:
	movq	_END_NOT_FOUND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %ecx
LBB0_12:
	movl	%ecx, 8(%r13)
	leaq	-64(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movl	%ebx, %esi
	callq	_ff_combine_frame
	movl	-44(%rbp), %ecx
	testq	%rax, %rax
	js	LBB0_13
## %bb.14:
	testl	%ecx, %ecx
	je	LBB0_13
## %bb.15:
	movl	4(%r13), %eax
	movl	%eax, (%r12)
	movq	-64(%rbp), %r14
	movl	%ecx, %eax
	jmp	LBB0_16
LBB0_13:
	xorl	%eax, %eax
	movl	%ecx, %ebx
LBB0_16:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, (%rcx)
	movl	%eax, (%r15)
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	(%rsi), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.3:
	movq	_GSM_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movq	_GSM_FRAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	jmp	LBB0_8
LBB0_4:
	movl	4(%rsi), %eax
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_GSM_MS_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	movl	%eax, (%r13)
	movq	_GSM_FRAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	movl	%eax, 4(%r13)
	jmp	LBB0_8
LBB0_7:
	xorl	%edi, %edi
	callq	_av_assert0
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_GSM_BLOCK_SIZE,4,2             ## @GSM_BLOCK_SIZE
	.comm	_GSM_FRAME_SIZE,4,2             ## @GSM_FRAME_SIZE
	.comm	_GSM_MS_BLOCK_SIZE,4,2          ## @GSM_MS_BLOCK_SIZE
	.comm	_END_NOT_FOUND,4,2              ## @END_NOT_FOUND
	.no_dead_strip	_gsm_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gsm_parse
_gsm_parse:                             ; @gsm_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
	str	x4, [sp, #8]
	str	w5, [sp, #4]
	ldr	x24, [x0, #8]
	mov	x22, x24
	ldr	w8, [x22], #12
	cbz	w8, LBB0_7
LBB0_1:
	ldr	w8, [x24, #8]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	w8, [x24]
LBB0_3:
Lloh0:
	adrp	x9, _END_NOT_FOUND@GOTPAGE
Lloh1:
	ldr	x9, [x9, _END_NOT_FOUND@GOTPAGEOFF]
	ldr	w10, [sp, #4]
Lloh2:
	ldr	w9, [x9]
	subs	w10, w8, w10
	csel	w10, w10, wzr, gt
	csel	w23, w9, w8, gt
	str	w10, [x24, #8]
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x22
	mov	x1, x23
	bl	_ff_combine_frame
	mov	x8, x0
	mov	w10, #0
	mov	x9, #0
	ldr	w0, [sp, #4]
	tbnz	x8, #63, LBB0_6
; %bb.4:
	cbz	w0, LBB0_6
; %bb.5:
	ldr	w8, [x24, #4]
	str	w8, [x21]
	ldr	x9, [sp, #8]
	mov	x10, x0
	mov	x0, x23
LBB0_6:
	str	x9, [x20]
	str	w10, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	ldr	w8, [x1]
	cmp	w8, #128
	b.eq	LBB0_10
; %bb.8:
	cmp	w8, #129
	b.ne	LBB0_11
; %bb.9:
Lloh3:
	adrp	x8, _GSM_BLOCK_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GSM_BLOCK_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x24]
Lloh6:
	adrp	x8, _GSM_FRAME_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GSM_FRAME_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x24, #4]
	b	LBB0_1
LBB0_10:
	ldr	w8, [x1, #4]
Lloh9:
	adrp	x9, _GSM_MS_BLOCK_SIZE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _GSM_MS_BLOCK_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w8, w9, w8, eq
	str	w8, [x24]
Lloh12:
	adrp	x8, _GSM_FRAME_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GSM_FRAME_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	lsl	w8, w8, #1
	str	w8, [x24, #4]
	b	LBB0_1
LBB0_11:
	mov	w0, #0
	bl	_av_assert0
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_GSM_BLOCK_SIZE,4,2             ; @GSM_BLOCK_SIZE
	.comm	_GSM_FRAME_SIZE,4,2             ; @GSM_FRAME_SIZE
	.comm	_GSM_MS_BLOCK_SIZE,4,2          ; @GSM_MS_BLOCK_SIZE
	.comm	_END_NOT_FOUND,4,2              ; @END_NOT_FOUND
	.no_dead_strip	_gsm_parse
.subsections_via_symbols
