	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_def                            ## -- Begin function def
	.p2align	4, 0x90
_def:                                   ## @def
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_CHUNK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_Z_NULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)
	movq	%rax, -96(%rbp)
	movq	%rax, -104(%rbp)
	leaq	-136(%rbp), %rdi
	movl	%r14d, %esi
	callq	_deflateInit
	movq	_Z_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
## %bb.1:
	movq	_Z_FINISH@GOTPCREL(%rip), %rbx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	_CHUNK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	movq	%r13, %rcx
	callq	_fread
	movq	%rax, -136(%rbp)
	movq	%r13, %rdi
	callq	_ferror
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_feof
	movq	%rbx, %rcx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_Z_NO_FLUSH@GOTPCREL(%rip), %rcx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rcx), %r15d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -128(%rbp)
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_CHUNK@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rax
	movq	%rax, -120(%rbp)
	movq	%r12, -112(%rbp)
	leaq	-136(%rbp), %rdi
	movl	%r15d, %esi
	callq	_deflate
	movl	%eax, %r14d
	xorl	%edi, %edi
	movq	_Z_STREAM_ERROR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	setne	%dil
	callq	_assert
	movl	(%rbx), %r13d
	subl	-120(%rbp), %r13d
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%r13d, %edx
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_fwrite
	cmpl	%r13d, %eax
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	%rbx, %rdi
	callq	_ferror
	testq	%rax, %rax
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=2
	cmpq	$0, -120(%rbp)
	je	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	cmpq	$0, -136(%rbp)
	sete	%dil
	callq	_assert
	movq	_Z_FINISH@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %r15d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_2
## %bb.12:
	movq	_Z_STREAM_END@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %r14d
	sete	%dil
	callq	_assert
	movq	_Z_OK@GOTPCREL(%rip), %rbx
	jmp	LBB0_13
LBB0_8:
	movq	_Z_ERRNO@GOTPCREL(%rip), %rbx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_13:
	leaq	-136(%rbp), %rdi
	callq	_deflateEnd
	movl	(%rbx), %eax
LBB0_14:
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_Z_ERRNO@GOTPCREL(%rip), %rbx
	jmp	LBB0_13
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CHUNK,4,2                      ## @CHUNK
	.comm	_Z_NULL,8,3                     ## @Z_NULL
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_Z_ERRNO,4,2                    ## @Z_ERRNO
	.comm	_Z_FINISH,4,2                   ## @Z_FINISH
	.comm	_Z_NO_FLUSH,4,2                 ## @Z_NO_FLUSH
	.comm	_Z_STREAM_ERROR,4,2             ## @Z_STREAM_ERROR
	.comm	_Z_STREAM_END,4,2               ## @Z_STREAM_END
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_def                            ; -- Begin function def
	.p2align	2
_def:                                   ; @def
	.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
	sub	sp, sp, #80
	mov	x19, x1
	mov	x20, x0
	mov	x23, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x27, _CHUNK@GOTPAGE
Lloh4:
	ldr	x27, [x27, _CHUNK@GOTPAGEOFF]
	ldr	w8, [x27]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	w8, [x27]
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
Lloh9:
	adrp	x8, _Z_NULL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _Z_NULL@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	stp	x8, x8, [x29, #-104]
	stur	x8, [x29, #-112]
	sub	x0, x29, #144
	mov	x1, x2
	bl	_deflateInit
Lloh12:
	adrp	x8, _Z_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.1:
	stur	x23, [x29, #-152]               ; 8-byte Folded Spill
Lloh15:
	adrp	x25, _Z_FINISH@GOTPAGE
Lloh16:
	ldr	x25, [x25, _Z_FINISH@GOTPAGEOFF]
Lloh17:
	adrp	x23, _Z_NO_FLUSH@GOTPAGE
Lloh18:
	ldr	x23, [x23, _Z_NO_FLUSH@GOTPAGEOFF]
Lloh19:
	adrp	x28, _Z_STREAM_ERROR@GOTPAGE
Lloh20:
	ldr	x28, [x28, _Z_STREAM_ERROR@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	w2, [x27]
	mov	x0, x21
	mov	w1, #1
	mov	x3, x20
	bl	_fread
	stur	x0, [x29, #-144]
	mov	x0, x20
	bl	_ferror
	cbnz	x0, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_feof
	cmp	x0, #0
	mov	x26, x25
	csel	x8, x23, x25, eq
	ldr	w23, [x8]
	stur	x21, [x29, #-136]
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x8, [x27]
	stp	x8, x22, [x29, #-128]
	sub	x0, x29, #144
	mov	x1, x23
	bl	_deflate
	mov	x24, x0
	ldr	w8, [x28]
	cmp	w0, w8
	cset	w0, ne
	bl	_assert
	ldr	w8, [x27]
	ldur	w9, [x29, #-128]
	sub	w25, w8, w9
	mov	x0, x22
	mov	w1, #1
	mov	x2, x25
	mov	x3, x19
	bl	_fwrite
	cmp	w0, w25
	b.ne	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x19
	bl	_ferror
	cbnz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	ldur	x8, [x29, #-128]
	cbz	x8, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldur	x8, [x29, #-144]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	mov	x25, x26
	ldr	w8, [x26]
	cmp	w23, w8
Lloh21:
	adrp	x23, _Z_NO_FLUSH@GOTPAGE
Lloh22:
	ldr	x23, [x23, _Z_NO_FLUSH@GOTPAGEOFF]
	b.ne	LBB0_2
; %bb.8:
Lloh23:
	adrp	x8, _Z_STREAM_END@GOTPAGE
Lloh24:
	ldr	x8, [x8, _Z_STREAM_END@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cmp	w24, w8
	cset	w0, eq
	bl	_assert
Lloh26:
	adrp	x19, _Z_OK@GOTPAGE
Lloh27:
	ldr	x19, [x19, _Z_OK@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh28:
	adrp	x19, _Z_ERRNO@GOTPAGE
Lloh29:
	ldr	x19, [x19, _Z_ERRNO@GOTPAGEOFF]
LBB0_10:
	sub	x0, x29, #144
	bl	_deflateEnd
	ldr	w0, [x19]
	ldur	x23, [x29, #-152]               ; 8-byte Folded Reload
LBB0_11:
	mov	sp, x23
	ldur	x8, [x29, #-88]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	sub	sp, x29, #80
	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_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_CHUNK,4,2                      ; @CHUNK
	.comm	_Z_NULL,8,3                     ; @Z_NULL
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_Z_ERRNO,4,2                    ; @Z_ERRNO
	.comm	_Z_FINISH,4,2                   ; @Z_FINISH
	.comm	_Z_NO_FLUSH,4,2                 ; @Z_NO_FLUSH
	.comm	_Z_STREAM_ERROR,4,2             ; @Z_STREAM_ERROR
	.comm	_Z_STREAM_END,4,2               ; @Z_STREAM_END
.subsections_via_symbols
