	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Lzma2Dec_UpdateState
_Lzma2Dec_UpdateState:                  ## @Lzma2Dec_UpdateState
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_15
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	orl	8(%r14), %ebx
	incl	%ebx
	movl	%ebx, 8(%r14)
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	callq	_printf
	movl	%eax, %edi
	callq	_PRF
	movq	%r14, %rdi
	callq	_LZMA2_IS_UNCOMPRESSED_STATE
	movl	%eax, %ecx
	movl	$132, %eax
	testl	%ecx, %ecx
	je	LBB0_18
	jmp	LBB0_3
LBB0_4:
	shll	$8, %ebx
	orl	%ebx, 8(%r14)
	movl	$128, %eax
	jmp	LBB0_18
LBB0_5:
	movq	_LZMA2_STATE_ERROR@GOTPCREL(%rip), %rax
	cmpl	$224, %ebx
	jg	LBB0_17
## %bb.6:
	movslq	%ebx, %rcx
	imulq	$954437177, %rcx, %rdx          ## imm = 0x38E38E39
	movq	%rdx, %rsi
	shrq	$63, %rsi
	shrq	$32, %rdx
	sarl	%edx
	addl	%esi, %edx
	leal	(%rdx,%rdx,8), %esi
	imulq	$-1240768329, %rcx, %rcx        ## imm = 0xB60B60B7
	shrq	$32, %rcx
	addl	%ebx, %ecx
	subl	%esi, %ebx
	movl	%ecx, %esi
	shrl	$31, %esi
	sarl	$5, %ecx
	addl	%esi, %ecx
	movl	%ecx, 24(%r14)
	movslq	%edx, %rcx
	imulq	$1717986919, %rcx, %rdx         ## imm = 0x66666667
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$33, %rdx
	addl	%esi, %edx
	leal	(%rdx,%rdx,4), %edx
	subl	%edx, %ecx
	leal	(%rcx,%rbx), %edx
	movq	_LZMA2_LCLP_MAX@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jg	LBB0_17
## %bb.7:
	movl	%ebx, 28(%r14)
	movl	%ecx, 32(%r14)
	movq	_False@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	_LZMA2_STATE_DATA@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_8:
	orl	12(%r14), %ebx
	incl	%ebx
	movl	%ebx, 12(%r14)
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	callq	_printf
	movl	%eax, %edi
	callq	_PRF
	movq	%r14, %rdi
	callq	_LZMA2_GET_LZMA_MODE
	movl	%eax, %edi
	callq	_LZMA2_IS_THERE_PROP
	movl	%eax, %ecx
	movl	$130, %eax
	testl	%ecx, %ecx
	jne	LBB0_18
## %bb.9:
	cmpl	$0, 16(%r14)
	jne	LBB0_15
LBB0_3:
	movq	_LZMA2_STATE_DATA@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_11:
	shll	$8, %ebx
	movl	%ebx, 12(%r14)
	movl	$131, %eax
	jmp	LBB0_18
