	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function file_compress
_file_compress:                         ## @file_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%eax, %eax
	callq	_open
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.1:
	movl	%eax, %r13d
	leaq	-64(%rbp), %rsi
	movl	%eax, %edi
	callq	_fstat
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_maybe_warn
LBB0_3:
	movl	%r13d, %edi
	callq	_close
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_7
LBB0_5:
	leaq	-64(%rbp), %rsi
	movl	%r13d, %edi
	callq	_fstat
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movl	%r13d, %edi
	callq	_close
	leaq	L_.str.2(%rip), %rdi
LBB0_7:
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_maybe_warn
LBB0_8:
	movl	$-1, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	-64(%rbp), %esi
	movq	%r15, %rdi
	callq	_infile_set
	movq	_cflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
LBB0_11:
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_12:
	movq	%r15, %rdi
	callq	_basename
	movl	-56(%rbp), %r8d
	leaq	-44(%rbp), %rdx
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	%eax, %ecx
	callq	_gz_compress
	movl	%eax, %ebx
	movl	%r13d, %edi
	callq	_close
	movq	_cflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.13:
	cmpl	$-1, %ebx
	je	LBB0_9
	jmp	LBB0_37
LBB0_14:
	movl	-60(%rbp), %edx
	movq	_fflag@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$2, %edx
	jl	LBB0_19
## %bb.15:
	testq	%rax, %rax
	jne	LBB0_19
## %bb.16:
	decq	%rdx
	leaq	L_.str.3(%rip), %rdi
	leaq	L_.str.5(%rip), %rcx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_maybe_warnx
	jmp	LBB0_3
LBB0_17:
	leaq	-80(%rbp), %rsi
	movl	%r12d, %edi
	callq	_fstat
	testq	%rax, %rax
	je	LBB0_26
## %bb.18:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_maybe_warn
	jmp	LBB0_34
LBB0_19:
	testq	%rax, %rax
	je	LBB0_30
LBB0_20:
	movq	_suffixes@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	8(%rax), %r8d
	leaq	L_.str.7(%rip), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rcx
	callq	_snprintf
	cmpq	%r12, %rax
	jb	LBB0_22
## %bb.21:
	addq	%r14, %r12
	movq	(%rbx), %rax
	movq	(%rax), %rdx
	movq	%rdx, %rdi
	notq	%rdi
	addq	%r12, %rdi
	movl	8(%rax), %esi
	incq	%rdx
	callq	_memcpy
LBB0_22:
	movq	%r14, %rdi
	callq	_check_outfile
	testq	%rax, %rax
	je	LBB0_3
## %bb.23:
	movq	_cflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_11
## %bb.24:
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movq	_O_CREAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_O_EXCL@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%r14, %rdi
	movl	$384, %edx                      ## imm = 0x180
	xorl	%eax, %eax
	callq	_open
	cmpl	$-1, %eax
	je	LBB0_38
## %bb.25:
	movl	%eax, %r12d
	movq	_remove_file@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
	jmp	LBB0_12
LBB0_26:
	movslq	-80(%rbp), %rdx
	movslq	-44(%rbp), %rcx
	cmpl	%ecx, %edx
	jne	LBB0_33
## %bb.27:
	leaq	-64(%rbp), %rsi
	movl	%r12d, %edi
	movq	%r14, %rdx
	callq	_copymodes
	movq	_remove_file@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movl	%r12d, %edi
	callq	_close
	cmpl	$-1, %eax
	jne	LBB0_29
## %bb.28:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_maybe_warn
LBB0_29:
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	callq	_unlink_input
	jmp	LBB0_37
LBB0_30:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_check_suffix
	testq	%rax, %rax
	je	LBB0_20
## %bb.31:
	movq	(%rax), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_20
