	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zlib_compress_setup
_zlib_compress_setup:                   ## @zlib_compress_setup
	.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	$24, %rsp
	.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, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_crypto_pcomp_tfm
	movl	%eax, %edi
	callq	_crypto_tfm_ctx
	movq	%rax, %r14
	movq	_ZLIB_COMP_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	1(%rbx), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movl	%r12d, %ecx
	xorl	%r8d, %r8d
	callq	_nla_parse
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_21
## %bb.1:
	movq	%r14, %rdi
	callq	_zlib_comp_exit
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_zlib_deflate_workspacesize
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_vmalloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_memset
	movq	_ZLIB_COMP_LEVEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_nla_get_u32
	jmp	LBB0_6
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_5:
	movq	_Z_DEFAULT_COMPRESSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_ZLIB_COMP_METHOD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_nla_get_u32
	movl	%eax, %r12d
	jmp	LBB0_9
LBB0_8:
	movq	_Z_DEFLATED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_9:
	movq	_ZLIB_COMP_WINDOWBITS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_nla_get_u32
	movl	%eax, %r13d
	jmp	LBB0_12
LBB0_11:
	movq	_MAX_WBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_12:
	movq	_ZLIB_COMP_MEMLEVEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.13:
	callq	_nla_get_u32
	movl	%eax, %ebx
	jmp	LBB0_15
LBB0_14:
	movq	_DEF_MEM_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_15:
	movq	_ZLIB_COMP_STRATEGY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	callq	_nla_get_u32
	movl	%eax, %r9d
	jmp	LBB0_18
LBB0_17:
	movq	_Z_DEFAULT_STRATEGY@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
LBB0_18:
	movq	%r14, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	callq	_zlib_deflateInit2
	movq	_Z_OK@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpl	(%rcx), %eax
	je	LBB0_21
## %bb.19:
	movq	(%r14), %rdi
	callq	_vfree
	movq	$0, (%r14)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_20:
	subl	(%rax), %ebx
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ZLIB_COMP_MAX,4,2              ## @ZLIB_COMP_MAX
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ZLIB_COMP_LEVEL,8,3            ## @ZLIB_COMP_LEVEL
	.comm	_Z_DEFAULT_COMPRESSION,4,2      ## @Z_DEFAULT_COMPRESSION
	.comm	_ZLIB_COMP_METHOD,8,3           ## @ZLIB_COMP_METHOD
	.comm	_Z_DEFLATED,4,2                 ## @Z_DEFLATED
	.comm	_ZLIB_COMP_WINDOWBITS,8,3       ## @ZLIB_COMP_WINDOWBITS
	.comm	_MAX_WBITS,4,2                  ## @MAX_WBITS
	.comm	_ZLIB_COMP_MEMLEVEL,8,3         ## @ZLIB_COMP_MEMLEVEL
	.comm	_DEF_MEM_LEVEL,4,2              ## @DEF_MEM_LEVEL
	.comm	_ZLIB_COMP_STRATEGY,8,3         ## @ZLIB_COMP_STRATEGY
	.comm	_Z_DEFAULT_STRATEGY,4,2         ## @Z_DEFAULT_STRATEGY
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_zlib_compress_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zlib_compress_setup
_zlib_compress_setup:                   ; @zlib_compress_setup
	.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	x21, x2
	mov	x22, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_crypto_pcomp_tfm
	bl	_crypto_tfm_ctx
	mov	x19, x0
Lloh3:
	adrp	x8, _ZLIB_COMP_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZLIB_COMP_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	w8, w1, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	mov	x0, x20
	mov	x2, x22
	mov	x3, x21
	mov	x4, #0
	bl	_nla_parse
	cbnz	w0, LBB0_22
; %bb.1:
	mov	x0, x19
	bl	_zlib_comp_exit
	bl	_zlib_deflate_workspacesize
	mov	x21, x0
	bl	_vmalloc
	str	x0, [x19]
	cbz	x0, LBB0_4
; %bb.2:
	mov	w1, #0
	mov	x2, x21
	bl	_memset
