	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LLVMFuzzerTestOneInput         ## -- Begin function LLVMFuzzerTestOneInput
	.p2align	4, 0x90
_LLVMFuzzerTestOneInput:                ## @LLVMFuzzerTestOneInput
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rsp, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leaq	-1048577(%rbx), %rax
	cmpq	$-1048576, %rax                 ## imm = 0xFFF00000
	jb	LBB0_16
## %bb.1:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_fopen
	movq	%r13, %rdi
	movq	%rax, %r13
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movl	$1, %esi
	movl	%ebx, %edx
	movq	%rax, %rcx
	callq	_fwrite
	cmpq	%rbx, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.3(%rip), %rdi
	callq	_error
LBB0_3:
	movq	%r13, %rdi
	callq	_fclose
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.4(%rip), %rdi
	callq	_error
LBB0_5:
	leaq	-80(%rbp), %r13
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	leaq	L_.str.5(%rip), %rdx
	leaq	L_.str.6(%rip), %rcx
	movq	%r13, %rdi
	movl	$20, %esi
	callq	_snprintf
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	imulq	$1717986919, %rax, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	movl	%eax, %edx
	subl	%ecx, %edx
	leal	3(%rax), %esi
	testq	%rax, %rax
	movb	%dl, -78(%rbp)
	cmovnsl	%eax, %esi
	notl	%esi
	orl	$3, %esi
	addl	%eax, %esi
	leal	(,%rsi,8), %ecx
	movl	$5400678, %eax                  ## imm = 0x526866
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %eax
	cmpl	$3, %esi
	cmovael	%ebx, %eax
	movb	%al, -77(%rbp)
	leaq	L_.str(%rip), %rbx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_file_compress
	leaq	L_.str.1(%rip), %rdi
	callq	_file_uncompress
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_6
## %bb.9:
	movq	%rax, %r13
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_memset
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%r15d, %edx
	movq	%r13, %rcx
	callq	_fread
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_ferror
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	testl	%ebx, %ebx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movslq	%r14d, %r14
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,4), %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_memcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	addl	%ebx, %r14d
	jmp	LBB0_10
LBB0_14:
	movq	%r13, %rdi
	callq	_fclose
	testq	%rax, %rax
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_16
## %bb.15:
	leaq	L_.str.4(%rip), %rdi
	callq	_error
LBB0_16:
	movq	%r14, %rsp
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.8:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	_LLVMFuzzerTestOneInput.cold.2
	jmp	LBB0_7
