	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_node_type_name              ## -- Begin function dt_node_type_name
	.p2align	4, 0x90
_dt_node_type_name:                     ## @dt_node_type_name
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_dt_node_is_dynamic
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_dt_ident_resolve
	movl	(%rax), %edi
	callq	_dt_idkind_name
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_5
LBB0_3:
	movq	_DT_NF_USERLAND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rdx
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_snprintf
	subq	%rax, %r15
	cmovaeq	%r15, %r12
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	leaq	(%rax,%r14), %rdx
	movq	%r12, %rcx
	callq	_dt_type_name
LBB0_5:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	movq	%r14, %rdx
	movq	%r15, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dt_type_name                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_DT_NF_USERLAND,4,2             ## @DT_NF_USERLAND
L_.str.1:                               ## @.str.1
	.asciz	"userland "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_node_type_name              ; -- Begin function dt_node_type_name
	.p2align	2
_dt_node_type_name:                     ; @dt_node_type_name
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	bl	_dt_node_is_dynamic
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_dt_ident_resolve
	ldr	w0, [x0]
	bl	_dt_idkind_name
	str	x0, [sp]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_snprintf
	b	LBB0_5
LBB0_3:
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _DT_NF_USERLAND@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DT_NF_USERLAND@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_snprintf
	subs	x8, x20, x0
	csel	x3, xzr, x8, lo
	ldp	w1, w8, [x21, #4]
	add	x2, x19, x0
	mov	x0, x8
	bl	_dt_type_name
LBB0_5:
	mov	x0, x19
	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_6:
	ldp	w1, w0, [x21, #4]
	mov	x2, x19
	mov	x3, x20
	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
	b	_dt_type_name
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_DT_NF_USERLAND,4,2             ; @DT_NF_USERLAND
l_.str.1:                               ; @.str.1
	.asciz	"userland "

.subsections_via_symbols
