	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function list_subnodes
_list_subnodes:                         ## @list_subnodes
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%r13d, %r13d
	leaq	LJTI0_0(%rip), %r15
	movl	$1, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	decl	%r13d
	je	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %ebx
	testl	%r13d, %r13d
	js	LBB0_11
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	leaq	-44(%rbp), %rdx
	callq	_fdt_next_tag
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %ecx
	cmpl	$3, %ecx
	ja	LBB0_12
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r15,%rcx,4), %rax
	addq	%r15, %rax
	jmpq	*%rax
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_fdt_get_name
	cmpl	$1, %r13d
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	testq	%rax, %rax
	leaq	L_.str(%rip), %rcx
	cmoveq	%rcx, %rax
	cmpb	$0, (%rax)
	leaq	L_.str.1(%rip), %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rdi
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	_puts
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%r13d
	movq	_MAX_LEVEL@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jl	LBB0_10
## %bb.8:
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_14
LBB0_11:
	xorl	%r12d, %r12d
LBB0_14:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	cmpl	$1, %r13d
	ja	LBB0_14
## %bb.13:
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_14
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_14
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/* NULL pointer error */"

L_.str.1:                               ## @.str.1
	.asciz	"/"

	.comm	_MAX_LEVEL,4,2                  ## @MAX_LEVEL
L_.str.3:                               ## @.str.3
	.asciz	"Unknown tag 0x%08X\n"

L_str:                                  ## @str
	.asciz	"Nested too deep, aborting."

	.no_dead_strip	_list_subnodes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function list_subnodes
_list_subnodes:                         ; @list_subnodes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	mov	w21, #0
Lloh0:
	adrp	x22, lJTI0_0@PAGE
Lloh1:
	add	x22, x22, lJTI0_0@PAGEOFF
Lloh2:
	adrp	x23, l_.str@PAGE
Lloh3:
	add	x23, x23, l_.str@PAGEOFF
Lloh4:
	adrp	x24, _MAX_LEVEL@GOTPAGE
Lloh5:
	ldr	x24, [x24, _MAX_LEVEL@GOTPAGEOFF]
Lloh6:
	adrp	x25, l_.str.1@PAGE
Lloh7:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	subs	w21, w21, #1
	b.eq	LBB0_9
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w20, [sp, #12]
	tbnz	w21, #31, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x20
	bl	_fdt_next_tag
                                        ; kill: def $w0 killed $w0 def $x0
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1
	adr	x9, LBB0_1
	ldrb	w10, [x22, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_fdt_get_name
	cmp	w21, #1
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x0, #0
	csel	x8, x23, x0, eq
	ldrb	w9, [x8]
	cmp	w9, #0
	csel	x0, x25, x8, eq
	bl	_puts
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w21, w21, #1
	ldr	w8, [x24]
	cmp	w21, w8
	b.lt	LBB0_2
; %bb.8:
Lloh8:
	adrp	x0, l_str@PAGE
Lloh9:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	b	LBB0_12
LBB0_9:
	mov	w0, #0
	b	LBB0_13
LBB0_10:
	cmp	w21, #1
	b.hi	LBB0_12
; %bb.11:
	str	x0, [sp]
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
LBB0_12:
	mov	w0, #1
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_13-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/* NULL pointer error */"

l_.str.1:                               ; @.str.1
	.asciz	"/"

	.comm	_MAX_LEVEL,4,2                  ; @MAX_LEVEL
l_.str.3:                               ; @.str.3
	.asciz	"Unknown tag 0x%08X\n"

l_str:                                  ; @str
	.asciz	"Nested too deep, aborting."

	.no_dead_strip	_list_subnodes
.subsections_via_symbols
