	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_fdt_resources
_get_fdt_resources:                     ## @get_fdt_resources
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	8(%rdi), %edi
	callq	_device_get_parent
	movl	%eax, %r14d
	leaq	24(%r15), %rcx
	leaq	L_.str(%rip), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_regulator_get_by_ofw_property
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movl	8(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_device_printf
	jmp	LBB0_13
LBB0_2:
	leaq	20(%r15), %rcx
	leaq	L_.str.2(%rip), %rdx
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_clk_get_by_ofw_name
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	8(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_device_printf
	jmp	LBB0_11
LBB0_4:
	leaq	16(%r15), %rcx
	leaq	L_.str.4(%rip), %rdx
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_clk_get_by_ofw_name
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	8(%r15), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_10
LBB0_6:
	leaq	12(%r15), %rcx
	leaq	L_.str.6(%rip), %rdx
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_clk_get_by_ofw_name
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	8(%r15), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_10
LBB0_8:
	leaq	4(%r15), %rcx
	leaq	L_.str.8(%rip), %rdx
	xorl	%ebx, %ebx
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_clk_get_by_ofw_name
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:
	leaq	L_.str.9(%rip), %rsi
	movl	%r14d, %edi
LBB0_10:
	xorl	%eax, %eax
	callq	_device_printf
LBB0_11:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	L_.str.10(%rip), %rdx
	movl	%r14d, %edi
	xorl	%esi, %esi
	movq	%r15, %rcx
	callq	_clk_get_by_ofw_name
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vdd-cpu-supply"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot get 'vdd-cpu' regulator\n"

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

L_.str.3:                               ## @.str.3
	.asciz	"Cannot get 'cpu_g' clock: %d\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
L_.str.4:                               ## @.str.4
	.asciz	"cpu_lp"

L_.str.5:                               ## @.str.5
	.asciz	"Cannot get 'cpu_lp' clock\n"

L_.str.6:                               ## @.str.6
	.asciz	"pll_x"

L_.str.7:                               ## @.str.7
	.asciz	"Cannot get 'pll_x' clock\n"

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

L_.str.9:                               ## @.str.9
	.asciz	"Cannot get 'pll_p' clock\n"

L_.str.10:                              ## @.str.10
	.asciz	"dfll"

	.no_dead_strip	_get_fdt_resources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_fdt_resources
_get_fdt_resources:                     ; @get_fdt_resources
	.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	x19, x0
	ldr	w0, [x0, #8]
	bl	_device_get_parent
	mov	x20, x0
	add	x3, x19, #24
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #0
	bl	_regulator_get_by_ofw_property
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	w0, [x19, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_device_printf
	b	LBB0_11
LBB0_2:
	add	x3, x19, #20
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	bl	_clk_get_by_ofw_name
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w8, [x19, #8]
	str	x0, [sp]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x8
	b	LBB0_10
LBB0_4:
	add	x3, x19, #16
Lloh8:
	adrp	x2, l_.str.4@PAGE
Lloh9:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	bl	_clk_get_by_ofw_name
	cbz	w0, LBB0_6
; %bb.5:
	ldr	w0, [x19, #8]
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_10
LBB0_6:
	add	x3, x19, #12
Lloh12:
	adrp	x2, l_.str.6@PAGE
Lloh13:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	bl	_clk_get_by_ofw_name
	cbz	w0, LBB0_8
; %bb.7:
	ldr	w0, [x19, #8]
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_10
LBB0_8:
	add	x3, x19, #4
Lloh16:
	adrp	x2, l_.str.8@PAGE
Lloh17:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	bl	_clk_get_by_ofw_name
	cbz	w0, LBB0_12
; %bb.9:
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
LBB0_10:
	bl	_device_printf
Lloh20:
	adrp	x8, _ENXIO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh22:
	ldr	w21, [x8]
LBB0_11:
	mov	x0, 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
	add	sp, sp, #64
	ret
LBB0_12:
Lloh23:
	adrp	x2, l_.str.10@PAGE
Lloh24:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	mov	x3, x19
	bl	_clk_get_by_ofw_name
	mov	w21, #0
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vdd-cpu-supply"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot get 'vdd-cpu' regulator\n"

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

l_.str.3:                               ; @.str.3
	.asciz	"Cannot get 'cpu_g' clock: %d\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
l_.str.4:                               ; @.str.4
	.asciz	"cpu_lp"

l_.str.5:                               ; @.str.5
	.asciz	"Cannot get 'cpu_lp' clock\n"

l_.str.6:                               ; @.str.6
	.asciz	"pll_x"

l_.str.7:                               ; @.str.7
	.asciz	"Cannot get 'pll_x' clock\n"

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

l_.str.9:                               ; @.str.9
	.asciz	"Cannot get 'pll_p' clock\n"

l_.str.10:                              ; @.str.10
	.asciz	"dfll"

	.no_dead_strip	_get_fdt_resources
.subsections_via_symbols
