	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LZ4_compress_destSize_extState
_LZ4_compress_destSize_extState:        ## @LZ4_compress_destSize_extState
	.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
	movl	%r8d, %r15d
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r13
	callq	_LZ4_resetStream
	movl	(%rbx), %edi
	callq	_LZ4_compressBound
	movl	(%rbx), %ecx
	cmpl	%r15d, %eax
	jle	LBB0_5
## %bb.1:
	movq	_LZ4_64Klimit@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jge	LBB0_4
## %bb.2:
	movq	_byut16@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movl	%r15d, %r8d
	movl	$1, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LZ4_compress_fast_extState     ## TAILCALL
LBB0_4:
	movq	_byut32@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r9d
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	movl	%r15d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LZ4_compress_destSize_generic  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LZ4_64Klimit,4,2               ## @LZ4_64Klimit
	.comm	_byut16,4,2                     ## @byut16
	.comm	_byut32,4,2                     ## @byut32
	.comm	_byPtr,4,2                      ## @byPtr
	.no_dead_strip	_LZ4_compress_destSize_extState
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LZ4_compress_destSize_extState
_LZ4_compress_destSize_extState:        ; @LZ4_compress_destSize_extState
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	bl	_LZ4_resetStream
	ldr	w0, [x21]
	bl	_LZ4_compressBound
	ldr	w3, [x21]
	cmp	w0, w19
	b.le	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _LZ4_64Klimit@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LZ4_64Klimit@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w3, w8
	b.ge	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _byut16@GOTPAGE
Lloh4:
	ldr	x8, [x8, _byut16@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	mov	x4, x19
	mov	w5, #1
	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
	b	_LZ4_compress_fast_extState
LBB0_4:
Lloh5:
	adrp	x8, _byut32@GOTPAGE
Lloh6:
	ldr	x8, [x8, _byut32@GOTPAGEOFF]
LBB0_5:
	ldr	w5, [x8]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	mov	x4, x19
	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
	b	_LZ4_compress_destSize_generic
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_LZ4_64Klimit,4,2               ; @LZ4_64Klimit
	.comm	_byut16,4,2                     ; @byut16
	.comm	_byut32,4,2                     ; @byut32
	.comm	_byPtr,4,2                      ; @byPtr
	.no_dead_strip	_LZ4_compress_destSize_extState
.subsections_via_symbols
