	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_prefix
_write_prefix:                          ## @write_prefix
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	$0, -32(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_MANGLE_TRACE_TREE
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.1:
	movq	_global_namespace@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_18
## %bb.2:
	movq	%rbx, %rdi
	callq	_find_substitution
	testq	%rax, %rax
	jne	LBB0_18
## %bb.3:
	movq	%rbx, %rdi
	callq	_DECL_P
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	callq	_TREE_CODE
	movq	_FUNCTION_DECL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_18
## %bb.5:
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_decl_is_template_id
	movq	%rbx, %r14
	jmp	LBB0_8
LBB0_6:
	callq	_TYPE_NAME
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_CLASSTYPE_TEMPLATE_ID_P
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_TYPE_TEMPLATE_INFO
	movq	%rax, -32(%rbp)
LBB0_8:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_TEMPLATE_TYPE_PARM@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_11
## %bb.9:
	movl	$2, %edi
	callq	_abi_version_at_least
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	_G@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_11:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	cmpq	(%r15), %rax
	jne	LBB0_14
## %bb.12:
	movl	$2, %edi
	callq	_abi_version_at_least
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	callq	_write_template_param
	jmp	LBB0_17
LBB0_14:
	cmpq	$0, -32(%rbp)
	je	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	callq	_write_template_prefix
	movq	-32(%rbp), %rdi
	callq	_TI_ARGS
	movl	%eax, %edi
	callq	_write_template_args
	jmp	LBB0_17
LBB0_16:
	movq	%r14, %rdi
	callq	_CP_DECL_CONTEXT
	movq	%rax, %rdi
	callq	_write_prefix
	movq	%r14, %rdi
	callq	_write_unqualified_name
LBB0_17:
	movq	%rbx, %rdi
	callq	_add_substitution
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"prefix"

	.comm	_global_namespace,8,3           ## @global_namespace
	.comm	_FUNCTION_DECL,8,3              ## @FUNCTION_DECL
	.comm	_TEMPLATE_TYPE_PARM,8,3         ## @TEMPLATE_TYPE_PARM
	.comm	_G,4,2                          ## @G
	.no_dead_strip	_write_prefix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_prefix
_write_prefix:                          ; @write_prefix
	.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	x19, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_MANGLE_TRACE_TREE
	cbz	x19, LBB0_18
; %bb.1:
Lloh2:
	adrp	x8, _global_namespace@GOTPAGE
Lloh3:
	ldr	x8, [x8, _global_namespace@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x19
	b.eq	LBB0_18
; %bb.2:
	mov	x0, x19
	bl	_find_substitution
	cbnz	x0, LBB0_18
; %bb.3:
	mov	x0, x19
	bl	_DECL_P
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_TREE_CODE
Lloh5:
	adrp	x8, _FUNCTION_DECL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FUNCTION_DECL@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_18
; %bb.5:
	add	x1, sp, #8
	mov	x0, x19
	bl	_decl_is_template_id
	mov	x20, x19
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	bl	_TYPE_NAME
	mov	x20, x0
	mov	x0, x19
	bl	_CLASSTYPE_TEMPLATE_ID_P
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_TYPE_TEMPLATE_INFO
	str	x0, [sp, #8]
LBB0_8:
	mov	x0, x19
	bl	_TREE_CODE
Lloh8:
	adrp	x21, _TEMPLATE_TYPE_PARM@GOTPAGE
Lloh9:
	ldr	x21, [x21, _TEMPLATE_TYPE_PARM@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.9:
	mov	w0, #2
	bl	_abi_version_at_least
	cbnz	x0, LBB0_11
; %bb.10:
Lloh10:
	adrp	x8, _G@GOTPAGE
Lloh11:
	ldr	x8, [x8, _G@GOTPAGEOFF]
	mov	w9, #1
Lloh12:
	str	w9, [x8]
LBB0_11:
	mov	x0, x19
	bl	_TREE_CODE
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.12:
	mov	w0, #2
	bl	_abi_version_at_least
	cbz	x0, LBB0_14
; %bb.13:
	mov	x0, x19
	bl	_write_template_param
	b	LBB0_17
LBB0_14:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_16
; %bb.15:
	mov	x0, x20
	bl	_write_template_prefix
	ldr	x0, [sp, #8]
	bl	_TI_ARGS
	bl	_write_template_args
	b	LBB0_17
LBB0_16:
	mov	x0, x20
	bl	_CP_DECL_CONTEXT
	bl	_write_prefix
	mov	x0, x20
	bl	_write_unqualified_name
LBB0_17:
	mov	x0, x19
	bl	_add_substitution
LBB0_18:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"prefix"

	.comm	_global_namespace,8,3           ; @global_namespace
	.comm	_FUNCTION_DECL,8,3              ; @FUNCTION_DECL
	.comm	_TEMPLATE_TYPE_PARM,8,3         ; @TEMPLATE_TYPE_PARM
	.comm	_G,4,2                          ; @G
	.no_dead_strip	_write_prefix
.subsections_via_symbols
