	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lzma2_encoder_options_update
_lzma2_encoder_options_update:          ## @lzma2_encoder_options_update
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rcx
	movq	_LZMA_PROG_ERROR@GOTPCREL(%rip), %rax
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.1:
	movq	(%rdi), %rdx
	movq	_SEQ_INIT@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_11
## %bb.2:
	movq	(%rcx), %r9
	cmpq	%r9, 16(%rdi)
	jne	LBB0_5
## %bb.3:
	movq	24(%rdi), %rax
	cmpq	8(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	32(%rdi), %rax
	cmpq	16(%rcx), %rax
	je	LBB0_10
LBB0_5:
	movq	_LZMA_LCLP_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_LZMA_OPTIONS_ERROR@GOTPCREL(%rip), %rax
	cmpq	%rsi, %r9
	jg	LBB0_11
## %bb.6:
	movq	8(%rcx), %r8
	cmpq	%rsi, %r8
	jg	LBB0_11
## %bb.7:
	leaq	(%r8,%r9), %rdx
	cmpq	%rsi, %rdx
	jg	LBB0_11
## %bb.8:
	movq	16(%rcx), %rcx
	movq	_LZMA_PB_MAX@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jg	LBB0_11
## %bb.9:
	movq	%r9, 16(%rdi)
	movq	%r8, 24(%rdi)
	movq	%rcx, 32(%rdi)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 8(%rdi)
LBB0_10:
	movq	_LZMA_OK@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEQ_INIT,8,3                   ## @SEQ_INIT
	.comm	_LZMA_PROG_ERROR,4,2            ## @LZMA_PROG_ERROR
	.comm	_LZMA_LCLP_MAX,8,3              ## @LZMA_LCLP_MAX
	.comm	_LZMA_PB_MAX,8,3                ## @LZMA_PB_MAX
	.comm	_LZMA_OPTIONS_ERROR,4,2         ## @LZMA_OPTIONS_ERROR
	.comm	_LZMA_OK,4,2                    ## @LZMA_OK
	.no_dead_strip	_lzma2_encoder_options_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lzma2_encoder_options_update
_lzma2_encoder_options_update:          ; @lzma2_encoder_options_update
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	cbz	x8, LBB0_9
; %bb.1:
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _SEQ_INIT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SEQ_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_9
; %bb.2:
	ldr	x10, [x0, #16]
	ldr	x9, [x8]
	cmp	x10, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x10, [x0, #24]
	ldr	x11, [x8, #8]
	cmp	x10, x11
	b.ne	LBB0_5
; %bb.4:
	ldr	x10, [x0, #32]
	ldr	x11, [x8, #16]
	cmp	x10, x11
	b.eq	LBB0_11
LBB0_5:
Lloh3:
	adrp	x10, _LZMA_LCLP_MAX@GOTPAGE
Lloh4:
	ldr	x10, [x10, _LZMA_LCLP_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x10]
	cmp	x9, x11
	b.gt	LBB0_8
; %bb.6:
	ldr	x10, [x8, #8]
	add	x12, x10, x9
	cmp	x10, x11
	ccmp	x12, x11, #0, le
	b.gt	LBB0_8
; %bb.7:
	ldr	x8, [x8, #16]
Lloh6:
	adrp	x11, _LZMA_PB_MAX@GOTPAGE
Lloh7:
	ldr	x11, [x11, _LZMA_PB_MAX@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x8, x11
	b.le	LBB0_10
LBB0_8:
Lloh9:
	adrp	x8, _LZMA_OPTIONS_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LZMA_OPTIONS_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
LBB0_9:
Lloh12:
	adrp	x8, _LZMA_PROG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LZMA_PROG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ret
LBB0_10:
	stp	x9, x10, [x0, #16]
	str	x8, [x0, #32]
	movi.2s	v0, #1
	str	d0, [x0, #8]
LBB0_11:
Lloh15:
	adrp	x8, _LZMA_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LZMA_OK@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SEQ_INIT,8,3                   ; @SEQ_INIT
	.comm	_LZMA_PROG_ERROR,4,2            ; @LZMA_PROG_ERROR
	.comm	_LZMA_LCLP_MAX,8,3              ; @LZMA_LCLP_MAX
	.comm	_LZMA_PB_MAX,8,3                ; @LZMA_PB_MAX
	.comm	_LZMA_OPTIONS_ERROR,4,2         ; @LZMA_OPTIONS_ERROR
	.comm	_LZMA_OK,4,2                    ; @LZMA_OK
	.no_dead_strip	_lzma2_encoder_options_update
.subsections_via_symbols
