	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_pitch_lag_high
_decode_pitch_lag_high:                 ## @decode_pitch_lag_high
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rcx, %rbx
                                        ## kill: def $edx killed $edx def $rdx
	testl	$-3, %r8d
	je	LBB0_1
## %bb.7:
	leal	1(%rdx), %eax
	movl	%eax, %ecx
	sarl	$2, %ecx
	movl	%ecx, (%rdi)
	andl	$-4, %eax
	subl	%eax, %edx
	movl	%edx, (%rsi)
	movl	(%rbx), %eax
	addl	%eax, (%rdi)
	jmp	LBB0_8
LBB0_1:
	cmpl	$375, %edx                      ## imm = 0x177
	jg	LBB0_3
## %bb.2:
	leal	137(%rdx), %eax
	movl	%eax, %ecx
	sarl	$2, %ecx
	movl	%ecx, (%rdi)
	andl	$-4, %eax
	negl	%eax
	addl	%edx, %eax
	addl	$136, %eax
	jmp	LBB0_6
LBB0_3:
	cmpl	$439, %edx                      ## imm = 0x1B7
	ja	LBB0_5
## %bb.4:
	leal	-119(%rdx), %eax
	movl	%eax, %ecx
	shrl	%ecx
	movl	%ecx, (%rdi)
	andl	$2147483646, %eax               ## imm = 0x7FFFFFFE
	subl	%eax, %edx
	leal	(%rdx,%rdx), %eax
	addl	$-240, %eax
	jmp	LBB0_6
LBB0_5:
	addl	$-280, %edx                     ## imm = 0xFEE8
	movl	%edx, (%rdi)
	xorl	%eax, %eax
LBB0_6:
	movl	%eax, (%rsi)
	movl	(%rdi), %ecx
	sarl	$31, %eax
	leal	(%rcx,%rax), %edi
	addl	$-8, %edi
	movq	_AMRWB_P_DELAY_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AMRWB_P_DELAY_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	$-15, %rdx
	callq	_av_clip
	movq	%rax, (%rbx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AMRWB_P_DELAY_MIN,4,2          ## @AMRWB_P_DELAY_MIN
	.comm	_AMRWB_P_DELAY_MAX,8,3          ## @AMRWB_P_DELAY_MAX
	.no_dead_strip	_decode_pitch_lag_high
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_pitch_lag_high
_decode_pitch_lag_high:                 ; @decode_pitch_lag_high
	.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, x3
	tst	w4, #0xfffffffd
	b.eq	LBB0_2
; %bb.1:
	add	w8, w2, #1
	asr	w9, w8, #2
	str	w9, [x0]
	and	w8, w8, #0xfffffffc
	sub	w8, w2, w8
	str	w8, [x1]
	ldr	w8, [x19]
	ldr	w9, [x0]
	add	w8, w9, w8
	str	w8, [x0]
	b	LBB0_8
LBB0_2:
	cmp	w2, #375
	b.gt	LBB0_4
; %bb.3:
	add	w8, w2, #137
	asr	w9, w8, #2
	str	w9, [x0]
	and	w8, w8, #0xfffffffc
	sub	w8, w2, w8
	add	w8, w8, #136
	b	LBB0_7
LBB0_4:
	cmp	w2, #439
	b.hi	LBB0_6
; %bb.5:
	sub	w8, w2, #119
	lsr	w9, w8, #1
	str	w9, [x0]
	and	w8, w8, #0x7ffffffe
	sub	w8, w2, w8
	lsl	w8, w8, #1
	sub	w8, w8, #240
	b	LBB0_7
LBB0_6:
	mov	w8, #0
	sub	w9, w2, #280
	str	w9, [x0]
LBB0_7:
	str	w8, [x1]
	ldr	w9, [x0]
	add	w8, w9, w8, asr #31
Lloh0:
	adrp	x9, _AMRWB_P_DELAY_MIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AMRWB_P_DELAY_MIN@GOTPAGEOFF]
	sub	w0, w8, #8
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x8, _AMRWB_P_DELAY_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AMRWB_P_DELAY_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	sub	x2, x8, #15
	bl	_av_clip
	str	x0, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AMRWB_P_DELAY_MIN,4,2          ; @AMRWB_P_DELAY_MIN
	.comm	_AMRWB_P_DELAY_MAX,8,3          ; @AMRWB_P_DELAY_MAX
	.no_dead_strip	_decode_pitch_lag_high
.subsections_via_symbols
