	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NewBlock                       ## -- Begin function NewBlock
	.p2align	4, 0x90
_NewBlock:                              ## @NewBlock
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	$56, %edi
	callq	_MallocFast
	movq	%rax, %rbx
	movl	$0, (%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rax)
	movq	$0, 48(%rax)
	cmpl	$1, %r12d
	je	LBB0_5
## %bb.3:
	movq	_FALSE@GOTPCREL(%rip), %rax
	testl	%r12d, %r12d
	jne	LBB0_6
## %bb.4:
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movq	%r14, 16(%rbx)
	movl	%r15d, 4(%rbx)
	movl	%r15d, 8(%rbx)
	jmp	LBB0_8
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_5:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movl	%r15d, %edi
	callq	_CalcCompress
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_MallocFast
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	movl	%r15d, %ecx
	callq	_Compress
	jmp	LBB0_7
LBB0_6:
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movq	_MAX_PACKET_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_MallocFast
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	movl	%r15d, %ecx
	callq	_Uncompress
LBB0_7:
	movl	%eax, 4(%rbx)
	movl	%r15d, 8(%rbx)
	movq	%r14, %rdi
	callq	_Free
LBB0_8:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_MAX_PACKET_SIZE,4,2            ## @MAX_PACKET_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NewBlock                       ; -- Begin function NewBlock
	.p2align	2
_NewBlock:                              ; @NewBlock
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	mov	w0, #56
	bl	_MallocFast
	mov	x19, x0
	str	wzr, [x0]
	stp	xzr, xzr, [x0, #40]
	str	xzr, [x0, #32]
	cmp	w22, #1
	b.eq	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	cbnz	w22, LBB0_6
; %bb.3:
	ldr	x8, [x8]
	stp	x20, x8, [x19, #16]
	stp	w21, w21, [x19, #4]
	b	LBB0_8
LBB0_4:
	mov	x19, #0
	b	LBB0_8
LBB0_5:
Lloh2:
	adrp	x8, _TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	mov	x0, x21
	bl	_CalcCompress
	mov	x22, x0
	bl	_MallocFast
	str	x0, [x19, #16]
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_Compress
	b	LBB0_7
LBB0_6:
	ldr	x8, [x8]
	str	x8, [x19, #24]
Lloh5:
	adrp	x8, _MAX_PACKET_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAX_PACKET_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	mov	x0, x22
	bl	_MallocFast
	str	x0, [x19, #16]
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_Uncompress
LBB0_7:
	stp	w0, w21, [x19, #4]
	mov	x0, x20
	bl	_Free
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_MAX_PACKET_SIZE,4,2            ; @MAX_PACKET_SIZE
.subsections_via_symbols
