	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra124_pmc_parse_fdt
_tegra124_pmc_parse_fdt:                ## @tegra124_pmc_parse_fdt
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movl	%r14d, %edi
	movl	$4, %ecx
	callq	_OF_getencprop
	testl	%eax, %eax
	jle	LBB0_9
## %bb.1:
	movl	-36(%rbp), %eax
	cmpl	$2, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$1, %eax
	je	LBB0_5
## %bb.3:
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	_TEGRA_SUSPEND_LP0@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_TEGRA_SUSPEND_LP2@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_TEGRA_SUSPEND_LP1@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_TEGRA_SUSPEND_NONE@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_9:
	leaq	L_.str.1(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movl	%r14d, %edi
	movl	$4, %ecx
	callq	_OF_getencprop
	testl	%eax, %eax
	jle	LBB0_11
## %bb.10:
	movl	-36(%rbp), %eax
	movl	%eax, 8(%rbx)
	movq	_TEGRA_SUSPEND_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_11:
	leaq	L_.str.2(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movl	%r14d, %edi
	movl	$4, %ecx
	callq	_OF_getencprop
	testl	%eax, %eax
	jle	LBB0_13
## %bb.12:
	movl	-36(%rbp), %eax
	movl	%eax, 12(%rbx)
	movq	_TEGRA_SUSPEND_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_13:
	leaq	L_.str.3(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movl	%r14d, %edi
	movl	$8, %ecx
	callq	_OF_getencprop
	cmpl	$8, %eax
	jne	LBB0_15
## %bb.14:
	movl	-32(%rbp), %eax
	movl	%eax, 16(%rbx)
	movl	-28(%rbp), %eax
	movl	%eax, 20(%rbx)
	movq	_TEGRA_SUSPEND_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_15:
	leaq	L_.str.4(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movl	%r14d, %edi
	movl	$4, %ecx
	callq	_OF_getencprop
	testl	%eax, %eax
	jle	LBB0_17
## %bb.16:
	movl	-36(%rbp), %eax
	movl	%eax, 24(%rbx)
	movq	_TEGRA_SUSPEND_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_17:
	leaq	L_.str.5(%rip), %rsi
	movl	%r14d, %edi
	callq	_OF_hasprop
	movq	%rax, 64(%rbx)
	leaq	L_.str.6(%rip), %rsi
	movl	%r14d, %edi
	callq	_OF_hasprop
	movq	%rax, 56(%rbx)
	leaq	L_.str.7(%rip), %rsi
	movl	%r14d, %edi
	callq	_OF_hasprop
	movq	%rax, 48(%rbx)
	leaq	L_.str.8(%rip), %rsi
	movl	%r14d, %edi
	callq	_OF_hasprop
	movq	%rax, 40(%rbx)
	leaq	L_.str.9(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movl	%r14d, %edi
	movl	$8, %ecx
	callq	_OF_getencprop
	cmpl	$8, %eax
	jne	LBB0_20
## %bb.18:
	movl	-32(%rbp), %eax
	movl	%eax, 28(%rbx)
	movl	-28(%rbp), %eax
	movl	%eax, 20(%rbx)
	movq	_TEGRA_SUSPEND_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movq	(%rbx), %rax
	movq	_TEGRA_SUSPEND_LP0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.19:
	movq	_TEGRA_SUSPEND_LP1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nvidia,suspend-mode"

	.comm	_TEGRA_SUSPEND_LP0,8,3          ## @TEGRA_SUSPEND_LP0
	.comm	_TEGRA_SUSPEND_LP1,8,3          ## @TEGRA_SUSPEND_LP1
	.comm	_TEGRA_SUSPEND_LP2,8,3          ## @TEGRA_SUSPEND_LP2
	.comm	_TEGRA_SUSPEND_NONE,8,3         ## @TEGRA_SUSPEND_NONE
L_.str.1:                               ## @.str.1
	.asciz	"nvidia,cpu-pwr-good-time"

L_.str.2:                               ## @.str.2
	.asciz	"nvidia,cpu-pwr-off-time"

L_.str.3:                               ## @.str.3
	.asciz	"nvidia,core-pwr-good-time"

L_.str.4:                               ## @.str.4
	.asciz	"nvidia,core-pwr-off-time"

L_.str.5:                               ## @.str.5
	.asciz	"nvidia,core-power-req-active-high"

L_.str.6:                               ## @.str.6
	.asciz	"nvidia,sys-clock-req-active-high"

L_.str.7:                               ## @.str.7
	.asciz	"nvidia,combined-power-req"

L_.str.8:                               ## @.str.8
	.asciz	"nvidia,cpu-pwr-good-en"

L_.str.9:                               ## @.str.9
	.asciz	"nvidia,lp0-vec"

	.no_dead_strip	_tegra124_pmc_parse_fdt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra124_pmc_parse_fdt
_tegra124_pmc_parse_fdt:                ; @tegra124_pmc_parse_fdt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	mov	w3, #4
	bl	_OF_getencprop
Lloh2:
	adrp	x21, _TEGRA_SUSPEND_NONE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _TEGRA_SUSPEND_NONE@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.1:
	ldr	w8, [sp, #12]
	cmp	w8, #2
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #1
	b.eq	LBB0_6
; %bb.3:
	cbnz	w8, LBB0_7
; %bb.4:
Lloh4:
	adrp	x8, _TEGRA_SUSPEND_LP0@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TEGRA_SUSPEND_LP0@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	b	LBB0_8
LBB0_5:
Lloh7:
	adrp	x8, _TEGRA_SUSPEND_LP2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TEGRA_SUSPEND_LP2@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	b	LBB0_8
LBB0_6:
Lloh10:
	adrp	x8, _TEGRA_SUSPEND_LP1@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TEGRA_SUSPEND_LP1@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	b	LBB0_8
LBB0_7:
	ldr	x8, [x21]
LBB0_8:
	str	x8, [x19]
LBB0_9:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	mov	w3, #4
	bl	_OF_getencprop
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.10:
	ldr	w8, [sp, #12]
	str	w8, [x19, #8]
	ldr	x8, [x21]
	str	x8, [x19]
LBB0_11:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	mov	w3, #4
	bl	_OF_getencprop
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.12:
	ldr	w8, [sp, #12]
	str	w8, [x19, #12]
	ldr	x8, [x21]
	str	x8, [x19]
LBB0_13:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, sp
	mov	x0, x20
	mov	w3, #8
	bl	_OF_getencprop
	cmp	w0, #8
	b.ne	LBB0_15
; %bb.14:
	ldr	d0, [sp]
	str	d0, [x19, #16]
	ldr	x8, [x21]
	str	x8, [x19]
LBB0_15:
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	mov	w3, #4
	bl	_OF_getencprop
	cmp	w0, #1
	b.lt	LBB0_17
; %bb.16:
	ldr	w8, [sp, #12]
	str	w8, [x19, #24]
	ldr	x8, [x21]
	str	x8, [x19]
LBB0_17:
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_OF_hasprop
	str	x0, [x19, #64]
Lloh23:
	adrp	x1, l_.str.6@PAGE
Lloh24:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_OF_hasprop
	str	x0, [x19, #56]
Lloh25:
	adrp	x1, l_.str.7@PAGE
Lloh26:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_OF_hasprop
	str	x0, [x19, #48]
Lloh27:
	adrp	x1, l_.str.8@PAGE
Lloh28:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_OF_hasprop
	str	x0, [x19, #40]
Lloh29:
	adrp	x1, l_.str.9@PAGE
Lloh30:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x2, sp
	mov	x0, x20
	mov	w3, #8
	bl	_OF_getencprop
	cmp	w0, #8
	b.ne	LBB0_20
; %bb.18:
	ldp	w8, w9, [sp]
	str	w8, [x19, #28]
	str	w9, [x19, #20]
	ldr	x8, [x21]
	str	x8, [x19, #32]
	ldr	x8, [x19]
Lloh31:
	adrp	x9, _TEGRA_SUSPEND_LP0@GOTPAGE
Lloh32:
	ldr	x9, [x9, _TEGRA_SUSPEND_LP0@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.19:
Lloh34:
	adrp	x8, _TEGRA_SUSPEND_LP1@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TEGRA_SUSPEND_LP1@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_20:
	mov	w0, #0
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nvidia,suspend-mode"

	.comm	_TEGRA_SUSPEND_LP0,8,3          ; @TEGRA_SUSPEND_LP0
	.comm	_TEGRA_SUSPEND_LP1,8,3          ; @TEGRA_SUSPEND_LP1
	.comm	_TEGRA_SUSPEND_LP2,8,3          ; @TEGRA_SUSPEND_LP2
	.comm	_TEGRA_SUSPEND_NONE,8,3         ; @TEGRA_SUSPEND_NONE
l_.str.1:                               ; @.str.1
	.asciz	"nvidia,cpu-pwr-good-time"

l_.str.2:                               ; @.str.2
	.asciz	"nvidia,cpu-pwr-off-time"

l_.str.3:                               ; @.str.3
	.asciz	"nvidia,core-pwr-good-time"

l_.str.4:                               ; @.str.4
	.asciz	"nvidia,core-pwr-off-time"

l_.str.5:                               ; @.str.5
	.asciz	"nvidia,core-power-req-active-high"

l_.str.6:                               ; @.str.6
	.asciz	"nvidia,sys-clock-req-active-high"

l_.str.7:                               ; @.str.7
	.asciz	"nvidia,combined-power-req"

l_.str.8:                               ; @.str.8
	.asciz	"nvidia,cpu-pwr-good-en"

l_.str.9:                               ; @.str.9
	.asciz	"nvidia,lp0-vec"

	.no_dead_strip	_tegra124_pmc_parse_fdt
.subsections_via_symbols
