	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cypress_program_memory_timing_parameters ## -- Begin function cypress_program_memory_timing_parameters
	.p2align	4, 0x90
_cypress_program_memory_timing_parameters: ## @cypress_program_memory_timing_parameters
	.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, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_rv770_get_ps
	movq	%rax, %r12
	movq	_MC_ARB_BURST_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movq	_STATE1_MASK@GOTPCREL(%rip), %rcx
	movq	_STATE2_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r13d
	orl	(%rcx), %r13d
	movq	_STATE3_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r13d
	notl	%r13d
	andl	%eax, %r13d
	movl	16(%r12), %edx
	movl	20(%r12), %esi
	movq	%r15, %rdi
	callq	_cypress_calculate_burst_time
	movl	%eax, %edi
	callq	_STATE1
	movl	%eax, %ebx
	movl	8(%r12), %edx
	movl	12(%r12), %esi
	movq	%r15, %rdi
	callq	_cypress_calculate_burst_time
	movl	%eax, %edi
	callq	_STATE2
	orl	%eax, %ebx
	movl	(%r12), %edx
	movl	4(%r12), %esi
	movq	%r15, %rdi
	callq	_cypress_calculate_burst_time
	movl	%eax, %edi
	callq	_STATE3
	orl	%eax, %ebx
	orl	%r13d, %ebx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_rv730_program_memory_timing_parameters
	movq	_MC_ARB_BURST_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MC_ARB_BURST_TIME,4,2          ## @MC_ARB_BURST_TIME
	.comm	_STATE1_MASK,4,2                ## @STATE1_MASK
	.comm	_STATE2_MASK,4,2                ## @STATE2_MASK
	.comm	_STATE3_MASK,4,2                ## @STATE3_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cypress_program_memory_timing_parameters ; -- Begin function cypress_program_memory_timing_parameters
	.p2align	2
_cypress_program_memory_timing_parameters: ; @cypress_program_memory_timing_parameters
	.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	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_rv770_get_ps
	mov	x21, x0
Lloh0:
	adrp	x22, _MC_ARB_BURST_TIME@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MC_ARB_BURST_TIME@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_RREG32
Lloh2:
	adrp	x8, _STATE1_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STATE1_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _STATE2_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _STATE2_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _STATE3_MASK@GOTPAGE
Lloh9:
	ldr	x10, [x10, _STATE3_MASK@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh10:
	ldr	w9, [x10]
	orr	w8, w8, w9
	bic	w23, w0, w8
	ldp	w2, w1, [x21, #16]
	mov	x0, x20
	bl	_cypress_calculate_burst_time
	bl	_STATE1
	orr	w23, w0, w23
	ldp	w2, w1, [x21, #8]
	mov	x0, x20
	bl	_cypress_calculate_burst_time
	bl	_STATE2
	orr	w23, w23, w0
	ldp	w2, w1, [x21]
	mov	x0, x20
	bl	_cypress_calculate_burst_time
	bl	_STATE3
	orr	w21, w23, w0
	mov	x0, x20
	mov	x1, x19
	bl	_rv730_program_memory_timing_parameters
	ldr	w0, [x22]
	mov	x1, x21
	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
	b	_WREG32
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MC_ARB_BURST_TIME,4,2          ; @MC_ARB_BURST_TIME
	.comm	_STATE1_MASK,4,2                ; @STATE1_MASK
	.comm	_STATE2_MASK,4,2                ; @STATE2_MASK
	.comm	_STATE3_MASK,4,2                ; @STATE3_MASK
.subsections_via_symbols
