	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Lzma2State_ResetOutBuf
_Lzma2State_ResetOutBuf:                ## @Lzma2State_ResetOutBuf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %r8
	movq	16(%r8), %rdi
	testq	%rdi, %rdi
	setne	%cl
	testq	%rsi, %rsi
	setne	%al
	xorb	%cl, %al
	je	LBB0_1
## %bb.2:
	movq	_SZ_ERROR_FAIL@GOTPCREL(%rip), %rcx
	testq	%rsi, %rsi
	jne	LBB0_4
	jmp	LBB0_6
LBB0_1:
	movq	_SZ_OK@GOTPCREL(%rip), %rcx
	testq	%rsi, %rsi
	je	LBB0_6
LBB0_4:
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	movq	%rsi, 8(%r8)
	movq	%rdx, (%r8)
	movq	_SZ_OK@GOTPCREL(%rip), %rcx
LBB0_6:
	movl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SZ_ERROR_FAIL,4,2              ## @SZ_ERROR_FAIL
	.comm	_SZ_OK,4,2                      ## @SZ_OK
	.no_dead_strip	_Lzma2State_ResetOutBuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Lzma2State_ResetOutBuf
_Lzma2State_ResetOutBuf:                ; @Lzma2State_ResetOutBuf
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x10, [x8, #16]
	cmp	x10, #0
	cset	w9, ne
	cmp	x1, #0
	cset	w11, ne
	eor	w9, w11, w9
Lloh0:
	adrp	x11, _SZ_OK@GOTPAGE
Lloh1:
	ldr	x11, [x11, _SZ_OK@GOTPAGEOFF]
Lloh2:
	adrp	x12, _SZ_ERROR_FAIL@GOTPAGE
Lloh3:
	ldr	x12, [x12, _SZ_ERROR_FAIL@GOTPAGEOFF]
	cmp	w9, #0
	csel	x9, x12, x11, ne
	cbz	x1, LBB0_3
; %bb.1:
	cbz	x10, LBB0_3
; %bb.2:
	stp	x2, x1, [x8]
Lloh4:
	adrp	x9, _SZ_OK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SZ_OK@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x9]
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SZ_ERROR_FAIL,4,2              ; @SZ_ERROR_FAIL
	.comm	_SZ_OK,4,2                      ; @SZ_OK
	.no_dead_strip	_Lzma2State_ResetOutBuf
.subsections_via_symbols
