	.file	"extr_zstd_decompress.c_ZSTD_DCtx_setMaxWindowSize.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ZSTD_DCtx_setMaxWindowSize
	.type	ZSTD_DCtx_setMaxWindowSize, @function
ZSTD_DCtx_setMaxWindowSize:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR ZSTD_d_windowLogMax[rip]
	call	ZSTD_dParam_getBounds@PLT
	mov	esi, 1
	xor	edi, edi
	mov	ecx, eax
	mov	r13, rsi
	mov	rax, QWORD PTR zdss_init[rip]
	sal	r13, cl
	mov	ecx, edx
	sal	rsi, cl
	cmp	QWORD PTR 0[rbp], rax
	mov	r12, rsi
	mov	esi, DWORD PTR stage_wrong[rip]
	setne	dil
	call	RETURN_ERROR_IF@PLT
	mov	esi, DWORD PTR parameter_outOfBound[rip]
	xor	edi, edi
	cmp	r13, rbx
	seta	dil
	call	RETURN_ERROR_IF@PLT
	xor	edi, edi
	mov	esi, DWORD PTR parameter_outOfBound[rip]
	cmp	r12, rbx
	setb	dil
	call	RETURN_ERROR_IF@PLT
	mov	QWORD PTR 8[rbp], rbx
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ZSTD_DCtx_setMaxWindowSize, .-ZSTD_DCtx_setMaxWindowSize
	.comm	zdss_init,8,8
	.comm	stage_wrong,4,4
	.comm	parameter_outOfBound,4,4
	.comm	ZSTD_d_windowLogMax,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_zstd_decompress.c_ZSTD_DCtx_setMaxWindowSize.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ZSTD_DCtx_setMaxWindowSize
	.syntax unified
	.arm
	.fpu softvfp
	.type	ZSTD_DCtx_setMaxWindowSize, %function
ZSTD_DCtx_setMaxWindowSize:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L6
	mov	r5, r0
	sub	sp, sp, #16
	mov	r4, r1
	ldr	r1, [r3]
	ldr	r3, .L6+4
	add	r0, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	ZSTD_dParam_getBounds
	mov	r3, #1
	ldr	r2, .L6+8
	ldr	r0, [r5]
	ldr	r1, [r2]
	ldr	r7, [sp, #4]
	ldr	r2, .L6+12
	subs	r0, r0, r1
	ldr	r6, [sp, #8]
	ldr	r1, [r2]
	lsl	r7, r3, r7
	movne	r0, #1
	ldr	r8, .L6+16
	lsl	r6, r3, r6
	bl	RETURN_ERROR_IF
	cmp	r7, r4
	movls	r0, #0
	movhi	r0, #1
	ldr	r1, [r8]
	bl	RETURN_ERROR_IF
	cmp	r6, r4
	movcs	r0, #0
	movcc	r0, #1
	ldr	r1, [r8]
	bl	RETURN_ERROR_IF
	ldr	r3, .L6+4
	str	r4, [r5, #4]
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	mov	r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	ZSTD_d_windowLogMax
	.word	.LC0
	.word	zdss_init
	.word	stage_wrong
	.word	parameter_outOfBound
	.size	ZSTD_DCtx_setMaxWindowSize, .-ZSTD_DCtx_setMaxWindowSize
	.comm	zdss_init,4,4
	.comm	stage_wrong,4,4
	.comm	parameter_outOfBound,4,4
	.comm	ZSTD_d_windowLogMax,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
