	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CloseFiles
_CloseFiles:                            ## @CloseFiles
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_BROTLI_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	cmpl	$0, 48(%rdi)
	je	LBB0_1
LBB0_13:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.14:
	callq	_fclose
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:
	testq	%r15, %r15
	je	LBB0_17
## %bb.16:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	16(%rbx), %rdi
	callq	_PrintablePath
	movq	%rax, %r12
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movq	%r12, %rdx
	movq	%rax, %rcx
	callq	_fprintf
LBB0_17:
	movq	_BROTLI_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_18:
	testq	%r14, %r14
	je	LBB0_22
## %bb.19:
	cmpq	$0, 24(%rbx)
	je	LBB0_22
## %bb.20:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.21:
	callq	_unlink
LBB0_22:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.2:
	testq	%r14, %r14
	je	LBB0_3
## %bb.6:
	callq	_fclose
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	32(%rbx), %rdi
	callq	_PrintablePath
	movq	%rax, %r12
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movq	%r12, %rdx
	movq	%rax, %rcx
	callq	_fprintf
	jmp	LBB0_8
LBB0_3:
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rdi
	callq	_unlink
	movq	(%rbx), %rdi
LBB0_5:
	callq	_fclose
	testq	%rax, %rax
	je	LBB0_13
LBB0_8:
	movq	_BROTLI_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_9:
	testq	%r14, %r14
	je	LBB0_13
## %bb.10:
	testq	%r15, %r15
	je	LBB0_13
## %bb.11:
	cmpq	$0, 40(%rbx)
	je	LBB0_13
## %bb.12:
	movq	16(%rbx), %rdi
	movq	32(%rbx), %rsi
	callq	_CopyStat
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_BROTLI_TRUE,8,3                ## @BROTLI_TRUE
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fclose failed [%s]: %s\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_BROTLI_FALSE,8,3               ## @BROTLI_FALSE
	.no_dead_strip	_CloseFiles
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CloseFiles
_CloseFiles:                            ; @CloseFiles
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _BROTLI_TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BROTLI_TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	ldr	w8, [x0, #48]
	cbz	w8, LBB0_11
LBB0_1:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_6
; %bb.2:
	bl	_fclose
	cbz	x0, LBB0_6
; %bb.3:
	cbz	x21, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	ldr	x0, [x19, #16]
	bl	_PrintablePath
	mov	x22, x0
Lloh6:
	adrp	x8, _errno@GOTPAGE
Lloh7:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_fprintf
LBB0_5:
Lloh11:
	adrp	x8, _BROTLI_FALSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BROTLI_FALSE@GOTPAGEOFF]
Lloh13:
	ldr	x21, [x8]
LBB0_6:
	cbz	x20, LBB0_10
; %bb.7:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_10
; %bb.8:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_unlink
LBB0_10:
	stp	xzr, xzr, [x19]
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	x0, [x19]
	cbz	x0, LBB0_1
; %bb.12:
	cbz	x20, LBB0_15
; %bb.13:
	bl	_fclose
	cbz	x0, LBB0_19
; %bb.14:
Lloh14:
	adrp	x8, _stderr@GOTPAGE
Lloh15:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
	ldr	x0, [x19, #32]
	bl	_PrintablePath
	mov	x22, x0
Lloh17:
	adrp	x8, _errno@GOTPAGE
Lloh18:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_fprintf
	b	LBB0_18
LBB0_15:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_17
; %bb.16:
	mov	x0, x8
	bl	_unlink
	ldr	x0, [x19]
LBB0_17:
	bl	_fclose
	cbz	x0, LBB0_1
LBB0_18:
Lloh22:
	adrp	x8, _BROTLI_FALSE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _BROTLI_FALSE@GOTPAGEOFF]
Lloh24:
	ldr	x21, [x8]
LBB0_19:
	cbz	x20, LBB0_1
; %bb.20:
	cbz	x21, LBB0_1
; %bb.21:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_1
; %bb.22:
	ldr	x0, [x19, #16]
	ldr	x1, [x19, #32]
	bl	_CopyStat
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_BROTLI_TRUE,8,3                ; @BROTLI_TRUE
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fclose failed [%s]: %s\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_BROTLI_FALSE,8,3               ; @BROTLI_FALSE
	.no_dead_strip	_CloseFiles
.subsections_via_symbols