Lloh8:
	adrp	x8, _ZLIB_COMP_LEVEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ZLIB_COMP_LEVEL@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_5
; %bb.3:
	bl	_nla_get_u32
	mov	x21, x0
	b	LBB0_6
LBB0_4:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_21
LBB0_5:
Lloh13:
	adrp	x8, _Z_DEFAULT_COMPRESSION@GOTPAGE
Lloh14:
	ldr	x8, [x8, _Z_DEFAULT_COMPRESSION@GOTPAGEOFF]
Lloh15:
	ldr	w21, [x8]
LBB0_6:
Lloh16:
	adrp	x8, _ZLIB_COMP_METHOD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ZLIB_COMP_METHOD@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_nla_get_u32
	mov	x22, x0
	b	LBB0_9
LBB0_8:
Lloh19:
	adrp	x8, _Z_DEFLATED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _Z_DEFLATED@GOTPAGEOFF]
Lloh21:
	ldr	w22, [x8]
LBB0_9:
Lloh22:
	adrp	x8, _ZLIB_COMP_WINDOWBITS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ZLIB_COMP_WINDOWBITS@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_nla_get_u32
	mov	x23, x0
	b	LBB0_12
LBB0_11:
Lloh25:
	adrp	x8, _MAX_WBITS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MAX_WBITS@GOTPAGEOFF]
Lloh27:
	ldr	w23, [x8]
LBB0_12:
Lloh28:
	adrp	x8, _ZLIB_COMP_MEMLEVEL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ZLIB_COMP_MEMLEVEL@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_14
; %bb.13:
	bl	_nla_get_u32
	mov	x24, x0
	b	LBB0_15
LBB0_14:
Lloh31:
	adrp	x8, _DEF_MEM_LEVEL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _DEF_MEM_LEVEL@GOTPAGEOFF]
Lloh33:
	ldr	w24, [x8]
LBB0_15:
Lloh34:
	adrp	x8, _ZLIB_COMP_STRATEGY@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ZLIB_COMP_STRATEGY@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_17
; %bb.16:
	bl	_nla_get_u32
	mov	x5, x0
	b	LBB0_18
LBB0_17:
Lloh37:
	adrp	x8, _Z_DEFAULT_STRATEGY@GOTPAGE
Lloh38:
	ldr	x8, [x8, _Z_DEFAULT_STRATEGY@GOTPAGEOFF]
Lloh39:
	ldr	w5, [x8]
LBB0_18:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	bl	_zlib_deflateInit2
Lloh40:
	adrp	x8, _Z_OK@GOTPAGE
Lloh41:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_20
; %bb.19:
	mov	w0, #0
	b	LBB0_22
LBB0_20:
	ldr	x0, [x19]
	bl	_vfree
	str	xzr, [x19]
Lloh43:
	adrp	x8, _EINVAL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_21:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_22:
	ldur	x8, [x29, #-56]
Lloh45:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh46:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	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_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_ZLIB_COMP_MAX,4,2              ; @ZLIB_COMP_MAX
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ZLIB_COMP_LEVEL,8,3            ; @ZLIB_COMP_LEVEL
	.comm	_Z_DEFAULT_COMPRESSION,4,2      ; @Z_DEFAULT_COMPRESSION
	.comm	_ZLIB_COMP_METHOD,8,3           ; @ZLIB_COMP_METHOD
	.comm	_Z_DEFLATED,4,2                 ; @Z_DEFLATED
	.comm	_ZLIB_COMP_WINDOWBITS,8,3       ; @ZLIB_COMP_WINDOWBITS
	.comm	_MAX_WBITS,4,2                  ; @MAX_WBITS
	.comm	_ZLIB_COMP_MEMLEVEL,8,3         ; @ZLIB_COMP_MEMLEVEL
	.comm	_DEF_MEM_LEVEL,4,2              ; @DEF_MEM_LEVEL
	.comm	_ZLIB_COMP_STRATEGY,8,3         ; @ZLIB_COMP_STRATEGY
	.comm	_Z_DEFAULT_STRATEGY,4,2         ; @Z_DEFAULT_STRATEGY
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_zlib_compress_setup
.subsections_via_symbols
