	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function compress
LCPI0_0:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_compress:                              ## @compress
	.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
	movl	$4136, %eax                     ## imm = 0x1028
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-4160(%rbp), %rsi
	movq	%r14, %rdi
	callq	_stat
	movq	%rax, %rbx
	movq	_force@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_4
## %bb.1:
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.2:
	movl	-4156(%rbp), %edi
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_permission
	testl	%eax, %eax
	je	LBB0_30
LBB0_4:
	movb	$1, %al
	testq	%rbx, %rbx
	jne	LBB0_6
## %bb.5:
	movl	-4156(%rbp), %edi
	callq	_S_ISREG
	testq	%rax, %rax
	setne	%al
LBB0_6:
	movb	%al, -4145(%rbp)                ## 1-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r13
	leaq	-4168(%rbp), %rsi
	movq	%r15, %rdi
	callq	_stat
	testq	%rax, %rax
	je	LBB0_9
LBB0_11:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_cwarn
LBB0_25:
	movq	%r13, %rdi
	callq	_fclose
	jmp	LBB0_30
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
LBB0_29:
	callq	_cwarn
LBB0_30:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_31
## %bb.44:
	addq	$4136, %rsp                     ## imm = 0x1028
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	-4164(%rbp), %edi
	callq	_S_ISREG
	testq	%rax, %rax
	setne	%bl
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_zopen
	testq	%rax, %rax
	je	LBB0_10
## %bb.12:
	movq	%rax, %r12
	movq	%r14, -4176(%rbp)               ## 8-byte Spill
	andb	-4145(%rbp), %bl                ## 1-byte Folded Reload
	movb	%bl, -4146(%rbp)                ## 1-byte Spill
	leaq	-4144(%rbp), %rbx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$4096, %edx                     ## imm = 0x1000
	movq	%r13, %rcx
	callq	_fread
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	$1, %esi
	movq	%rax, %rdx
	movq	%r12, %rcx
	callq	_fwrite
	cmpq	%r14, %rax
	je	LBB0_13
## %bb.15:
	movq	-4176(%rbp), %rbx               ## 8-byte Reload
LBB0_21:
	movq	%rbx, %r15
	jmp	LBB0_22
LBB0_10:
	movq	%r14, %r15
	jmp	LBB0_11
LBB0_16:
	movq	%r13, %rdi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	-4176(%rbp), %rbx               ## 8-byte Reload
	jmp	LBB0_22
LBB0_18:
	movq	%r13, %rdi
	callq	_fclose
	testq	%rax, %rax
	movq	-4176(%rbp), %rbx               ## 8-byte Reload
	je	LBB0_19
LBB0_22:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_cwarn
	cmpb	$0, -4145(%rbp)                 ## 1-byte Folded Reload
	je	LBB0_24
## %bb.23:
	movq	%rbx, %rdi
	callq	_unlink
LBB0_24:
	movq	%r12, %rdi
	callq	_fclose
	testq	%r13, %r13
	jne	LBB0_25
	jmp	LBB0_30
LBB0_19:
	movq	%r12, %rdi
	callq	_fclose
	testq	%rax, %rax
	je	LBB0_26
## %bb.20:
	xorl	%r13d, %r13d
	jmp	LBB0_21
LBB0_26:
	cmpb	$0, -4146(%rbp)                 ## 1-byte Folded Reload
	movq	_force@GOTPCREL(%rip), %r14
	je	LBB0_30
