	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cypress_retrieve_ac_timing_for_all_ranges
_cypress_retrieve_ac_timing_for_all_ranges: ## @cypress_retrieve_ac_timing_for_all_ranges
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_evergreen_get_pi
	movq	%rax, %r14
	cmpq	$0, (%r15)
	je	LBB0_1
## %bb.2:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %ecx
	movq	24(%r14), %rdx
	movl	%ecx, 8(%rdx,%r13)
	movl	(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	callq	_radeon_atom_set_ac_timing
	movq	24(%r14), %rsi
	addq	%r13, %rsi
	movq	%r12, %rdi
	callq	_cypress_retrieve_ac_timing_for_one_entry
	incq	%rbx
	movq	(%r15), %rax
	addq	$16, %r13
	cmpq	%rax, %rbx
	jb	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%eax, %eax
LBB0_4:
	movq	%rax, (%r14)
	movl	$0, 8(%r14)
	movq	16(%r14), %r10
	testq	%r10, %r10
	je	LBB0_12
## %bb.5:
	leaq	-1(%rax), %r8
	xorl	%r9d, %r9d
	xorl	%edi, %edi
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	btsl	%edi, %r9d
	movl	%r9d, 8(%r14)
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%rdi
	cmpq	%r10, %rdi
	je	LBB0_12
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	cmpq	$2, %rax
	jb	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	24(%r14), %rbx
	movq	(%rbx), %rdx
	movq	(%rdx,%rdi,8), %rdx
	addq	$16, %rbx
	movq	%r8, %rsi
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rcx
	cmpq	(%rcx,%rdi,8), %rdx
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=2
	addq	$16, %rbx
	decq	%rsi
	jne	LBB0_9
	jmp	LBB0_11
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cypress_retrieve_ac_timing_for_all_ranges
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cypress_retrieve_ac_timing_for_all_ranges
_cypress_retrieve_ac_timing_for_all_ranges: ; @cypress_retrieve_ac_timing_for_all_ranges
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_evergreen_get_pi
	mov	x19, x0
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x22, #0
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	lsl	x9, x23, #2
	ldr	w10, [x8, x9]
	ldr	x11, [x19, #24]
	add	x11, x11, x22
	str	w10, [x11, #8]
	ldr	w1, [x8, x9]
	mov	x0, x21
	bl	_radeon_atom_set_ac_timing
	ldr	x8, [x19, #24]
	add	x1, x8, x22
	mov	x0, x21
	bl	_cypress_retrieve_ac_timing_for_one_entry
	add	x23, x23, #1
	ldr	x8, [x20]
	add	x22, x22, #16
	cmp	x23, x8
	b.lo	LBB0_2
LBB0_3:
	str	x8, [x19]
	str	wzr, [x19, #8]
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_11
; %bb.4:
	mov	w10, #0
	mov	x11, #0
	sub	x12, x8, #1
	mov	w13, #1
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	lsl	w14, w13, w11
	orr	w10, w10, w14
	str	w10, [x19, #8]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x11, x11, #1
	cmp	x11, x9
	b.eq	LBB0_11
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	cmp	x8, #2
	b.lo	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x14, [x19, #24]
	ldr	x15, [x14], #16
	ldr	x15, [x15, x11, lsl #3]
	mov	x16, x12
LBB0_9:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x17, [x14]
	ldr	x17, [x17, x11, lsl #3]
	cmp	x15, x17
	b.ne	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x14, x14, #16
	subs	x16, x16, #1
	b.ne	LBB0_9
	b	LBB0_6
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cypress_retrieve_ac_timing_for_all_ranges
.subsections_via_symbols
