	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lhd_print_error_function       ## -- Begin function lhd_print_error_function
	.p2align	4, 0x90
_lhd_print_error_function:              ## @lhd_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, %rbx
	movq	%rdi, %r12
	callq	_diagnostic_last_function_changed
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	(%r12), %rdi
	movq	(%rdi), %r15
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	callq	_file_name_as_prefix
	movq	%rax, %r14
	movq	(%r12), %rdi
	jmp	LBB0_4
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%r14d, %r14d
LBB0_4:
	movq	%r14, %rsi
	callq	_pp_set_prefix
	movq	_current_function_decl@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.6:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_TREE_CODE
	movq	_METHOD_TYPE@GOTPCREL(%rip), %rcx
	movq	(%r12), %r15
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_9
LBB0_5:
	movq	(%r12), %rbx
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pp_printf
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
LBB0_9:
	callq	__
	movl	%eax, %ebx
	movq	_lang_hooks@GOTPCREL(%rip), %rax
	movq	(%r13), %rdi
	movl	$2, %esi
	callq	*(%rax)
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pp_printf
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_10:
	movq	%r12, %rdi
	callq	_diagnostic_set_last_function
	movq	(%r12), %rdi
	callq	_pp_flush
	movq	(%r12), %rax
	movq	%r15, (%rax)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_current_function_decl,8,3      ## @current_function_decl
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"At top level:"

	.comm	_METHOD_TYPE,8,3                ## @METHOD_TYPE
L_.str.1:                               ## @.str.1
	.asciz	"In member function %qs:"

	.comm	_lang_hooks,8,3                 ## @lang_hooks
L_.str.2:                               ## @.str.2
	.asciz	"In function %qs:"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lhd_print_error_function       ; -- Begin function lhd_print_error_function
	.p2align	2
_lhd_print_error_function:              ; @lhd_print_error_function
	.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
	bl	_diagnostic_last_function_changed
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x0, [x19]
	ldr	x23, [x0]
	cbz	x20, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_file_name_as_prefix
	mov	x20, x0
	ldr	x0, [x19]
LBB0_3:
	mov	x1, x20
	bl	_pp_set_prefix
Lloh0:
	adrp	x24, _current_function_decl@GOTPAGE
Lloh1:
	ldr	x24, [x24, _current_function_decl@GOTPAGEOFF]
	ldr	x0, [x24]
	cbz	x0, LBB0_7
; %bb.4:
	bl	_TREE_TYPE
	bl	_TREE_CODE
Lloh2:
	adrp	x8, _METHOD_TYPE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _METHOD_TYPE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x21, [x19]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.5:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_6:
	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_7:
	ldr	x21, [x19]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x21
	b	LBB0_10
LBB0_8:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_9:
	bl	__
	mov	x22, x0
Lloh11:
	adrp	x8, _lang_hooks@GOTPAGE
Lloh12:
	ldr	x8, [x8, _lang_hooks@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x0, [x24]
	mov	w1, #2
	blr	x8
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x21
	mov	x1, x22
LBB0_10:
	bl	_pp_printf
	mov	x0, x19
	bl	_diagnostic_set_last_function
	ldr	x0, [x19]
	bl	_pp_flush
	ldr	x8, [x19]
	str	x23, [x8]
	mov	x0, x20
	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	_free
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_current_function_decl,8,3      ; @current_function_decl
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"At top level:"

	.comm	_METHOD_TYPE,8,3                ; @METHOD_TYPE
l_.str.1:                               ; @.str.1
	.asciz	"In member function %qs:"

	.comm	_lang_hooks,8,3                 ; @lang_hooks
l_.str.2:                               ; @.str.2
	.asciz	"In function %qs:"

.subsections_via_symbols
