	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_name
_write_name:                            ## @write_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	%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, %r14d
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_MANGLE_TRACE_TREE
	movq	%r15, %rdi
	callq	_TREE_CODE
	movq	_TYPE_DECL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_TYPE_MAIN_VARIANT
	movq	%rax, %rdi
	callq	_TYPE_NAME
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_TYPE_MAIN_VARIANT
	movq	%rax, %rdi
	callq	_TYPE_CONTEXT
	jmp	LBB0_4
LBB0_2:
	movq	%r15, %rdi
	callq	_DECL_CONTEXT
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:
	movq	%r15, %rdi
	callq	_CP_DECL_CONTEXT
LBB0_4:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_15
## %bb.5:
	movq	_global_namespace@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rbx
	je	LBB0_15
## %bb.6:
	movq	%rbx, %rdi
	callq	_DECL_NAMESPACE_STD_P
	testq	%rax, %rax
	je	LBB0_7
LBB0_15:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_decl_is_template_id
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	-48(%rbp), %rdi
	callq	_TI_TEMPLATE
	movl	%eax, %edi
	callq	_write_unscoped_template_name
	movq	-48(%rbp), %rdi
	callq	_TI_ARGS
	movl	%eax, %edi
	callq	_write_template_args
	jmp	LBB0_18
LBB0_17:
	movq	%r15, %rdi
	callq	_write_unscoped_name
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	testl	%r14d, %r14d
	je	LBB0_8
## %bb.14:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_FUNCTION_DECL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
	jmp	LBB0_21
LBB0_8:
	cmpq	(%r12), %rbx
	je	LBB0_21
## %bb.9:
	movq	_FUNCTION_DECL@GOTPCREL(%rip), %r13
	movq	%r15, %r14
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_TYPE_P
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	callq	_TYPE_NAME
	movq	%rax, %rbx
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	callq	_TREE_CODE
	cmpq	(%r13), %rax
	je	LBB0_13
## %bb.19:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	callq	_CP_DECL_CONTEXT
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %r14
	movq	%rax, %rbx
	cmpq	(%r12), %rax
	jne	LBB0_10
LBB0_21:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_nested_name              ## TAILCALL
LBB0_13:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_local_name               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name"

	.comm	_TYPE_DECL,8,3                  ## @TYPE_DECL
	.comm	_global_namespace,8,3           ## @global_namespace
	.comm	_FUNCTION_DECL,8,3              ## @FUNCTION_DECL
	.no_dead_strip	_write_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_name
_write_name:                            ; @write_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_MANGLE_TRACE_TREE
	mov	x0, x19
	bl	_TREE_CODE
Lloh2:
	adrp	x8, _TYPE_DECL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TYPE_DECL@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_TREE_TYPE
	bl	_TYPE_MAIN_VARIANT
	bl	_TYPE_NAME
	mov	x19, x0
	bl	_TREE_TYPE
	bl	_TYPE_MAIN_VARIANT
	bl	_TYPE_CONTEXT
	mov	x21, x0
	cbnz	x0, LBB0_4
	b	LBB0_6
LBB0_2:
	mov	x0, x19
	bl	_DECL_CONTEXT
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_CP_DECL_CONTEXT
	mov	x21, x0
	cbz	x0, LBB0_6
LBB0_4:
Lloh5:
	adrp	x22, _global_namespace@GOTPAGE
Lloh6:
	ldr	x22, [x22, _global_namespace@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x21, x8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x21
	bl	_DECL_NAMESPACE_STD_P
	cbz	x0, LBB0_10
LBB0_6:
	add	x1, sp, #8
	mov	x0, x19
	bl	_decl_is_template_id
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x0, [sp, #8]
	bl	_TI_TEMPLATE
	bl	_write_unscoped_template_name
	ldr	x0, [sp, #8]
	bl	_TI_ARGS
	bl	_write_template_args
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_write_unscoped_name
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
	cbz	w20, LBB0_12
; %bb.11:
	mov	x0, x21
	bl	_TREE_CODE
Lloh7:
	adrp	x8, _FUNCTION_DECL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FUNCTION_DECL@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_6
	b	LBB0_19
LBB0_12:
	ldr	x8, [x22]
	cmp	x21, x8
	b.eq	LBB0_19
; %bb.13:
Lloh10:
	adrp	x23, _FUNCTION_DECL@GOTPAGE
Lloh11:
	ldr	x23, [x23, _FUNCTION_DECL@GOTPAGEOFF]
	mov	x20, x19
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_TYPE_P
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x21
	bl	_TYPE_NAME
	mov	x21, x0
LBB0_16:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x21
	bl	_TREE_CODE
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x21
	bl	_CP_DECL_CONTEXT
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x22]
	mov	x20, x21
	mov	x21, x0
	cmp	x0, x8
	b.ne	LBB0_14
LBB0_19:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_write_nested_name
LBB0_20:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_write_local_name
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name"

	.comm	_TYPE_DECL,8,3                  ; @TYPE_DECL
	.comm	_global_namespace,8,3           ; @global_namespace
	.comm	_FUNCTION_DECL,8,3              ; @FUNCTION_DECL
	.no_dead_strip	_write_name
.subsections_via_symbols
