	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function file_end
_file_end:                              ## @file_end
	.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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	cmpq	$0, 48(%rdi)
	je	LBB0_2
## %bb.1:
	leaq	48(%rbx), %rdi
	callq	_IDAT_end
LBB0_2:
	cmpq	$0, 40(%rbx)
	je	LBB0_4
## %bb.3:
	leaq	40(%rbx), %rdi
	callq	_chunk_end
LBB0_4:
	movl	(%rbx), %r14d
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_fclose
LBB0_6:
	movq	24(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_9
## %bb.7:
	movq	%r15, %rdi
	callq	_ferror
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_fflush
	movl	%eax, %r15d
	orl	%r12d, %r15d
	movq	24(%rbx), %rdi
	callq	_fclose
	orl	%r15d, %eax
	je	LBB0_9
## %bb.8:
	movl	16(%rbx), %edi
	callq	_perror
	movq	_READ_ERROR_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_emit_error
	movq	_WRITE_ERROR@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
LBB0_9:
	movq	8(%rbx), %rax
	orl	%r14d, (%rax)
	movq	48(%rbx), %rax
	movq	%rax, 48(%rsp)
	movups	(%rbx), %xmm0
	movups	16(%rbx), %xmm1
	movups	32(%rbx), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_CLEAR
	movl	%r14d, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_READ_ERROR_CODE,4,2            ## @READ_ERROR_CODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"output write error"

	.comm	_WRITE_ERROR,4,2                ## @WRITE_ERROR
	.no_dead_strip	_file_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function file_end
_file_end:                              ; @file_end
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	x8, [x0, #48]!
	cbz	x8, LBB0_2
; %bb.1:
	bl	_IDAT_end
LBB0_2:
	mov	x0, x19
	ldr	x8, [x0, #40]!
	cbz	x8, LBB0_4
; %bb.3:
	bl	_chunk_end
LBB0_4:
	ldr	w20, [x19]
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_fclose
LBB0_6:
	ldr	x21, [x19, #24]
	cbz	x21, LBB0_9
; %bb.7:
	mov	x0, x21
	bl	_ferror
	mov	x22, x0
	mov	x0, x21
	bl	_fflush
	orr	w21, w0, w22
	ldr	x0, [x19, #24]
	bl	_fclose
	orr	w8, w21, w0
	cbz	w8, LBB0_9
; %bb.8:
	ldr	w0, [x19, #16]
	bl	_perror
Lloh0:
	adrp	x8, _READ_ERROR_CODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _READ_ERROR_CODE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_emit_error
Lloh5:
	adrp	x8, _WRITE_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WRITE_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w20, w8, w20
LBB0_9:
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	orr	w9, w9, w20
	str	w9, [x8]
	ldp	q0, q1, [x19]
	stp	q0, q1, [sp]
	ldr	q0, [x19, #32]
	str	q0, [sp, #32]
	ldr	x8, [x19, #48]
	str	x8, [sp, #48]
	mov	x0, sp
	bl	_CLEAR
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_READ_ERROR_CODE,4,2            ; @READ_ERROR_CODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"output write error"

	.comm	_WRITE_ERROR,4,2                ; @WRITE_ERROR
	.no_dead_strip	_file_end
.subsections_via_symbols
