	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function file_error_core
_file_error_core:                       ## @file_error_core
	.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
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	jne	LBB0_7
## %bb.2:
	movq	%r8, %r13
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movl	%esi, %r14d
	testq	%r8, %r8
	je	LBB0_4
## %bb.3:
	movq	16(%rbx), %rdi
	callq	_free
	movq	$0, 16(%rbx)
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_file_printf
LBB0_4:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_file_vprintf
	testl	%r14d, %r14d
	jle	LBB0_6
## %bb.5:
	movl	%r14d, %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_file_printf
LBB0_6:
	incq	8(%rbx)
	movl	%r14d, (%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"line %u: "

L_.str.1:                               ## @.str.1
	.asciz	" (%s)"

	.no_dead_strip	_file_error_core
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function file_error_core
_file_error_core:                       ; @file_error_core
	.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
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_7
; %bb.2:
	mov	x23, x4
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	cbz	x4, LBB0_4
; %bb.3:
	ldr	x0, [x20, #16]
	bl	_free
	str	xzr, [x20, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_file_printf
LBB0_4:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_file_vprintf
	cmp	w19, #1
	b.lt	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_strerror
	mov	x2, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_file_printf
LBB0_6:
	ldr	x8, [x20, #8]
	add	x8, x8, #1
	str	x8, [x20, #8]
	str	w19, [x20]
LBB0_7:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"line %u: "

l_.str.1:                               ; @.str.1
	.asciz	" (%s)"

	.no_dead_strip	_file_error_core
.subsections_via_symbols
