	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_ebur128_sample_peak         ## -- Begin function ff_ebur128_sample_peak
	.p2align	4, 0x90
_ff_ebur128_sample_peak:                ## @ff_ebur128_sample_peak
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_FF_EBUR128_MODE_SAMPLE_PEAK@GOTPCREL(%rip), %rcx
	notl	%eax
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.1:
	cmpl	%esi, 4(%rdi)
	jbe	LBB0_3
## %bb.2:
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movl	%esi, %ecx
	movsd	(%rax,%rcx,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_EBUR128_MODE_SAMPLE_PEAK,4,2 ## @FF_EBUR128_MODE_SAMPLE_PEAK
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_ebur128_sample_peak         ; -- Begin function ff_ebur128_sample_peak
	.p2align	2
_ff_ebur128_sample_peak:                ; @ff_ebur128_sample_peak
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FF_EBUR128_MODE_SAMPLE_PEAK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FF_EBUR128_MODE_SAMPLE_PEAK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x0, #4]
	cmp	w8, w1
	b.ls	LBB0_3
; %bb.2:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	d0, [x8, w1, uxtw #3]
	str	d0, [x2]
	mov	w0, #0
	ret
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_EBUR128_MODE_SAMPLE_PEAK,4,2 ; @FF_EBUR128_MODE_SAMPLE_PEAK
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
