	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_file_uncompress                ## -- Begin function file_uncompress
	.p2align	4, 0x90
_file_uncompress:                       ## @file_uncompress
	.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, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r14, %rdi
	callq	_strlen
	movq	%rax, %rbx
	movq	_GZ_SUFFIX@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_strlen
	addq	%rbx, %rax
	cmpq	%r12, %rax
	jae	LBB0_12
## %bb.1:
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	movq	%r14, %rcx
	callq	_snprintf
	movq	_SUFFIX_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rbx
	jbe	LBB0_4
## %bb.2:
	leaq	(%r14,%rbx), %rdi
	subq	%rax, %rdi
	movq	(%r13), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
LBB0_4:
	movq	%r15, %rdi
	addq	%rbx, %rdi
	subl	%ebx, %r12d
	movq	(%r13), %rcx
	leaq	L_.str.1(%rip), %rdx
	movl	%r12d, %esi
	callq	_snprintf
	movq	%r14, %r12
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_gzopen
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	movq	%rax, %rbx
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_gz_uncompress
	movq	%r15, %rdi
	callq	_unlink
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.9:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movb	$0, -3(%rbx,%r15)
	movq	%r15, %r12
	movq	%r14, %r15
	jmp	LBB0_5
LBB0_7:
	movq	%r14, %rdi
	callq	_file_uncompress.cold.1
	jmp	LBB0_8
LBB0_12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_prog@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_prog@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function file_uncompress.cold.1
_file_uncompress.cold.1:                ## @file_uncompress.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_NAME_LEN,4,2               ## @MAX_NAME_LEN
	.comm	_GZ_SUFFIX,8,3                  ## @GZ_SUFFIX
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: filename too long\n"

	.comm	_prog,8,3                       ## @prog
L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.comm	_SUFFIX_LEN,8,3                 ## @SUFFIX_LEN
L_.str.2:                               ## @.str.2
	.asciz	"rb"

L_.str.3:                               ## @.str.3
	.asciz	"%s: can't gzopen %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"wb"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_file_uncompress                ; -- Begin function file_uncompress
	.p2align	2
_file_uncompress:                       ; @file_uncompress
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_NAME_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_NAME_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	bl	_strlen
	mov	x22, x0
Lloh8:
	adrp	x23, _GZ_SUFFIX@GOTPAGE
Lloh9:
	ldr	x23, [x23, _GZ_SUFFIX@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_strlen
	add	x8, x0, x22
	cmp	x8, x21
	b.hs	LBB0_9
; %bb.1:
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	bl	_snprintf
Lloh12:
	adrp	x8, _SUFFIX_LEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SUFFIX_LEN@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ls	LBB0_3
; %bb.2:
	add	x9, x20, x22
	sub	x0, x9, x8
	ldr	x1, [x23]
	bl	_strcmp
	cbz	x0, LBB0_8
LBB0_3:
	add	x0, x19, x22
	sub	w1, w21, w22
	ldr	x3, [x23]
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_snprintf
	mov	x21, x20
LBB0_4:
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_gzopen
	cbz	x0, LBB0_10
; %bb.5:
	mov	x22, x0
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_fopen
	cbz	x0, LBB0_11
; %bb.6:
	mov	x1, x0
	mov	x0, x22
	bl	_gz_uncompress
	mov	x0, x19
	bl	_unlink
	ldur	x8, [x29, #-56]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.7:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	add	x8, x22, x19
	sturb	wzr, [x8, #-3]
	mov	x21, x19
	mov	x19, x20
	b	LBB0_4
LBB0_9:
Lloh24:
	adrp	x8, _stderr@GOTPAGE
Lloh25:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x8, _prog@GOTPAGE
Lloh28:
	ldr	x8, [x8, _prog@GOTPAGEOFF]
Lloh29:
	ldr	x2, [x8]
Lloh30:
	adrp	x1, l_.str@PAGE
Lloh31:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_10:
Lloh32:
	adrp	x8, _stderr@GOTPAGE
Lloh33:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x8, _prog@GOTPAGE
Lloh36:
	ldr	x8, [x8, _prog@GOTPAGEOFF]
Lloh37:
	ldr	x2, [x8]
	str	x19, [sp, #-16]!
Lloh38:
	adrp	x1, l_.str.3@PAGE
Lloh39:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
	mov	w0, #1
	bl	_exit
LBB0_11:
	mov	x0, x20
	bl	_file_uncompress.cold.1
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function file_uncompress.cold.1
_file_uncompress.cold.1:                ; @file_uncompress.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_perror
	mov	w0, #1
	bl	_exit
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_NAME_LEN,4,2               ; @MAX_NAME_LEN
	.comm	_GZ_SUFFIX,8,3                  ; @GZ_SUFFIX
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: filename too long\n"

	.comm	_prog,8,3                       ; @prog
l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.comm	_SUFFIX_LEN,8,3                 ; @SUFFIX_LEN
l_.str.2:                               ; @.str.2
	.asciz	"rb"

l_.str.3:                               ; @.str.3
	.asciz	"%s: can't gzopen %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"wb"

.subsections_via_symbols
