	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function g729_parse
_g729_parse:                            ## @g729_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, %r14
	movq	%rdx, %r15
	movq	%rdi, %r12
	movq	%r8, -56(%rbp)
	movl	%r9d, -44(%rbp)
	movq	8(%rdi), %r13
	movl	(%r13), %ebx
	testl	%ebx, %ebx
	jne	LBB0_6
## %bb.1:
	cmpl	$8000, (%rsi)                   ## imm = 0x1F40
	jge	LBB0_2
## %bb.3:
	movq	_G729D_6K4_BLOCK_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_G729_8K_BLOCK_SIZE@GOTPCREL(%rip), %rax
LBB0_4:
	movq	8(%rsi), %rcx
	movq	_AV_CODEC_ID_ACELP_KELVIN@GOTPCREL(%rip), %rdx
	xorl	%ebx, %ebx
	cmpq	(%rdx), %rcx
	sete	%bl
	addl	(%rax), %ebx
	imull	16(%rsi), %ebx
	movl	%ebx, (%r13)
	movl	20(%rsi), %eax
	movl	%eax, 8(%r13)
	testl	%ebx, %ebx
	je	LBB0_5
LBB0_6:
	movl	4(%r13), %eax
	testl	%eax, %eax
	cmovnel	%eax, %ebx
	leaq	12(%r13), %rdi
	xorl	%eax, %eax
	movl	%ebx, %ecx
	subl	-44(%rbp), %ecx
	jle	LBB0_8
## %bb.7:
	movq	_END_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ecx, %eax
LBB0_8:
	movl	%eax, 4(%r13)
	leaq	-56(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movl	%ebx, %esi
	callq	_ff_combine_frame
	movq	%rax, %rcx
	movl	-44(%rbp), %eax
	testq	%rcx, %rcx
	js	LBB0_10
## %bb.9:
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movl	8(%r13), %ecx
	movl	%ecx, (%r12)
	movq	-56(%rbp), %rcx
	movq	%rcx, (%r15)
	movl	%eax, %ecx
	movl	%ebx, %eax
	jmp	LBB0_12
LBB0_10:
	movq	$0, (%r15)
	xorl	%ecx, %ecx
	jmp	LBB0_12
LBB0_5:
	movq	%r8, (%r15)
	movl	-44(%rbp), %ecx
	movl	%ecx, %eax
LBB0_12:
	movl	%ecx, (%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_G729D_6K4_BLOCK_SIZE,4,2       ## @G729D_6K4_BLOCK_SIZE
	.comm	_G729_8K_BLOCK_SIZE,4,2         ## @G729_8K_BLOCK_SIZE
	.comm	_AV_CODEC_ID_ACELP_KELVIN,8,3   ## @AV_CODEC_ID_ACELP_KELVIN
	.comm	_END_NOT_FOUND,4,2              ## @END_NOT_FOUND
	.no_dead_strip	_g729_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function g729_parse
_g729_parse:                            ; @g729_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	x23, [x0, #8]
	mov	x0, x23
	ldr	w8, [x0], #12
	cbnz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _G729D_6K4_BLOCK_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _G729D_6K4_BLOCK_SIZE@GOTPAGEOFF]
	ldr	w9, [x1]
Lloh2:
	adrp	x10, _G729_8K_BLOCK_SIZE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _G729_8K_BLOCK_SIZE@GOTPAGEOFF]
	mov	w11, #8000
	cmp	w9, w11
	csel	x8, x8, x10, lt
	ldr	w8, [x8]
	ldr	x9, [x1, #8]
Lloh4:
	adrp	x10, _AV_CODEC_ID_ACELP_KELVIN@GOTPAGE
Lloh5:
	ldr	x10, [x10, _AV_CODEC_ID_ACELP_KELVIN@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x10]
	cmp	x9, x10
	cinc	w8, w8, eq
	ldp	w9, w10, [x1, #16]
	mul	w8, w8, w9
	str	w8, [x23]
	str	w10, [x23, #8]
	cbz	w8, LBB0_6
LBB0_2:
	ldr	w9, [x23, #4]
	cmp	w9, #0
	csel	w8, w8, w9, eq
Lloh7:
	adrp	x9, _END_NOT_FOUND@GOTPAGE
Lloh8:
	ldr	x9, [x9, _END_NOT_FOUND@GOTPAGEOFF]
	ldr	w10, [sp, #4]
Lloh9:
	ldr	w9, [x9]
	subs	w10, w8, w10
	csel	w10, w10, wzr, gt
	csel	w22, w9, w8, gt
	str	w10, [x23, #4]
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x1, x22
	bl	_ff_combine_frame
	mov	x8, x0
	ldr	w0, [sp, #4]
	tbnz	x8, #63, LBB0_5
; %bb.3:
	cbz	w0, LBB0_5
; %bb.4:
	ldr	w8, [x23, #8]
	str	w8, [x21]
	ldr	x8, [sp, #8]
	str	x8, [x20]
	mov	x8, x0
	mov	x0, x22
	b	LBB0_7
LBB0_5:
	mov	w8, #0
	str	xzr, [x20]
	b	LBB0_7
LBB0_6:
	str	x4, [x20]
	ldr	w8, [sp, #4]
	mov	x0, x8
LBB0_7:
	str	w8, [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
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_G729D_6K4_BLOCK_SIZE,4,2       ; @G729D_6K4_BLOCK_SIZE
	.comm	_G729_8K_BLOCK_SIZE,4,2         ; @G729_8K_BLOCK_SIZE
	.comm	_AV_CODEC_ID_ACELP_KELVIN,8,3   ; @AV_CODEC_ID_ACELP_KELVIN
	.comm	_END_NOT_FOUND,4,2              ; @END_NOT_FOUND
	.no_dead_strip	_g729_parse
.subsections_via_symbols
