	.file	"extr_lzma2_encoder.c_lzma2_encoder_options_update.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lzma2_encoder_options_update, @function
lzma2_encoder_options_update:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rsi]
	test	rax, rax
	je	.L2
	mov	rcx, QWORD PTR SEQ_INIT[rip]
	cmp	QWORD PTR [rdi], rcx
	jne	.L2
	mov	rdx, QWORD PTR [rax]
	cmp	QWORD PTR 16[rdi], rdx
	je	.L13
.L5:
	mov	rcx, QWORD PTR LZMA_LCLP_MAX[rip]
	cmp	rdx, rcx
	jg	.L7
	mov	rsi, QWORD PTR 8[rax]
	cmp	rcx, rsi
	jl	.L7
	lea	r8, [rdx+rsi]
	cmp	rcx, r8
	jl	.L7
	mov	rax, QWORD PTR 16[rax]
	cmp	rax, QWORD PTR LZMA_PB_MAX[rip]
	jg	.L7
	mov	QWORD PTR 32[rdi], rax
	movabs	rax, 4294967297
	mov	QWORD PTR 16[rdi], rdx
	mov	QWORD PTR 24[rdi], rsi
	mov	QWORD PTR 8[rdi], rax
.L6:
	mov	eax, DWORD PTR LZMA_OK[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR LZMA_PROG_ERROR[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR LZMA_OPTIONS_ERROR[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rcx, QWORD PTR 8[rax]
	cmp	QWORD PTR 24[rdi], rcx
	jne	.L5
	mov	rcx, QWORD PTR 16[rax]
	cmp	QWORD PTR 32[rdi], rcx
	jne	.L5
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	lzma2_encoder_options_update, .-lzma2_encoder_options_update
	.comm	SEQ_INIT,8,8
	.comm	LZMA_PROG_ERROR,4,4
	.comm	LZMA_PB_MAX,8,8
	.comm	LZMA_OPTIONS_ERROR,4,4
	.comm	LZMA_OK,4,4
	.comm	LZMA_LCLP_MAX,8,8
	.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_lzma2_encoder.c_lzma2_encoder_options_update.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lzma2_encoder_options_update, %function
lzma2_encoder_options_update:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	cmp	r3, #0
	beq	.L2
	ldr	r2, .L20
	ldr	r1, [r0]
	ldr	r2, [r2]
	cmp	r1, r2
	bne	.L2
	ldr	r2, [r3]
	ldr	r1, [r0, #12]
	cmp	r1, r2
	beq	.L19
.L5:
	ldr	r1, .L20+4
	ldr	r1, [r1]
	cmp	r2, r1
	bgt	.L15
	ldr	ip, [r3, #4]
	cmp	r1, ip
	blt	.L15
	str	lr, [sp, #-4]!
	add	lr, r2, ip
	cmp	r1, lr
	blt	.L7
	ldr	r1, .L20+8
	ldr	r3, [r3, #8]
	ldr	r1, [r1]
	cmp	r3, r1
	bgt	.L7
	mov	r1, #1
	str	r3, [r0, #20]
	ldr	r3, .L20+12
	str	r1, [r0, #4]
	str	r1, [r0, #8]
	str	r2, [r0, #12]
	str	ip, [r0, #16]
	ldr	r0, [r3]
	ldr	pc, [sp], #4
.L2:
	ldr	r3, .L20+16
	ldr	r0, [r3]
	bx	lr
.L15:
	ldr	r3, .L20+20
	ldr	r0, [r3]
	bx	lr
.L7:
	ldr	r3, .L20+20
	ldr	r0, [r3]
	ldr	pc, [sp], #4
.L19:
	ldr	ip, [r0, #16]
	ldr	r1, [r3, #4]
	cmp	ip, r1
	bne	.L5
	ldr	ip, [r0, #20]
	ldr	r1, [r3, #8]
	cmp	ip, r1
	bne	.L5
	ldr	r3, .L20+12
	ldr	r0, [r3]
	bx	lr
.L21:
	.align	2
.L20:
	.word	SEQ_INIT
	.word	LZMA_LCLP_MAX
	.word	LZMA_PB_MAX
	.word	LZMA_OK
	.word	LZMA_PROG_ERROR
	.word	LZMA_OPTIONS_ERROR
	.size	lzma2_encoder_options_update, .-lzma2_encoder_options_update
	.comm	SEQ_INIT,4,4
	.comm	LZMA_PROG_ERROR,4,4
	.comm	LZMA_PB_MAX,4,4
	.comm	LZMA_OPTIONS_ERROR,4,4
	.comm	LZMA_OK,4,4
	.comm	LZMA_LCLP_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
