	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos_bus_parent_parse_of
_exynos_bus_parent_parse_of:            ## @exynos_bus_parent_parse_of
	.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, %r13
	movq	%rdi, %r15
	movq	32(%rsi), %r14
	leaq	L_.str(%rip), %rax
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_dev_pm_opp_set_regulators
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_15
LBB0_2:
	movq	%rbx, 8(%r13)
	movq	%r14, %rdi
	callq	_devfreq_event_get_edev_count
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_3
## %bb.5:
	movl	%r12d, (%r13)
	leal	(,%r12,8), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_devm_kzalloc
	movq	%rax, 24(%r13)
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	testl	%r12d, %r12d
	je	LBB0_13
## %bb.7:
	movl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_devfreq_event_get_edev_by_phandle
	movq	24(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	24(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_11
LBB0_13:
	addq	$16, %r13
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_of_property_read_u32
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_DEFAULT_SATURATION_RATIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	jmp	LBB0_15
LBB0_3:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_4
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_12:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
LBB0_9:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_4:
	movq	8(%r13), %rdi
	callq	_dev_pm_opp_put_regulators
	movq	$0, 8(%r13)
LBB0_15:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vdd"

L_.str.1:                               ## @.str.1
	.asciz	"failed to set regulators %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to get the count of devfreq-event dev\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.3:                               ## @.str.3
	.asciz	"exynos,saturation-ratio"

	.comm	_DEFAULT_SATURATION_RATIO,4,2   ## @DEFAULT_SATURATION_RATIO
	.no_dead_strip	_exynos_bus_parent_parse_of
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_bus_parent_parse_of
_exynos_bus_parent_parse_of:            ; @exynos_bus_parent_parse_of
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x21, x0
	ldr	x20, [x1, #32]
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1
	bl	_dev_pm_opp_set_regulators
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_PTR_ERR
	mov	x22, x0
	str	x22, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_15
LBB0_2:
	str	x22, [x19, #8]
	mov	x0, x20
	bl	_devfreq_event_get_edev_count
	mov	x22, x0
	tbnz	w0, #31, LBB0_10
; %bb.3:
	str	w22, [x19]
	lsl	w1, w22, #3
Lloh4:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_devm_kzalloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_11
; %bb.4:
	cbz	w22, LBB0_8
; %bb.5:
	mov	x23, #0
	mov	w22, w22
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_devfreq_event_get_edev_by_phandle
	ldr	x8, [x19, #24]
	lsl	x9, x23, #3
	str	x0, [x8, x9]
	ldr	x8, [x19, #24]
	ldr	x0, [x8, x9]
	bl	_IS_ERR
	cbnz	x0, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	cmp	x22, x23
	b.ne	LBB0_6
LBB0_8:
	add	x19, x19, #16
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	bl	_of_property_read_u32
	mov	w22, #0
	cbz	x0, LBB0_15
; %bb.9:
Lloh9:
	adrp	x8, _DEFAULT_SATURATION_RATIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DEFAULT_SATURATION_RATIO@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_15
LBB0_10:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_14
LBB0_11:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh16:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_14:
	ldr	x0, [x19, #8]
	bl	_dev_pm_opp_put_regulators
	str	xzr, [x19, #8]
LBB0_15:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vdd"

l_.str.1:                               ; @.str.1
	.asciz	"failed to set regulators %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to get the count of devfreq-event dev\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.3:                               ; @.str.3
	.asciz	"exynos,saturation-ratio"

	.comm	_DEFAULT_SATURATION_RATIO,4,2   ; @DEFAULT_SATURATION_RATIO
	.no_dead_strip	_exynos_bus_parent_parse_of
.subsections_via_symbols
