	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function pitch_sharpening
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_pitch_sharpening:                      ## @pitch_sharpening
	.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	%rcx, %r12
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_MODE_12k2@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	(%rbx), %rax
	movl	16(%rax), %edi
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_FFMIN
	movl	%eax, 8(%rbx)
	jmp	LBB0_3
LBB0_1:
	movl	8(%rbx), %eax
LBB0_3:
	movl	12(%rbx), %ecx
	movl	%ecx, 4(%r12)
	movl	%eax, (%r12)
	testb	$1, %r15b
	jne	LBB0_5
## %bb.4:
	movq	_MODE_4k75@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_6
LBB0_5:
	movq	(%rbx), %rax
	movl	16(%rax), %edi
	movq	_SHARP_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorps	%xmm0, %xmm0
	callq	_av_clipf
	movl	%eax, 8(%rbx)
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_12k2,4,2                  ## @MODE_12k2
	.comm	_MODE_4k75,4,2                  ## @MODE_4k75
	.comm	_SHARP_MAX,4,2                  ## @SHARP_MAX
	.no_dead_strip	_pitch_sharpening
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pitch_sharpening
_pitch_sharpening:                      ; @pitch_sharpening
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MODE_12k2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODE_12k2@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w0, [x8, #16]
	fmov	d0, #1.00000000
	bl	_FFMIN
	str	w0, [x19, #8]
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19, #8]
LBB0_3:
	ldr	w8, [x19, #12]
	stp	w0, w8, [x21]
	tbnz	w22, #0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _MODE_4k75@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MODE_4k75@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w20
	b.eq	LBB0_6
LBB0_5:
	ldr	x8, [x19]
	ldr	w0, [x8, #16]
Lloh6:
	adrp	x8, _SHARP_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SHARP_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	movi	d0, #0000000000000000
	bl	_av_clipf
	str	w0, [x19, #8]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_12k2,4,2                  ; @MODE_12k2
	.comm	_MODE_4k75,4,2                  ; @MODE_4k75
	.comm	_SHARP_MAX,4,2                  ; @SHARP_MAX
	.no_dead_strip	_pitch_sharpening
.subsections_via_symbols