LBB0_12:
	movl	%ebx, 4(%r14)
	movl	20(%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movl	%eax, %edi
	callq	_PRF
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_printf
	movl	%eax, %edi
	callq	_PRF
	cmpl	$0, 4(%r14)
	je	LBB0_16
## %bb.13:
	movq	%r14, %rdi
	callq	_LZMA2_IS_UNCOMPRESSED_STATE
	movl	4(%r14), %ecx
	testl	%eax, %eax
	je	LBB0_19
## %bb.14:
	andl	$127, %ecx
	cmpl	$3, %ecx
	jb	LBB0_20
LBB0_15:
	movq	_LZMA2_STATE_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_16:
	movq	_LZMA2_STATE_FINISHED@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
LBB0_18:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_19:
	andl	$31, %ecx
	shll	$16, %ecx
	movl	%ecx, 8(%r14)
	movl	$129, %eax
	jmp	LBB0_18
LBB0_20:
	movl	$0, 8(%r14)
	movl	$129, %eax
	jmp	LBB0_18
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n %4X "

L_.str.1:                               ## @.str.1
	.asciz	" %2X"

	.comm	_LZMA2_STATE_FINISHED,4,2       ## @LZMA2_STATE_FINISHED
	.comm	_LZMA2_STATE_ERROR,4,2          ## @LZMA2_STATE_ERROR
L_.str.2:                               ## @.str.2
	.asciz	" %8d"

	.comm	_LZMA2_STATE_DATA,4,2           ## @LZMA2_STATE_DATA
	.comm	_LZMA2_LCLP_MAX,4,2             ## @LZMA2_LCLP_MAX
	.comm	_False,4,2                      ## @False
	.no_dead_strip	_Lzma2Dec_UpdateState
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Lzma2Dec_UpdateState
_Lzma2Dec_UpdateState:                  ; @Lzma2Dec_UpdateState
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_13
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x19, #8]
	orr	w8, w8, w20
	add	w1, w8, #1
	str	w1, [x19, #8]
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	bl	_PRF
	mov	x0, x19
	bl	_LZMA2_IS_UNCOMPRESSED_STATE
Lloh4:
	adrp	x8, _LZMA2_STATE_DATA@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LZMA2_STATE_DATA@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	mov	w9, #132
	cmp	w0, #0
	csel	w0, w9, w8, eq
	b	LBB0_15
LBB0_3:
	ldr	w8, [x19, #8]
	orr	w8, w8, w20, lsl #8
	str	w8, [x19, #8]
	mov	w0, #128
	b	LBB0_15
LBB0_4:
	cmp	w20, #224
	b.gt	LBB0_13
; %bb.5:
	mov	w8, #36409
	movk	w8, #14563, lsl #16
	smull	x8, w20, w8
	lsr	x9, x8, #32
	lsr	x8, x8, #63
	add	w9, w8, w9, asr #1
	add	w8, w9, w9, lsl #3
	sub	w8, w20, w8
	mov	w10, #24759
	movk	w10, #46603, lsl #16
	smull	x10, w20, w10
	lsr	x10, x10, #32
	add	w10, w10, w20
	asr	w11, w10, #5
	add	w10, w11, w10, lsr #31
	str	w10, [x19, #24]
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	smull	x10, w9, w10
	lsr	x11, x10, #63
	asr	x10, x10, #33
	add	w10, w10, w11
	add	w10, w10, w10, lsl #2
	sub	w9, w9, w10
	add	w10, w9, w8
Lloh7:
	adrp	x11, _LZMA2_LCLP_MAX@GOTPAGE
Lloh8:
	ldr	x11, [x11, _LZMA2_LCLP_MAX@GOTPAGEOFF]
Lloh9:
	ldr	w11, [x11]
	cmp	w10, w11
	b.gt	LBB0_13
; %bb.6:
	stp	w8, w9, [x19, #28]
Lloh10:
	adrp	x8, _False@GOTPAGE
Lloh11:
	ldr	x8, [x8, _False@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh13:
	adrp	x8, _LZMA2_STATE_DATA@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LZMA2_STATE_DATA@GOTPAGEOFF]
	b	LBB0_14
LBB0_7:
	ldr	w8, [x19, #12]
	orr	w8, w8, w20
	add	w1, w8, #1
	str	w1, [x19, #12]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	bl	_PRF
	mov	x0, x19
	bl	_LZMA2_GET_LZMA_MODE
	bl	_LZMA2_IS_THERE_PROP
	cbz	w0, LBB0_16
; %bb.8:
	mov	w0, #130
	b	LBB0_15
LBB0_9:
	lsl	w8, w20, #8
	str	w8, [x19, #12]
	mov	w0, #131
	b	LBB0_15
LBB0_10:
	str	w20, [x19, #4]
	ldr	w1, [x19, #20]
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	bl	_PRF
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_printf
	bl	_PRF
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_17
; %bb.11:
	mov	x0, x19
	bl	_LZMA2_IS_UNCOMPRESSED_STATE
	ldr	w8, [x19, #4]
	cbz	w0, LBB0_18
; %bb.12:
	and	w8, w8, #0x7f
	cmp	w8, #3
	b.lo	LBB0_19
LBB0_13:
Lloh21:
	adrp	x8, _LZMA2_STATE_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LZMA2_STATE_ERROR@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_16:
Lloh23:
	adrp	x8, _LZMA2_STATE_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _LZMA2_STATE_ERROR@GOTPAGEOFF]
	ldr	w9, [x19, #16]
Lloh25:
	adrp	x10, _LZMA2_STATE_DATA@GOTPAGE
Lloh26:
	ldr	x10, [x10, _LZMA2_STATE_DATA@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x10, x8, eq
	b	LBB0_14
LBB0_17:
Lloh27:
	adrp	x8, _LZMA2_STATE_FINISHED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LZMA2_STATE_FINISHED@GOTPAGEOFF]
	b	LBB0_14
LBB0_18:
	ubfiz	w8, w8, #16, #5
	str	w8, [x19, #8]
	mov	w0, #129
	b	LBB0_15
LBB0_19:
	str	wzr, [x19, #8]
	mov	w0, #129
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n %4X "

l_.str.1:                               ; @.str.1
	.asciz	" %2X"

	.comm	_LZMA2_STATE_FINISHED,4,2       ; @LZMA2_STATE_FINISHED
	.comm	_LZMA2_STATE_ERROR,4,2          ; @LZMA2_STATE_ERROR
l_.str.2:                               ; @.str.2
	.asciz	" %8d"

	.comm	_LZMA2_STATE_DATA,4,2           ; @LZMA2_STATE_DATA
	.comm	_LZMA2_LCLP_MAX,4,2             ; @LZMA2_LCLP_MAX
	.comm	_False,4,2                      ; @False
	.no_dead_strip	_Lzma2Dec_UpdateState
.subsections_via_symbols
