	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_of_register_trusted_foundations ## -- Begin function of_register_trusted_foundations
	.p2align	4, 0x90
_of_register_trusted_foundations:       ## @of_register_trusted_foundations
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_of_find_compatible_node
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	leaq	-12(%rbp), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.2(%rip), %rdi
	callq	_panic
LBB0_3:
	leaq	L_.str.3(%rip), %rsi
	leaq	-16(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.4(%rip), %rdi
	callq	_panic
LBB0_5:
	leaq	-16(%rbp), %rdi
	callq	_register_trusted_foundations
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tlm,trusted-foundations"

L_.str.1:                               ## @.str.1
	.asciz	"tlm,version-major"

L_.str.2:                               ## @.str.2
	.asciz	"Trusted Foundation: missing version-major property\n"

L_.str.3:                               ## @.str.3
	.asciz	"tlm,version-minor"

L_.str.4:                               ## @.str.4
	.asciz	"Trusted Foundation: missing version-minor property\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_of_register_trusted_foundations ; -- Begin function of_register_trusted_foundations
	.p2align	2
_of_register_trusted_foundations:       ; @of_register_trusted_foundations
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	mov	x1, #0
	bl	_of_find_compatible_node
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	add	x8, sp, #8
	orr	x2, x8, #0x4
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_of_property_read_u32
	cbz	w0, LBB0_3
; %bb.2:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_panic
LBB0_3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #8
	mov	x0, x19
	bl	_of_property_read_u32
	cbz	w0, LBB0_5
; %bb.4:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_panic
LBB0_5:
	add	x0, sp, #8
	bl	_register_trusted_foundations
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tlm,trusted-foundations"

l_.str.1:                               ; @.str.1
	.asciz	"tlm,version-major"

l_.str.2:                               ; @.str.2
	.asciz	"Trusted Foundation: missing version-major property\n"

l_.str.3:                               ; @.str.3
	.asciz	"tlm,version-minor"

l_.str.4:                               ; @.str.4
	.asciz	"Trusted Foundation: missing version-minor property\n"

.subsections_via_symbols
