	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	leaq	24(%rbx), %rcx
	leaq	L_.str(%rip), %rdx
	xorl	%esi, %esi
	callq	_regulator_get_by_ofw_property
	movl	(%rbx), %edi
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_12
LBB0_2:
	leaq	20(%rbx), %rcx
	leaq	L_.str.2(%rip), %rdx
	xorl	%esi, %esi
	callq	_regulator_get_by_ofw_property
	movl	(%rbx), %edi
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_12
LBB0_4:
	leaq	16(%rbx), %rcx
	leaq	L_.str.4(%rip), %rdx
	xorl	%esi, %esi
	callq	_regulator_get_by_ofw_property
	movl	(%rbx), %edi
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_12
LBB0_6:
	leaq	12(%rbx), %rcx
	leaq	L_.str.6(%rip), %rdx
	xorl	%esi, %esi
	callq	_hwreset_get_by_ofw_name
	movl	(%rbx), %edi
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_12
LBB0_8:
	leaq	8(%rbx), %rcx
	leaq	L_.str.8(%rip), %rdx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_clk_get_by_ofw_name
	movl	(%rbx), %edi
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_12
LBB0_10:
	leaq	4(%rbx), %rcx
	leaq	L_.str.6(%rip), %rdx
	xorl	%esi, %esi
	callq	_clk_get_by_ofw_name
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:
	movl	(%rbx), %edi
	leaq	L_.str.10(%rip), %rsi
LBB0_12:
	callq	_device_printf
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_13:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hdmi-supply"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot get 'hdmi' regulator\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
L_.str.2:                               ## @.str.2
	.asciz	"pll-supply"

L_.str.3:                               ## @.str.3
	.asciz	"Cannot get 'pll' regulator\n"

L_.str.4:                               ## @.str.4
	.asciz	"vdd-supply"

L_.str.5:                               ## @.str.5
	.asciz	"Cannot get 'vdd' regulator\n"

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

L_.str.7:                               ## @.str.7
	.asciz	"Cannot get 'hdmi' reset\n"

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

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

L_.str.10:                              ## @.str.10
	.asciz	"Cannot get 'hdmi' clock\n"

	.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:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [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
	mov	x8, x0
	ldr	w0, [x19]
	cbz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_2:
	add	x3, x19, #20
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #0
	bl	_regulator_get_by_ofw_property
	mov	x8, x0
	ldr	w0, [x19]
	cbz	w8, LBB0_4
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_4:
	add	x3, x19, #16
Lloh8:
	adrp	x2, l_.str.4@PAGE
Lloh9:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w1, #0
	bl	_regulator_get_by_ofw_property
	mov	x8, x0
	ldr	w0, [x19]
	cbz	w8, LBB0_6
; %bb.5:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_12
LBB0_6:
	add	x3, x19, #12
Lloh12:
	adrp	x2, l_.str.6@PAGE
Lloh13:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	w1, #0
	bl	_hwreset_get_by_ofw_name
	mov	x8, x0
	ldr	w0, [x19]
	cbz	w8, LBB0_8
; %bb.7:
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_12
LBB0_8:
	add	x3, x19, #8
Lloh16:
	adrp	x2, l_.str.8@PAGE
Lloh17:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	w1, #0
	bl	_clk_get_by_ofw_name
	mov	x8, x0
	ldr	w0, [x19]
	cbz	w8, LBB0_10
; %bb.9:
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_12
LBB0_10:
	add	x3, x19, #4
Lloh20:
	adrp	x2, l_.str.6@PAGE
Lloh21:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	w1, #0
	bl	_clk_get_by_ofw_name
	cbz	w0, LBB0_13
; %bb.11:
	ldr	w0, [x19]
Lloh22:
	adrp	x1, l_.str.10@PAGE
Lloh23:
	add	x1, x1, l_.str.10@PAGEOFF
LBB0_12:
	bl	_device_printf
Lloh24:
	adrp	x8, _ENXIO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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 AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hdmi-supply"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot get 'hdmi' regulator\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
l_.str.2:                               ; @.str.2
	.asciz	"pll-supply"

l_.str.3:                               ; @.str.3
	.asciz	"Cannot get 'pll' regulator\n"

l_.str.4:                               ; @.str.4
	.asciz	"vdd-supply"

l_.str.5:                               ; @.str.5
	.asciz	"Cannot get 'vdd' regulator\n"

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

l_.str.7:                               ; @.str.7
	.asciz	"Cannot get 'hdmi' reset\n"

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

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

l_.str.10:                              ; @.str.10
	.asciz	"Cannot get 'hdmi' clock\n"

	.no_dead_strip	_get_fdt_resources
.subsections_via_symbols
