	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cp_print_error_function
_cp_print_error_function:               ## @cp_print_error_function
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_diagnostic_last_function_changed
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	(%rbx), %rax
	movq	(%rax), %r12
	movl	(%r14), %edi
	callq	_LOCATION_FILE
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rdi
	callq	_file_name_as_prefix
	movq	%rax, %rsi
	jmp	LBB0_4
LBB0_2:
	xorl	%esi, %esi
LBB0_4:
	movq	(%rbx), %rdi
	callq	_pp_base_set_prefix
	movq	_current_function_decl@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movq	(%rbx), %r14
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.6:
	callq	_function_category
	movl	%eax, %r15d
	movq	(%r13), %rdi
	movl	$2, %esi
	callq	_cxx_printable_name
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_pp_printf
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_pp_base_string
LBB0_7:
	movq	(%rbx), %rdi
	callq	_pp_base_newline
	movq	%rbx, %rdi
	callq	_diagnostic_set_last_function
	movq	(%rbx), %rdi
	callq	_pp_base_destroy_prefix
	movq	(%rbx), %rax
	movq	%r12, (%rax)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_function_decl,8,3      ## @current_function_decl
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"At global scope:"

L_.str.1:                               ## @.str.1
	.asciz	"In %s %qs:"

	.no_dead_strip	_cp_print_error_function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cp_print_error_function
_cp_print_error_function:               ; @cp_print_error_function
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	bl	_diagnostic_last_function_changed
	cbz	x0, LBB0_8
; %bb.1:
	ldr	x8, [x19]
	ldr	x22, [x8]
	ldr	w0, [x20]
	bl	_LOCATION_FILE
	cbz	x0, LBB0_3
; %bb.2:
	bl	_file_name_as_prefix
	mov	x1, x0
	b	LBB0_4
LBB0_3:
	mov	x1, #0
LBB0_4:
	ldr	x0, [x19]
	bl	_pp_base_set_prefix
Lloh0:
	adrp	x23, _current_function_decl@GOTPAGE
Lloh1:
	ldr	x23, [x23, _current_function_decl@GOTPAGEOFF]
	ldr	x0, [x23]
	ldr	x20, [x19]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_function_category
	mov	x21, x0
	ldr	x0, [x23]
	mov	w1, #2
	bl	_cxx_printable_name
	mov	x3, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_pp_printf
	b	LBB0_7
LBB0_6:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_pp_base_string
LBB0_7:
	ldr	x0, [x19]
	bl	_pp_base_newline
	mov	x0, x19
	bl	_diagnostic_set_last_function
	ldr	x0, [x19]
	bl	_pp_base_destroy_prefix
	ldr	x8, [x19]
	str	x22, [x8]
LBB0_8:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_current_function_decl,8,3      ; @current_function_decl
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"At global scope:"

l_.str.1:                               ; @.str.1
	.asciz	"In %s %qs:"

	.no_dead_strip	_cp_print_error_function
.subsections_via_symbols
