	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CompressFiles
_CompressFiles:                         ## @CompressFiles
	.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	%rdi, %r15
	movq	_BROTLI_PARAM_LGWIN@GOTPCREL(%rip), %r14
	movq	_BROTLI_FALSE@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_CompressFile
	movq	%rax, %rbx
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_BrotliEncoderDestroyInstance
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_CloseFiles
	testl	%eax, %eax
	movq	(%r13), %rax
	cmoveq	%rax, %rbx
	testq	%rbx, %rbx
	je	LBB0_14
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_NextFile
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_BrotliEncoderCreateInstance
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r12
	movq	_BROTLI_PARAM_QUALITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r15), %edx
	movq	%r12, %rdi
	callq	_BrotliEncoderSetParameter
	movl	(%r14), %esi
	movl	8(%r15), %edx
	movq	%r12, %rdi
	callq	_BrotliEncoderSetParameter
	movq	%r15, %rdi
	callq	_OpenFiles
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, 4(%r15)
	jne	LBB0_1
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%r15)
	jne	LBB0_1
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_isatty
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	cmpq	$0, (%r13)
	jne	LBB0_1
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_2
LBB0_12:
	movq	_BROTLI_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movq	(%r13), %rax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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	"out of memory\n"

	.comm	_BROTLI_FALSE,8,3               ## @BROTLI_FALSE
	.comm	_BROTLI_PARAM_QUALITY,4,2       ## @BROTLI_PARAM_QUALITY
	.comm	_BROTLI_PARAM_LGWIN,4,2         ## @BROTLI_PARAM_LGWIN
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
L_.str.1:                               ## @.str.1
	.asciz	"Use -h help. Use -f to force output to a terminal.\n"

	.no_dead_strip	_CompressFiles
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CompressFiles
_CompressFiles:                         ; @CompressFiles
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x24, _BROTLI_PARAM_QUALITY@GOTPAGE
Lloh1:
	ldr	x24, [x24, _BROTLI_PARAM_QUALITY@GOTPAGEOFF]
Lloh2:
	adrp	x25, _BROTLI_PARAM_LGWIN@GOTPAGE
Lloh3:
	ldr	x25, [x25, _BROTLI_PARAM_LGWIN@GOTPAGEOFF]
Lloh4:
	adrp	x23, _BROTLI_FALSE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _BROTLI_FALSE@GOTPAGEOFF]
Lloh6:
	adrp	x26, _STDOUT_FILENO@GOTPAGE
Lloh7:
	ldr	x26, [x26, _STDOUT_FILENO@GOTPAGEOFF]
Lloh8:
	adrp	x20, l_.str.1@PAGE
Lloh9:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh10:
	adrp	x27, _stderr@GOTPAGE
Lloh11:
	ldr	x27, [x27, _stderr@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_CompressFile
	mov	x22, x0
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_BrotliEncoderDestroyInstance
	mov	x0, x19
	mov	x1, x22
	bl	_CloseFiles
	mov	x8, x0
	ldr	x0, [x23]
	cmp	w8, #0
	csel	x8, x0, x22, eq
	cbz	x8, LBB0_13
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_NextFile
	cbz	x0, LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, #0
	mov	x1, #0
	mov	x2, #0
	bl	_BrotliEncoderCreateInstance
	cbz	x0, LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x0
	ldr	w1, [x24]
	ldr	w2, [x19, #16]
	bl	_BrotliEncoderSetParameter
	ldr	w1, [x25]
	ldr	w2, [x19, #8]
	mov	x0, x21
	bl	_BrotliEncoderSetParameter
	mov	x0, x19
	bl	_OpenFiles
	cbz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	cbnz	w8, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x26]
	bl	_isatty
	cbz	x0, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x27]
	mov	x1, x20
	bl	_fprintf
	ldr	x8, [x23]
	cbnz	x8, LBB0_1
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, #0
	b	LBB0_2
LBB0_11:
Lloh12:
	adrp	x8, _BROTLI_TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BROTLI_TRUE@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
	b	LBB0_13
LBB0_12:
	ldr	w0, [x27]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	x0, [x23]
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.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	"out of memory\n"

	.comm	_BROTLI_FALSE,8,3               ; @BROTLI_FALSE
	.comm	_BROTLI_PARAM_QUALITY,4,2       ; @BROTLI_PARAM_QUALITY
	.comm	_BROTLI_PARAM_LGWIN,4,2         ; @BROTLI_PARAM_LGWIN
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
l_.str.1:                               ; @.str.1
	.asciz	"Use -h help. Use -f to force output to a terminal.\n"

	.no_dead_strip	_CompressFiles
.subsections_via_symbols
