	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function float_y_to_uint_y_wrapper
LCPI0_0:
	.long	0x437f0000                      ## float 255
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_float_y_to_uint_y_wrapper:             ## @float_y_to_uint_y_wrapper
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	testl	%r8d, %r8d
	jle	LBB0_7
## %bb.1:
	movq	%rdi, %r12
	movq	16(%rbp), %rax
	movl	(%rax), %eax
	imull	%eax, %ecx
	movslq	%ecx, %r13
	shlq	$2, %r13
	addq	(%r9), %r13
	movq	(%rsi), %rbx
	movl	(%rdx), %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rdx
	movl	(%rdi), %ecx
	shlq	$2, %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%eax, %rdx
	leaq	(%r13,%rdx,4), %r13
	incl	%r14d
	addq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	cmpl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	je	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	(%rbx,%r15,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	callq	_lrintf
	movl	%eax, %edi
	callq	_av_clip_uint8
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movl	%eax, (%r13,%r15,4)
	incq	%r15
	movslq	(%r12), %rcx
	cmpq	%rcx, %r15
	jl	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbp), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_7:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_float_y_to_uint_y_wrapper
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function float_y_to_uint_y_wrapper
_float_y_to_uint_y_wrapper:             ; @float_y_to_uint_y_wrapper
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x4
	cmp	w4, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x6
	mov	x21, x0
	mov	w22, #0
	ldr	x9, [x5]
	ldr	w8, [x6]
	mul	w10, w8, w3
	add	x23, x9, w10, sxtw #2
	ldr	x24, [x1]
	ldr	w9, [x2]
	asr	w10, w9, #2
	ldr	w9, [x0]
	sbfiz	x25, x10, #2, #32
	mov	w26, #1132396544
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, w8, sxtw #2
	add	w22, w22, #1
	add	x24, x24, x25
	cmp	w22, w20
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w9, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x28, x27, #2
	ldr	s0, [x24, x28]
	fmov	s1, w26
	fmul	s0, s0, s1
	bl	_lrintf
	bl	_av_clip_uint8
	str	w0, [x23, x28]
	add	x27, x27, #1
	ldrsw	x9, [x21]
	cmp	x27, x9
	b.lt	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	b	LBB0_2
LBB0_7:
	mov	x0, x20
	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	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_float_y_to_uint_y_wrapper
.subsections_via_symbols
