	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_ebur128_relative_threshold  ## -- Begin function ff_ebur128_relative_threshold
	.p2align	4, 0x90
_ff_ebur128_relative_threshold:         ## @ff_ebur128_relative_threshold
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, -24(%rbp)
	movl	(%rdi), %eax
	movq	_FF_EBUR128_MODE_I@GOTPCREL(%rip), %rcx
	notl	%eax
	testl	%eax, (%rcx)
	jne	LBB0_5
## %bb.1:
	movq	%rsi, %rbx
	leaq	-24(%rbp), %rdi
	leaq	-16(%rbp), %rdx
	movl	$1, %esi
	callq	_ebur128_calc_relative_threshold
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movsd	-16(%rbp), %xmm0                ## xmm0 = mem[0],zero
	callq	_ebur128_energy_to_loudness
	movsd	%xmm0, (%rbx)
	jmp	LBB0_4
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_2:
	movabsq	$-4588745807825469440, %rax     ## imm = 0xC051800000000000
	movq	%rax, (%rbx)
LBB0_4:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_EBUR128_MODE_I,4,2          ## @FF_EBUR128_MODE_I
	.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_relative_threshold  ; -- Begin function ff_ebur128_relative_threshold
	.p2align	2
_ff_ebur128_relative_threshold:         ; @ff_ebur128_relative_threshold
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	str	x0, [sp, #8]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FF_EBUR128_MODE_I@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FF_EBUR128_MODE_I@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x1
	add	x0, sp, #8
	mov	x2, sp
	mov	w1, #1
	bl	_ebur128_calc_relative_threshold
	cbz	w0, LBB0_4
; %bb.2:
	ldr	d0, [sp]
	bl	_ebur128_energy_to_loudness
	str	d0, [x19]
	b	LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_AVERROR
LBB0_4:
	mov	x8, #140737488355328
	movk	x8, #49233, lsl #48
	str	x8, [x19]
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_EBUR128_MODE_I,4,2          ; @FF_EBUR128_MODE_I
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