LBB0_6:
	callq	_LLVMFuzzerTestOneInput.cold.1
	jmp	LBB0_7
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function LLVMFuzzerTestOneInput.cold.1
_LLVMFuzzerTestOneInput.cold.1:         ## @LLVMFuzzerTestOneInput.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
	leaq	L_.str(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function LLVMFuzzerTestOneInput.cold.2
_LLVMFuzzerTestOneInput.cold.2:         ## @LLVMFuzzerTestOneInput.cold.2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.8(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/tmp/minigzip_fuzzer.out"

L_.str.1:                               ## @.str.1
	.asciz	"/tmp/minigzip_fuzzer.out.gz"

	.comm	_BUFLEN,4,2                     ## @BUFLEN
L_.str.2:                               ## @.str.2
	.asciz	"w"

L_.str.3:                               ## @.str.3
	.asciz	"failed fwrite"

L_.str.4:                               ## @.str.4
	.asciz	"failed fclose"

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

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

L_.str.7:                               ## @.str.7
	.asciz	"rb"

L_.str.8:                               ## @.str.8
	.asciz	"fread"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LLVMFuzzerTestOneInput         ; -- Begin function LLVMFuzzerTestOneInput
	.p2align	2
_LLVMFuzzerTestOneInput:                ; @LLVMFuzzerTestOneInput
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #32
	mov	x22, x1
	mov	x19, x0
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _BUFLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUFLEN@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	sub	x8, x1, #256, lsl #12           ; =1048576
	sub	x8, x8, #1
	cmn	x8, #256, lsl #12               ; =1048576
	b.lo	LBB0_13
; %bb.1:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fopen
	mov	x23, x0
	mov	x0, x19
	mov	w1, #1
	mov	x2, x22
	mov	x3, x23
	bl	_fwrite
	cmp	x0, x22
	b.eq	LBB0_3
; %bb.2:
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_error
LBB0_3:
	mov	x0, x23
	bl	_fclose
	cbz	x0, LBB0_5
; %bb.4:
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_error
LBB0_5:
	sub	x0, x29, #92
	mov	w1, #0
	mov	w2, #20
	bl	_memset
Lloh16:
	adrp	x2, l_.str.5@PAGE
Lloh17:
	add	x2, x2, l_.str.5@PAGEOFF
Lloh18:
	adrp	x3, l_.str.6@PAGE
Lloh19:
	add	x3, x3, l_.str.6@PAGEOFF
	sub	x0, x29, #92
	mov	w1, #20
	bl	_snprintf
	ldrsw	x8, [x19]
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mul	x9, x8, x9
	lsr	x10, x9, #63
	lsr	x9, x9, #34
	add	w9, w9, w10
	mov	w10, #10
	msub	w9, w9, w10, w8
	sturb	w9, [x29, #-90]
	negs	w9, w8
	and	w9, w9, #0x3
	and	w8, w8, #0x3
	csneg	w8, w8, w9, mi
	sub	w8, w8, #1
	lsl	w9, w8, #3
	and	x9, x9, #0xfffff8
	mov	w10, #26726
	movk	w10, #82, lsl #16
	lsr	w9, w10, w9
	cmp	w8, #3
	csel	w8, w9, wzr, lo
	sturb	w8, [x29, #-89]
Lloh20:
	adrp	x22, l_.str@PAGE
Lloh21:
	add	x22, x22, l_.str@PAGEOFF
	sub	x1, x29, #92
	mov	x0, x22
	bl	_file_compress
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_file_uncompress
Lloh24:
	adrp	x1, l_.str.7@PAGE
Lloh25:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_fopen
	cbz	x0, LBB0_16
; %bb.6:
	mov	x22, x0
	mov	x0, x21
	mov	w1, #0
	mov	x2, x20
	bl	_memset
	mov	x0, x21
	mov	w1, #1
	mov	x2, x20
	mov	x3, x22
	bl	_fread
	mov	x23, x0
	mov	x0, x22
	bl	_ferror
	cbnz	x0, LBB0_10
; %bb.7:
	mov	w25, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w23, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, x19, w25, sxtw #2
	mov	x1, x21
	mov	x2, x23
	bl	_memcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	add	w25, w25, w23
	mov	x0, x21
	mov	w1, #1
	mov	x2, x20
	mov	x3, x22
	bl	_fread
	mov	x23, x0
	mov	x0, x22
	bl	_ferror
	cbz	x0, LBB0_8
LBB0_10:
	bl	_LLVMFuzzerTestOneInput.cold.2
LBB0_11:
	mov	x0, x22
	bl	_fclose
	cbz	x0, LBB0_13
; %bb.12:
Lloh26:
	adrp	x0, l_.str.4@PAGE
Lloh27:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_error
LBB0_13:
	mov	sp, x24
	ldur	x8, [x29, #-72]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	mov	w0, #0
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
LBB0_16:
	bl	_LLVMFuzzerTestOneInput.cold.1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function LLVMFuzzerTestOneInput.cold.1
_LLVMFuzzerTestOneInput.cold.1:         ; @LLVMFuzzerTestOneInput.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
Lloh31:
	adrp	x0, l_.str@PAGE
Lloh32:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function LLVMFuzzerTestOneInput.cold.2
_LLVMFuzzerTestOneInput.cold.2:         ; @LLVMFuzzerTestOneInput.cold.2
	.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
Lloh33:
	adrp	x0, l_.str.8@PAGE
Lloh34:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_perror
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/tmp/minigzip_fuzzer.out"

l_.str.1:                               ; @.str.1
	.asciz	"/tmp/minigzip_fuzzer.out.gz"

	.comm	_BUFLEN,4,2                     ; @BUFLEN
l_.str.2:                               ; @.str.2
	.asciz	"w"

l_.str.3:                               ; @.str.3
	.asciz	"failed fwrite"

l_.str.4:                               ; @.str.4
	.asciz	"failed fclose"

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

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

l_.str.7:                               ; @.str.7
	.asciz	"rb"

l_.str.8:                               ; @.str.8
	.asciz	"fread"

.subsections_via_symbols