## %bb.32:
	leaq	L_.str.6(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_maybe_warnx
	jmp	LBB0_3
LBB0_33:
	leaq	L_.str.9(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_maybe_warnx
LBB0_34:
	movl	%r12d, %edi
	callq	_close
	cmpl	$-1, %eax
	jne	LBB0_36
## %bb.35:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_maybe_warn
LBB0_36:
	leaq	L_.str.11(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_maybe_warnx
	movq	%r14, %rdi
	callq	_unlink
LBB0_37:
	movl	-44(%rbp), %ebx
	jmp	LBB0_9
LBB0_38:
	leaq	L_.str.8(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_maybe_warn
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fclose
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't open %s"

L_.str.1:                               ## @.str.1
	.asciz	"couldn't stat: %s"

L_.str.2:                               ## @.str.2
	.asciz	"can't stat %s"

	.comm	_cflag,8,3                      ## @cflag
	.comm	_fflag,8,3                      ## @fflag
L_.str.3:                               ## @.str.3
	.asciz	"%s has %ju other link%s -- skipping"

L_.str.5:                               ## @.str.5
	.asciz	"s"

L_.str.6:                               ## @.str.6
	.asciz	"%s already has %s suffix -- unchanged"

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

	.comm	_suffixes,8,3                   ## @suffixes
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_EXCL,4,2                     ## @O_EXCL
L_.str.8:                               ## @.str.8
	.asciz	"could not create output: %s"

	.comm	_stdin,4,2                      ## @stdin
	.comm	_remove_file,8,3                ## @remove_file
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
L_.str.9:                               ## @.str.9
	.asciz	"output file: %s wrong size (%ju != %ju), deleting"

L_.str.10:                              ## @.str.10
	.asciz	"couldn't close output"

L_.str.11:                              ## @.str.11
	.asciz	"leaving original %s"

	.no_dead_strip	_file_compress
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function file_compress
_file_compress:                         ; @file_compress
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.1:
	mov	x21, x0
	add	x1, sp, #40
	bl	_fstat
	cbz	x0, LBB0_5
; %bb.2:
	str	x19, [sp]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_maybe_warn
LBB0_3:
	mov	x0, x21
	bl	_close
	b	LBB0_8
LBB0_4:
	str	x19, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_7
LBB0_5:
	add	x1, sp, #40
	mov	x0, x21
	bl	_fstat
	cbz	x0, LBB0_10
; %bb.6:
	mov	x0, x21
	bl	_close
	str	x19, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_7:
	bl	_maybe_warn
LBB0_8:
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_10:
	ldr	w1, [sp, #40]
	mov	x0, x19
	bl	_infile_set
Lloh9:
	adrp	x24, _cflag@GOTPAGE
Lloh10:
	ldr	x24, [x24, _cflag@GOTPAGEOFF]
	ldr	x8, [x24]
	cbz	x8, LBB0_14
LBB0_11:
Lloh11:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh13:
	ldr	w22, [x8]
LBB0_12:
	mov	x0, x19
	bl	_basename
	mov	x3, x0
	ldr	w4, [sp, #48]
	sub	x2, x29, #52
	mov	x0, x21
	mov	x1, x22
	bl	_gz_compress
	mov	x23, x0
	mov	x0, x21
	bl	_close
	ldr	x8, [x24]
	cbz	x8, LBB0_18
; %bb.13:
	ldur	w8, [x29, #-52]
	cmn	w23, #1
	csinv	w0, w8, wzr, ne
	b	LBB0_9
LBB0_14:
	ldr	w8, [sp, #44]
Lloh14:
	adrp	x9, _fflag@GOTPAGE
Lloh15:
	ldr	x9, [x9, _fflag@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	w8, #2
	b.lt	LBB0_20
; %bb.15:
	cbnz	x9, LBB0_20
; %bb.16:
	sub	x8, x8, #1
Lloh17:
	adrp	x9, l_.str.5@PAGE
Lloh18:
	add	x9, x9, l_.str.5@PAGEOFF
	stp	x8, x9, [sp]
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_17:
	mov	x1, x19
	bl	_maybe_warnx
	b	LBB0_3
LBB0_18:
	add	x1, sp, #24
	mov	x0, x22
	bl	_fstat
	cbz	x0, LBB0_27
; %bb.19:
	str	x20, [sp]
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_maybe_warn
	b	LBB0_35
LBB0_20:
	cbz	x9, LBB0_31
LBB0_21:
Lloh23:
	adrp	x23, _suffixes@GOTPAGE
Lloh24:
	ldr	x23, [x23, _suffixes@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	w4, [x8, #8]
Lloh25:
	adrp	x2, l_.str.7@PAGE
Lloh26:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	mov	x3, x19
	bl	_snprintf
	cmp	x0, x22
	b.lo	LBB0_23
; %bb.22:
	ldr	x8, [x23]
	ldr	x9, [x8]
	mvn	x10, x9
	add	x11, x20, x22
	add	x0, x10, x11
	ldr	w1, [x8, #8]
	add	x2, x9, #1
	bl	_memcpy
LBB0_23:
	mov	x0, x20
	bl	_check_outfile
	cbz	x0, LBB0_3
; %bb.24:
	ldr	x8, [x24]
	cbnz	x8, LBB0_11
; %bb.25:
Lloh27:
	adrp	x8, _O_WRONLY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh33:
	adrp	x9, _O_EXCL@GOTPAGE
Lloh34:
	ldr	x9, [x9, _O_EXCL@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	w8, #384
	str	x8, [sp]
	mov	x0, x20
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_39
; %bb.26:
	mov	x22, x0
Lloh36:
	adrp	x8, _remove_file@GOTPAGE
Lloh37:
	ldr	x8, [x8, _remove_file@GOTPAGEOFF]
Lloh38:
	str	x20, [x8]
	b	LBB0_12
LBB0_27:
	ldrsw	x8, [sp, #24]
	ldursw	x9, [x29, #-52]
	cmp	w8, w9
	b.ne	LBB0_34
; %bb.28:
	add	x1, sp, #40
	mov	x0, x22
	mov	x2, x20
	bl	_copymodes
Lloh39:
	adrp	x8, _remove_file@GOTPAGE
Lloh40:
	ldr	x8, [x8, _remove_file@GOTPAGEOFF]
Lloh41:
	str	xzr, [x8]
	mov	x0, x22
	bl	_close
	cmn	w0, #1
	b.ne	LBB0_30
; %bb.29:
Lloh42:
	adrp	x0, l_.str.10@PAGE
Lloh43:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_maybe_warn
LBB0_30:
	add	x1, sp, #40
	mov	x0, x19
	bl	_unlink_input
	b	LBB0_38
LBB0_31:
	mov	x0, x19
	mov	w1, #0
	bl	_check_suffix
	cbz	x0, LBB0_21
; %bb.32:
	ldr	x8, [x0]
	ldr	x9, [x8]
	cbz	x9, LBB0_21
; %bb.33:
	str	x8, [sp]
Lloh44:
	adrp	x0, l_.str.6@PAGE
Lloh45:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_17
LBB0_34:
	stp	x8, x9, [sp]
Lloh46:
	adrp	x0, l_.str.9@PAGE
Lloh47:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x1, x20
	bl	_maybe_warnx
LBB0_35:
	mov	x0, x22
	bl	_close
	cmn	w0, #1
	b.ne	LBB0_37
; %bb.36:
Lloh48:
	adrp	x0, l_.str.10@PAGE
Lloh49:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_maybe_warn
LBB0_37:
Lloh50:
	adrp	x0, l_.str.11@PAGE
Lloh51:
	add	x0, x0, l_.str.11@PAGEOFF
	mov	x1, x19
	bl	_maybe_warnx
	mov	x0, x20
	bl	_unlink
LBB0_38:
	ldur	w0, [x29, #-52]
	b	LBB0_9
LBB0_39:
	str	x20, [sp]
Lloh52:
	adrp	x0, l_.str.8@PAGE
Lloh53:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_maybe_warn
Lloh54:
	adrp	x8, _stdin@GOTPAGE
Lloh55:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
	bl	_fclose
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotStr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't open %s"

l_.str.1:                               ; @.str.1
	.asciz	"couldn't stat: %s"

l_.str.2:                               ; @.str.2
	.asciz	"can't stat %s"

	.comm	_cflag,8,3                      ; @cflag
	.comm	_fflag,8,3                      ; @fflag
l_.str.3:                               ; @.str.3
	.asciz	"%s has %ju other link%s -- skipping"

l_.str.5:                               ; @.str.5
	.asciz	"s"

l_.str.6:                               ; @.str.6
	.asciz	"%s already has %s suffix -- unchanged"

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

	.comm	_suffixes,8,3                   ; @suffixes
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_EXCL,4,2                     ; @O_EXCL
l_.str.8:                               ; @.str.8
	.asciz	"could not create output: %s"

	.comm	_stdin,4,2                      ; @stdin
	.comm	_remove_file,8,3                ; @remove_file
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
l_.str.9:                               ; @.str.9
	.asciz	"output file: %s wrong size (%ju != %ju), deleting"

l_.str.10:                              ; @.str.10
	.asciz	"couldn't close output"

l_.str.11:                              ; @.str.11
	.asciz	"leaving original %s"

	.no_dead_strip	_file_compress
.subsections_via_symbols
