	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clip_with_log
_clip_with_log:                         ## @clip_with_log
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movsd	%xmm3, -56(%rbp)                ## 8-byte Spill
	movsd	%xmm2, -48(%rbp)                ## 8-byte Spill
	movsd	%xmm1, -40(%rbp)                ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	callq	_isnan
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r14d, %ecx
	movq	%r15, %r8
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movb	$1, %al
	callq	_av_log
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	jmp	LBB0_6
LBB0_2:
	movsd	-48(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-40(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	ucomisd	%xmm0, %xmm2
	jbe	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r14d, %ecx
	movq	%r15, %r8
	movsd	-40(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movb	$2, %al
	callq	_av_log
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	jmp	LBB0_6
LBB0_4:
	ucomisd	%xmm1, %xmm0
	jbe	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r14d, %ecx
	movq	%r15, %r8
	movb	$2, %al
	callq	_av_log
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
LBB0_6:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%d] %s is nan, setting it to %g.\n"

L_.str.1:                               ## @.str.1
	.asciz	"[%d] %s is too low (%g), setting it to %g.\n"

L_.str.2:                               ## @.str.2
	.asciz	"[%d] %s it too high (%g), setting it to %g.\n"

	.no_dead_strip	_clip_with_log
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clip_with_log
_clip_with_log:                         ; @clip_with_log
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	mov	x19, x2
	fmov	d9, d3
	fmov	d10, d2
	fmov	d11, d1
	fmov	d8, d0
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	bl	_isnan
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	mov	x3, x19
	mov	x4, x20
	fmov	d0, d9
	bl	_av_log
	b	LBB0_7
LBB0_2:
	fcmp	d8, d11
	b.pl	LBB0_4
; %bb.3:
	str	d11, [sp]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	mov	x3, x19
	mov	x4, x20
	fmov	d0, d8
	bl	_av_log
	fmov	d9, d11
	b	LBB0_7
LBB0_4:
	fcmp	d8, d10
	b.le	LBB0_6
; %bb.5:
	str	d10, [sp]
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	mov	x3, x19
	mov	x4, x20
	fmov	d0, d8
	bl	_av_log
	fmov	d9, d10
	b	LBB0_7
LBB0_6:
	fmov	d9, d8
LBB0_7:
	fmov	d0, d9
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%d] %s is nan, setting it to %g.\n"

l_.str.1:                               ; @.str.1
	.asciz	"[%d] %s is too low (%g), setting it to %g.\n"

l_.str.2:                               ; @.str.2
	.asciz	"[%d] %s it too high (%g), setting it to %g.\n"

	.no_dead_strip	_clip_with_log
.subsections_via_symbols
