	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fdt_node_depth                 ## -- Begin function fdt_node_depth
	.p2align	4, 0x90
_fdt_node_depth:                        ## @fdt_node_depth
	.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
	xorl	%ebx, %ebx
	leaq	-12(%rbp), %rcx
	xorl	%edx, %edx
	callq	_fdt_supernode_atdepth_offset
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_FDT_ERR_INTERNAL@GOTPCREL(%rip), %rcx
	subl	(%rcx), %ebx
	testl	%eax, %eax
	cmovsl	%eax, %ebx
	jmp	LBB0_3
LBB0_2:
	movl	-12(%rbp), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FDT_ERR_INTERNAL,4,2           ## @FDT_ERR_INTERNAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fdt_node_depth                 ; -- Begin function fdt_node_depth
	.p2align	2
_fdt_node_depth:                        ; @fdt_node_depth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	sub	x3, x29, #4
	mov	w2, #0
	bl	_fdt_supernode_atdepth_offset
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _FDT_ERR_INTERNAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FDT_ERR_INTERNAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, #0
	csneg	w0, w0, w8, lt
	b	LBB0_3
LBB0_2:
	ldur	w0, [x29, #-4]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FDT_ERR_INTERNAL,4,2           ; @FDT_ERR_INTERNAL
.subsections_via_symbols
