	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function radius_sta_rate
LCPI0_0:
	.long	127                             ## 0x7f
	.long	127                             ## 0x7f
	.long	127                             ## 0x7f
	.long	127                             ## 0x7f
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_radius_sta_rate
	.p2align	4, 0x90
_radius_sta_rate:                       ## @radius_sta_rate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	movq	8(%rsi), %rdx
	cmpl	$8, %ecx
	jae	LBB0_4
## %bb.3:
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movl	%ecx, %esi
	andl	$-8, %esi
	leaq	-8(%rsi), %rax
	movq	%rax, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r8, %rax
	andq	$-2, %rax
	pxor	%xmm3, %xmm3
	xorl	%edi, %edi
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [127,127,127,127]
	pxor	%xmm4, %xmm4
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdx,%rdi,4), %xmm5
	movdqu	16(%rdx,%rdi,4), %xmm6
	movdqu	32(%rdx,%rdi,4), %xmm0
	movdqu	48(%rdx,%rdi,4), %xmm1
	pand	%xmm2, %xmm5
	pmaxsd	%xmm3, %xmm5
	pand	%xmm2, %xmm6
	pmaxsd	%xmm4, %xmm6
	pand	%xmm2, %xmm0
	pmaxsd	%xmm5, %xmm0
	pand	%xmm2, %xmm1
	pmaxsd	%xmm6, %xmm1
	addq	$16, %rdi
	movdqa	%xmm0, %xmm3
	movdqa	%xmm1, %xmm4
	addq	$-2, %rax
	jne	LBB0_7
## %bb.8:
	testb	$1, %r8b
	je	LBB0_10
LBB0_9:
	movdqu	(%rdx,%rdi,4), %xmm2
	movdqu	16(%rdx,%rdi,4), %xmm3
	movdqa	LCPI0_0(%rip), %xmm4            ## xmm4 = [127,127,127,127]
	pand	%xmm4, %xmm2
	pmaxsd	%xmm2, %xmm0
	pand	%xmm4, %xmm3
	pmaxsd	%xmm3, %xmm1
LBB0_10:
	pmaxud	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	pmaxsd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	pmaxsd	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpq	%rcx, %rsi
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rsi,4), %edi
	andl	$127, %edi
	cmpl	%eax, %edi
	cmovgl	%edi, %eax
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_11
LBB0_12:
	popq	%rbp
	retq
LBB0_5:
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	testb	$1, %r8b
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radius_sta_rate                ; -- Begin function radius_sta_rate
	.p2align	2
_radius_sta_rate:                       ; @radius_sta_rate
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x9, [x1, #8]
	cmp	w8, #16
	b.hs	LBB0_4
; %bb.2:
	mov	x10, #0
	mov	w0, #0
	b	LBB0_7
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
	and	x10, x8, #0xfffffff0
	add	x11, x9, #32
	movi.2d	v0, #0000000000000000
	movi.4s	v1, #127
	mov	x12, x10
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q5, q6, [x11, #-32]
	ldp	q7, q16, [x11], #64
	and.16b	v5, v5, v1
	and.16b	v6, v6, v1
	and.16b	v7, v7, v1
	and.16b	v16, v16, v1
	smax.4s	v0, v5, v0
	smax.4s	v2, v6, v2
	smax.4s	v3, v7, v3
	smax.4s	v4, v16, v4
	subs	x12, x12, #16
	b.ne	LBB0_5
; %bb.6:
	umax.4s	v0, v0, v2
	umax.4s	v0, v0, v3
	umax.4s	v0, v0, v4
	smaxv.4s	s0, v0
	fmov	w0, s0
	cmp	x10, x8
	b.eq	LBB0_9
LBB0_7:
	add	x9, x9, x10, lsl #2
	sub	x8, x8, x10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #4
	and	w10, w10, #0x7f
	cmp	w10, w0
	csel	w0, w10, w0, gt
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