## %bb.27:
	leaq	-4160(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_stat
	testq	%rax, %rax
	je	LBB0_32
LBB0_28:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	jmp	LBB0_29
LBB0_32:
	cmpl	$0, (%r14)
	jne	LBB0_37
## %bb.33:
	movss	-4160(%rbp), %xmm0              ## xmm0 = mem[0],zero,zero,zero
	ucomiss	-4168(%rbp), %xmm0
	jae	LBB0_34
LBB0_37:
	leaq	-4168(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_setfile
	movq	%r15, %rdi
	callq	_unlink
	testq	%rax, %rax
	je	LBB0_39
## %bb.38:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_cwarn
LBB0_39:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_30
## %bb.40:
	movq	_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movss	-4168(%rbp), %xmm0              ## xmm0 = mem[0],zero,zero,zero
	movss	-4160(%rbp), %xmm1              ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	movl	(%r14), %edi
	jbe	LBB0_43
## %bb.41:
	divss	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtss2sd	%xmm1, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_42
LBB0_43:
	divss	%xmm1, %xmm0
	cvtss2sd	%xmm0, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	leaq	L_.str.6(%rip), %rsi
LBB0_42:
	movb	$1, %al
	callq	_fprintf
	jmp	LBB0_30
LBB0_34:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_36
## %bb.35:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_36:
	movq	_eval@GOTPCREL(%rip), %rax
	movl	$2, (%rax)
	movq	%rbx, %rdi
	callq	_unlink
	testq	%rax, %rax
	jne	LBB0_28
	jmp	LBB0_30
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_force,4,2                      ## @force
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

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

L_.str.2:                               ## @.str.2
	.asciz	"w"

	.comm	_verbose,8,3                    ## @verbose
	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"%s: file would grow; left unmodified\n"

	.comm	_eval,4,2                       ## @eval
L_.str.4:                               ## @.str.4
	.asciz	"%s: "

L_.str.5:                               ## @.str.5
	.asciz	"%.0f%% compression\n"

L_.str.6:                               ## @.str.6
	.asciz	"%.0f%% expansion\n"

	.no_dead_strip	_compress
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compress
_compress:                              ; @compress
	.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	w9, #4128
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #32
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	add	x1, sp, #8
	mov	x0, x19
	bl	_stat
	mov	x21, x0
Lloh5:
	adrp	x24, _force@GOTPAGE
Lloh6:
	ldr	x24, [x24, _force@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #0
	ccmp	x0, #0, #0, eq
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_S_ISREG
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_permission
	cbz	w0, LBB0_12
LBB0_3:
	cbz	x21, LBB0_5
; %bb.4:
	mov	w25, #1
	b	LBB0_6
LBB0_5:
	ldr	w0, [sp, #12]
	bl	_S_ISREG
	cmp	x0, #0
	cset	w25, ne
LBB0_6:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_fopen
	cbz	x0, LBB0_10
; %bb.7:
	mov	x21, x0
	add	x1, sp, #16
	mov	x0, x20
	bl	_stat
	cbz	x0, LBB0_14
LBB0_8:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_cwarn
LBB0_9:
	mov	x0, x21
	bl	_fclose
	b	LBB0_12
LBB0_10:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
LBB0_11:
	bl	_cwarn
LBB0_12:
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_42
; %bb.13:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #32
	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
LBB0_14:
	ldr	w0, [sp, #20]
	bl	_S_ISREG
	cmp	x0, #0
	cset	w23, ne
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_zopen
	cbz	x0, LBB0_19
; %bb.15:
	mov	x22, x0
	and	w26, w23, w25
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #24
	mov	w1, #1
	mov	w2, #4096
	mov	x3, x21
	bl	_fread
	cbz	x0, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x23, x0
	add	x0, sp, #24
	mov	w1, #1
	mov	x2, x23
	mov	x3, x22
	bl	_fwrite
	cmp	x0, x23
	b.eq	LBB0_16
LBB0_18:
	mov	x20, x19
	b	LBB0_22
LBB0_19:
	mov	x20, x19
	b	LBB0_8
LBB0_20:
	mov	x0, x21
	bl	_ferror
	cbnz	x0, LBB0_22
; %bb.21:
	mov	x0, x21
	bl	_fclose
	cbz	x0, LBB0_25
LBB0_22:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_cwarn
	cbz	w25, LBB0_24
; %bb.23:
	mov	x0, x19
	bl	_unlink
LBB0_24:
	mov	x0, x22
	bl	_fclose
	cbnz	x21, LBB0_9
	b	LBB0_12
LBB0_25:
	mov	x0, x22
	bl	_fclose
	cbz	x0, LBB0_27
; %bb.26:
	mov	x21, #0
	b	LBB0_18
LBB0_27:
	cbz	w26, LBB0_12
; %bb.28:
	add	x1, sp, #8
	mov	x0, x19
	bl	_stat
	cbz	x0, LBB0_30
LBB0_29:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	b	LBB0_11
LBB0_30:
	ldr	w8, [x24]
	cbnz	w8, LBB0_32
; %bb.31:
	ldr	s0, [sp, #8]
	ldr	s1, [sp, #16]
	fcmp	s0, s1
	b.ge	LBB0_39
LBB0_32:
	add	x1, sp, #16
	mov	x0, x19
	bl	_setfile
	mov	x0, x20
	bl	_unlink
	cbz	x0, LBB0_34
; %bb.33:
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_cwarn
LBB0_34:
Lloh24:
	adrp	x8, _verbose@GOTPAGE
Lloh25:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.35:
Lloh27:
	adrp	x20, _stderr@GOTPAGE
Lloh28:
	ldr	x20, [x20, _stderr@GOTPAGEOFF]
	ldr	w0, [x20]
	str	x19, [sp]
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	ldr	s0, [sp, #16]
	ldr	s1, [sp, #8]
	ldr	w0, [x20]
	fcmp	s0, s1
	b.le	LBB0_37
; %bb.36:
	fdiv	s0, s1, s0
	fcvt	d0, s0
	mov	x8, #4636737291354636288
	fmov	d1, x8
	fmul	d0, d0, d1
	str	d0, [sp]
Lloh31:
	adrp	x1, l_.str.5@PAGE
Lloh32:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_38
LBB0_37:
	fdiv	s0, s0, s1
	fcvt	d0, s0
	mov	x8, #4636737291354636288
	fmov	d1, x8
	fmul	d0, d0, d1
	str	d0, [sp]
Lloh33:
	adrp	x1, l_.str.6@PAGE
Lloh34:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_38:
	bl	_fprintf
	b	LBB0_12
LBB0_39:
Lloh35:
	adrp	x8, _verbose@GOTPAGE
Lloh36:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	cbz	x8, LBB0_41
; %bb.40:
Lloh38:
	adrp	x8, _stderr@GOTPAGE
Lloh39:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh41:
	adrp	x1, l_.str.3@PAGE
Lloh42:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
LBB0_41:
Lloh43:
	adrp	x8, _eval@GOTPAGE
Lloh44:
	ldr	x8, [x8, _eval@GOTPAGEOFF]
	mov	w9, #2
Lloh45:
	str	w9, [x8]
	mov	x0, x19
	bl	_unlink
	cbnz	x0, LBB0_29
	b	LBB0_12
LBB0_42:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotStr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_force,4,2                      ; @force
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

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

l_.str.2:                               ; @.str.2
	.asciz	"w"

	.comm	_verbose,8,3                    ; @verbose
	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"%s: file would grow; left unmodified\n"

	.comm	_eval,4,2                       ; @eval
l_.str.4:                               ; @.str.4
	.asciz	"%s: "

l_.str.5:                               ; @.str.5
	.asciz	"%.0f%% compression\n"

l_.str.6:                               ; @.str.6
	.asciz	"%.0f%% expansion\n"

	.no_dead_strip	_compress
.subsections_via_symbols
