	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_mangled_name
_write_mangled_name:                    ## @write_mangled_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_MANGLE_TRACE_TREE
	movl	%ebx, %edi
	callq	_DECL_EXTERN_C_FUNCTION_P
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movl	%ebx, %edi
	callq	_DECL_OVERLOADED_OPERATOR_P
	testl	%eax, %eax
	je	LBB0_2
LBB0_8:
	movl	%ebx, %edi
	callq	_TREE_CODE
	movq	_VAR_DECL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.9:
	movl	%ebx, %edi
	callq	_DECL_EXTERNAL_LINKAGE_P
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:
	movl	%ebx, %edi
	callq	_CP_DECL_CONTEXT
	movq	_global_namespace@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.11:
	movl	%ebx, %edi
	callq	_DECL_EXTERN_C_P
	testq	%rax, %rax
	je	LBB0_15
LBB0_12:
	testl	%r14d, %r14d
	jne	LBB0_3
## %bb.13:
	movl	$2, %edi
	callq	_abi_version_at_least
	testq	%rax, %rax
	jne	LBB0_4
## %bb.14:
	movq	_G@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_15:
	leaq	L_.str.1(%rip), %rdi
	callq	_write_string
	movl	%ebx, %edi
	callq	_write_encoding
	movl	%ebx, %edi
	callq	_DECL_LANG_SPECIFIC
	testq	%rax, %rax
	je	LBB0_20
## %bb.16:
	movl	%ebx, %edi
	callq	_DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:
	movl	%ebx, %edi
	callq	_DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P
	testq	%rax, %rax
	je	LBB0_20
LBB0_18:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_19
LBB0_20:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	testl	%r14d, %r14d
	je	LBB0_4
LBB0_3:
	movl	%ebx, %edi
	callq	_DECL_NAME
	movl	%eax, %edi
	callq	_IDENTIFIER_POINTER
	movq	%rax, %rdi
LBB0_19:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_write_string                   ## TAILCALL
LBB0_4:
	movl	$2, %edi
	callq	_abi_version_at_least
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	callq	_write_string
	jmp	LBB0_7
LBB0_6:
	movq	_G@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_7:
	movl	%ebx, %edi
	callq	_DECL_NAME
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_write_source_name              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mangled-name"

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

	.comm	_G,4,2                          ## @G
	.comm	_VAR_DECL,8,3                   ## @VAR_DECL
	.comm	_global_namespace,8,3           ## @global_namespace
L_.str.2:                               ## @.str.2
	.asciz	" *INTERNAL* "

	.no_dead_strip	_write_mangled_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_mangled_name
_write_mangled_name:                    ; @write_mangled_name
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	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	_DECL_EXTERN_C_FUNCTION_P
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_DECL_OVERLOADED_OPERATOR_P
	cbz	w0, LBB0_14
LBB0_2:
	mov	x0, x19
	bl	_TREE_CODE
Lloh2:
	adrp	x8, _VAR_DECL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VAR_DECL@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.3:
	mov	x0, x19
	bl	_DECL_EXTERNAL_LINKAGE_P
	cbz	x0, LBB0_9
; %bb.4:
	mov	x0, x19
	bl	_CP_DECL_CONTEXT
Lloh5:
	adrp	x8, _global_namespace@GOTPAGE
Lloh6:
	ldr	x8, [x8, _global_namespace@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_DECL_EXTERN_C_P
	cbz	x0, LBB0_9
LBB0_6:
	cbnz	w20, LBB0_15
; %bb.7:
	mov	w0, #2
	bl	_abi_version_at_least
	cbnz	x0, LBB0_17
; %bb.8:
Lloh8:
	adrp	x8, _G@GOTPAGE
Lloh9:
	ldr	x8, [x8, _G@GOTPAGEOFF]
	mov	w9, #1
Lloh10:
	str	w9, [x8]
LBB0_9:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_write_string
	mov	x0, x19
	bl	_write_encoding
	mov	x0, x19
	bl	_DECL_LANG_SPECIFIC
	cbz	x0, LBB0_13
; %bb.10:
	mov	x0, x19
	bl	_DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P
	cbnz	x0, LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P
	cbz	x0, LBB0_13
LBB0_12:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_14:
	cbz	w20, LBB0_17
LBB0_15:
	mov	x0, x19
	bl	_DECL_NAME
	bl	_IDENTIFIER_POINTER
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_write_string
LBB0_17:
	mov	w0, #2
	bl	_abi_version_at_least
	cbz	x0, LBB0_19
; %bb.18:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_write_string
	b	LBB0_20
LBB0_19:
Lloh17:
	adrp	x8, _G@GOTPAGE
Lloh18:
	ldr	x8, [x8, _G@GOTPAGEOFF]
	mov	w9, #1
Lloh19:
	str	w9, [x8]
LBB0_20:
	mov	x0, x19
	bl	_DECL_NAME
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_write_source_name
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mangled-name"

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

	.comm	_G,4,2                          ; @G
	.comm	_VAR_DECL,8,3                   ; @VAR_DECL
	.comm	_global_namespace,8,3           ; @global_namespace
l_.str.2:                               ; @.str.2
	.asciz	" *INTERNAL* "

	.no_dead_strip	_write_mangled_name
.subsections_via_symbols
