	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function round_armss_rate
_round_armss_rate:                      ## @round_armss_rate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_fw_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PRCMU_FW_PROJECT_U8520@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_db8520_armss_freqs@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_db8500_armss_freqs@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_4
## %bb.5:
	movl	%eax, %ecx
	decq	%rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%rdx,8), %rax
	cmpq	%r14, %rax
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	1(%rdx), %rsi
	cmpq	%rdx, %rcx
	movq	%rsi, %rdx
	jne	LBB0_6
	jmp	LBB0_8
LBB0_4:
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fw_info,8,3                    ## @fw_info
	.comm	_PRCMU_FW_PROJECT_U8520,8,3     ## @PRCMU_FW_PROJECT_U8520
	.comm	_db8520_armss_freqs,8,3         ## @db8520_armss_freqs
	.comm	_db8500_armss_freqs,8,3         ## @db8500_armss_freqs
	.no_dead_strip	_round_armss_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function round_armss_rate
_round_armss_rate:                      ; @round_armss_rate
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _fw_info@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fw_info@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _PRCMU_FW_PROJECT_U8520@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PRCMU_FW_PROJECT_U8520@GOTPAGEOFF]
Lloh5:
	adrp	x10, _db8500_armss_freqs@GOTPAGE
Lloh6:
	ldr	x10, [x10, _db8500_armss_freqs@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x11, _db8520_armss_freqs@GOTPAGE
Lloh9:
	ldr	x11, [x11, _db8520_armss_freqs@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x11, x10, eq
	ldr	x20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w8, w0
	sub	x8, x8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20], #8
	cmp	x0, x19
	ccmp	x8, #0, #4, lo
	sub	x8, x8, #1
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_fw_info,8,3                    ; @fw_info
	.comm	_PRCMU_FW_PROJECT_U8520,8,3     ; @PRCMU_FW_PROJECT_U8520
	.comm	_db8520_armss_freqs,8,3         ; @db8520_armss_freqs
	.comm	_db8500_armss_freqs,8,3         ; @db8500_armss_freqs
	.no_dead_strip	_round_armss_rate
.subsections_via_symbols
