	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rk3399_dmcfreq_probe
_rk3399_dmcfreq_probe:                  ## @rk3399_dmcfreq_probe
	.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
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$120, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r12
	leaq	112(%rax), %rdi
	callq	_mutex_init
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movq	%rax, 104(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	104(%r12), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_7
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	104(%r12), %rdi
	jmp	LBB0_11
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_clk_get
	movq	%rax, 40(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	40(%r12), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_7
## %bb.10:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	40(%r12), %rdi
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_12:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devfreq_event_get_edev_by_phandle
	movq	%rax, 96(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_14:
	movq	96(%r12), %rdi
	callq	_devfreq_event_enable_edev
	testl	%eax, %eax
	js	LBB0_19
## %bb.15:
	leaq	48(%r12), %rdi
	movq	%r15, %rsi
	callq	_of_get_ddr_timings
	testl	%eax, %eax
	je	LBB0_24
LBB0_16:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_of_parse_phandle
	testq	%rax, %rax
	je	LBB0_20
## %bb.17:
	movq	%rax, %rdi
	callq	_syscon_node_to_regmap
	movq	%rax, 88(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	movq	88(%r12), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_19:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_7
LBB0_20:
	movq	88(%r12), %rdi
	movq	_RK3399_PMUGRF_OS_REG2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	movl	-44(%rbp), %eax
	movq	_RK3399_PMUGRF_DDRTYPE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_RK3399_PMUGRF_DDRTYPE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	cmpl	$128, %eax
	je	LBB0_26
## %bb.21:
	cmpl	$129, %eax
	je	LBB0_27
## %bb.22:
	cmpl	$130, %eax
	jne	LBB0_34
## %bb.23:
	leaq	76(%r12), %rax
	jmp	LBB0_28
LBB0_24:
	movq	_ROCKCHIP_SIP_DRAM_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	80(%r12), %esi
	movq	_ROCKCHIP_SIP_CONFIG_DRAM_SET_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	subq	$8, %rsp
	leaq	-56(%rbp), %rax
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	pushq	$0
	callq	_arm_smccc_smc
	addq	$32, %rsp
	movq	-56(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.25:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_30
LBB0_26:
	leaq	68(%r12), %rax
	jmp	LBB0_28
LBB0_27:
	leaq	72(%r12), %rax
LBB0_28:
	movl	(%rax), %eax
	movl	%eax, 84(%r12)
	movq	_ROCKCHIP_SIP_DRAM_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ROCKCHIP_SIP_CONFIG_DRAM_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	subq	$8, %rsp
	leaq	-56(%rbp), %rax
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	pushq	$0
	callq	_arm_smccc_smc
	addq	$32, %rsp
	movzbl	48(%r12), %eax
	movl	52(%r12), %ecx
	movl	56(%r12), %edx
	shll	$8, %ecx
	movzwl	%cx, %ecx
	orl	%eax, %ecx
	shll	$16, %edx
	orl	%ecx, %edx
	movl	%edx, (%r12)
	movl	$4095, %eax                     ## imm = 0xFFF
	andl	60(%r12), %eax
	movl	64(%r12), %ecx
	shll	$16, %ecx
	andl	$268369920, %ecx                ## imm = 0xFFF0000
	orl	%eax, %ecx
	movl	%ecx, 4(%r12)
	movq	%r14, %rdi
	callq	_dev_pm_opp_of_add_table
	testq	%rax, %rax
	je	LBB0_31
## %bb.29:
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_30:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_31:
	leaq	24(%r12), %r13
	leaq	28(%r12), %rdx
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_property_read_u32
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_of_property_read_u32
	movq	40(%r12), %rdi
	callq	_clk_get_rate
	movq	%r12, %rsi
	addq	$32, %rsi
	movl	%eax, 32(%r12)
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_devfreq_recommended_opp
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_33
## %bb.32:
	movq	%rbx, %rdi
	callq	_dev_pm_opp_get_freq
	movl	%eax, 32(%r12)
	movq	%rbx, %rdi
	callq	_dev_pm_opp_get_voltage
	movl	%eax, 36(%r12)
	movq	%rbx, %rdi
	callq	_dev_pm_opp_put
	movl	32(%r12), %eax
	movq	_rk3399_devfreq_dmc_profile@GOTPCREL(%rip), %rsi
	movl	%eax, (%rsi)
	movq	_DEVFREQ_GOV_SIMPLE_ONDEMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r13, %rcx
	callq	_devm_devfreq_add_device
	movq	%rax, 16(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	16(%r12), %rbx
	testq	%rax, %rax
	je	LBB0_35
LBB0_33:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_dev_pm_opp_of_remove_table
	jmp	LBB0_7
LBB0_34:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_35:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_devm_devfreq_register_opp_notifier
	movq	%r14, 8(%r12)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_platform_set_drvdata
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"center"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.1:                               ## @.str.1
	.asciz	"Cannot get the regulator \"center\"\n"

L_.str.2:                               ## @.str.2
	.asciz	"dmc_clk"

L_.str.3:                               ## @.str.3
	.asciz	"Cannot get the clk dmc_clk\n"

L_.str.4:                               ## @.str.4
	.asciz	"failed to enable devfreq-event devices\n"

	.comm	_ROCKCHIP_SIP_DRAM_FREQ,4,2     ## @ROCKCHIP_SIP_DRAM_FREQ
	.comm	_ROCKCHIP_SIP_CONFIG_DRAM_SET_PARAM,4,2 ## @ROCKCHIP_SIP_CONFIG_DRAM_SET_PARAM
L_.str.5:                               ## @.str.5
	.asciz	"Failed to set dram param: %ld\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.6:                               ## @.str.6
	.asciz	"rockchip,pmu"

	.comm	_RK3399_PMUGRF_OS_REG2,4,2      ## @RK3399_PMUGRF_OS_REG2
	.comm	_RK3399_PMUGRF_DDRTYPE_SHIFT,4,2 ## @RK3399_PMUGRF_DDRTYPE_SHIFT
	.comm	_RK3399_PMUGRF_DDRTYPE_MASK,4,2 ## @RK3399_PMUGRF_DDRTYPE_MASK
	.comm	_ROCKCHIP_SIP_CONFIG_DRAM_INIT,4,2 ## @ROCKCHIP_SIP_CONFIG_DRAM_INIT
L_.str.7:                               ## @.str.7
	.asciz	"Invalid operating-points in device tree.\n"

L_.str.8:                               ## @.str.8
	.asciz	"upthreshold"

L_.str.9:                               ## @.str.9
	.asciz	"downdifferential"

	.comm	_rk3399_devfreq_dmc_profile,4,2 ## @rk3399_devfreq_dmc_profile
	.comm	_DEVFREQ_GOV_SIMPLE_ONDEMAND,4,2 ## @DEVFREQ_GOV_SIMPLE_ONDEMAND
	.no_dead_strip	_rk3399_dmcfreq_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rk3399_dmcfreq_probe
_rk3399_dmcfreq_probe:                  ; @rk3399_dmcfreq_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #120
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	add	x0, x0, #112
	bl	_mutex_init
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_devm_regulator_get
	str	x0, [x20, #104]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.2:
	ldr	x0, [x20, #104]
	bl	_PTR_ERR
	mov	x22, x0
Lloh5:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_6
; %bb.3:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #104]
	b	LBB0_10
LBB0_4:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_6:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.8:
	ldr	x0, [x20, #40]
	bl	_PTR_ERR
	mov	x22, x0
Lloh14:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_6
; %bb.9:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #40]
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_PTR_ERR
LBB0_11:
	mov	x0, x19
	mov	w1, #0
	bl	_devfreq_event_get_edev_by_phandle
	str	x0, [x20, #96]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.12:
Lloh19:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
	b	LBB0_5
LBB0_13:
	ldr	x0, [x20, #96]
	bl	_devfreq_event_enable_edev
	tbnz	w0, #31, LBB0_18
; %bb.14:
	add	x0, x20, #48
	mov	x1, x21
	bl	_of_get_ddr_timings
	cbz	w0, LBB0_23
LBB0_15:
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	bl	_of_parse_phandle
	cbz	x0, LBB0_19
; %bb.16:
	bl	_syscon_node_to_regmap
	str	x0, [x20, #88]
	bl	_IS_ERR
	cbz	x0, LBB0_19
; %bb.17:
	ldr	x0, [x20, #88]
	bl	_PTR_ERR
	mov	x22, x0
	b	LBB0_6
LBB0_18:
	mov	x22, x0
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_6
LBB0_19:
	ldr	x0, [x20, #88]
Lloh25:
	adrp	x8, _RK3399_PMUGRF_OS_REG2@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RK3399_PMUGRF_OS_REG2@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	add	x2, sp, #20
	bl	_regmap_read
	ldr	w8, [sp, #20]
Lloh28:
	adrp	x9, _RK3399_PMUGRF_DDRTYPE_SHIFT@GOTPAGE
Lloh29:
	ldr	x9, [x9, _RK3399_PMUGRF_DDRTYPE_SHIFT@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh31:
	adrp	x9, _RK3399_PMUGRF_DDRTYPE_MASK@GOTPAGE
Lloh32:
	ldr	x9, [x9, _RK3399_PMUGRF_DDRTYPE_MASK@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	and	w8, w8, w9
	cmp	w8, #128
	b.eq	LBB0_25
; %bb.20:
	cmp	w8, #129
	b.eq	LBB0_26
; %bb.21:
	cmp	w8, #130
	b.ne	LBB0_30
; %bb.22:
	add	x8, x20, #76
	b	LBB0_27
LBB0_23:
Lloh34:
	adrp	x8, _ROCKCHIP_SIP_DRAM_FREQ@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ROCKCHIP_SIP_DRAM_FREQ@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	ldr	w1, [x20, #80]
Lloh37:
	adrp	x8, _ROCKCHIP_SIP_CONFIG_DRAM_SET_PARAM@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ROCKCHIP_SIP_CONFIG_DRAM_SET_PARAM@GOTPAGEOFF]
Lloh39:
	ldr	w3, [x8]
	add	x8, sp, #24
	str	x8, [sp]
	mov	w2, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_arm_smccc_smc
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_15
; %bb.24:
	str	x8, [sp]
Lloh40:
	adrp	x1, l_.str.5@PAGE
Lloh41:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_29
LBB0_25:
	add	x8, x20, #68
	b	LBB0_27
LBB0_26:
	add	x8, x20, #72
LBB0_27:
	ldr	w8, [x8]
	str	w8, [x20, #84]
Lloh42:
	adrp	x8, _ROCKCHIP_SIP_DRAM_FREQ@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ROCKCHIP_SIP_DRAM_FREQ@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
Lloh45:
	adrp	x8, _ROCKCHIP_SIP_CONFIG_DRAM_INIT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ROCKCHIP_SIP_CONFIG_DRAM_INIT@GOTPAGEOFF]
Lloh47:
	ldr	w3, [x8]
	add	x8, sp, #24
	str	x8, [sp]
	mov	w1, #0
	mov	w2, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_arm_smccc_smc
	ldrb	w8, [x20, #48]
	ldp	w9, w10, [x20, #52]
	bfi	w8, w9, #8, #8
	bfi	w8, w10, #16, #16
	ldp	w9, w10, [x20, #60]
	and	w9, w9, #0xfff
	bfi	w9, w10, #16, #12
	stp	w8, w9, [x20]
	mov	x0, x19
	bl	_dev_pm_opp_of_add_table
	cbz	x0, LBB0_31
; %bb.28:
Lloh48:
	adrp	x1, l_.str.7@PAGE
Lloh49:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_29:
	mov	x0, x19
	bl	_dev_err
LBB0_30:
Lloh50:
	adrp	x8, _EINVAL@GOTPAGE
Lloh51:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_31:
	add	x22, x20, #24
	add	x2, x20, #28
Lloh52:
	adrp	x1, l_.str.8@PAGE
Lloh53:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_of_property_read_u32
Lloh54:
	adrp	x1, l_.str.9@PAGE
Lloh55:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_of_property_read_u32
	ldr	x0, [x20, #40]
	bl	_clk_get_rate
	mov	x1, x20
	str	w0, [x1, #32]!
	mov	x0, x19
	mov	w2, #0
	bl	_devfreq_recommended_opp
	mov	x21, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_33
; %bb.32:
	mov	x0, x21
	bl	_dev_pm_opp_get_freq
	str	w0, [x20, #32]
	mov	x0, x21
	bl	_dev_pm_opp_get_voltage
	str	w0, [x20, #36]
	mov	x0, x21
	bl	_dev_pm_opp_put
	ldr	w8, [x20, #32]
Lloh56:
	adrp	x1, _rk3399_devfreq_dmc_profile@GOTPAGE
Lloh57:
	ldr	x1, [x1, _rk3399_devfreq_dmc_profile@GOTPAGEOFF]
	str	w8, [x1]
Lloh58:
	adrp	x8, _DEVFREQ_GOV_SIMPLE_ONDEMAND@GOTPAGE
Lloh59:
	ldr	x8, [x8, _DEVFREQ_GOV_SIMPLE_ONDEMAND@GOTPAGEOFF]
Lloh60:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x22
	bl	_devm_devfreq_add_device
	str	x0, [x20, #16]
	bl	_IS_ERR
	ldr	x21, [x20, #16]
	cbz	x0, LBB0_34
LBB0_33:
	mov	x0, x21
	bl	_PTR_ERR
	mov	x22, x0
	mov	x0, x19
	bl	_dev_pm_opp_of_remove_table
	b	LBB0_6
LBB0_34:
	mov	x0, x19
	mov	x1, x21
	bl	_devm_devfreq_register_opp_notifier
	str	x19, [x20, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	w22, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"center"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.1:                               ; @.str.1
	.asciz	"Cannot get the regulator \"center\"\n"

l_.str.2:                               ; @.str.2
	.asciz	"dmc_clk"

l_.str.3:                               ; @.str.3
	.asciz	"Cannot get the clk dmc_clk\n"

l_.str.4:                               ; @.str.4
	.asciz	"failed to enable devfreq-event devices\n"

	.comm	_ROCKCHIP_SIP_DRAM_FREQ,4,2     ; @ROCKCHIP_SIP_DRAM_FREQ
	.comm	_ROCKCHIP_SIP_CONFIG_DRAM_SET_PARAM,4,2 ; @ROCKCHIP_SIP_CONFIG_DRAM_SET_PARAM
l_.str.5:                               ; @.str.5
	.asciz	"Failed to set dram param: %ld\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.6:                               ; @.str.6
	.asciz	"rockchip,pmu"

	.comm	_RK3399_PMUGRF_OS_REG2,4,2      ; @RK3399_PMUGRF_OS_REG2
	.comm	_RK3399_PMUGRF_DDRTYPE_SHIFT,4,2 ; @RK3399_PMUGRF_DDRTYPE_SHIFT
	.comm	_RK3399_PMUGRF_DDRTYPE_MASK,4,2 ; @RK3399_PMUGRF_DDRTYPE_MASK
	.comm	_ROCKCHIP_SIP_CONFIG_DRAM_INIT,4,2 ; @ROCKCHIP_SIP_CONFIG_DRAM_INIT
l_.str.7:                               ; @.str.7
	.asciz	"Invalid operating-points in device tree.\n"

l_.str.8:                               ; @.str.8
	.asciz	"upthreshold"

l_.str.9:                               ; @.str.9
	.asciz	"downdifferential"

	.comm	_rk3399_devfreq_dmc_profile,4,2 ; @rk3399_devfreq_dmc_profile
	.comm	_DEVFREQ_GOV_SIMPLE_ONDEMAND,4,2 ; @DEVFREQ_GOV_SIMPLE_ONDEMAND
	.no_dead_strip	_rk3399_dmcfreq_probe
.subsections_via_symbols
