	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lzma_outq_read                 ## -- Begin function lzma_outq_read
	.p2align	4, 0x90
_lzma_outq_read:                        ## @lzma_outq_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rdx, %r8
	movq	(%rdi), %rdx
	movq	_LZMA_OK@GOTPCREL(%rip), %r12
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.1:
	movq	%rcx, %r10
	movq	%rsi, %rcx
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	subq	%rdx, %rax
	jae	LBB0_3
## %bb.2:
	addq	32(%rbx), %rax
LBB0_3:
	movq	24(%rbx), %r13
	leaq	(%rax,%rax,2), %r14
	cmpl	$0, 20(%r13,%r14,8)
	je	LBB0_6
## %bb.4:
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movl	16(%r13,%r14,8), %edi
	leaq	16(%rbx), %rsi
	movq	(%r13,%r14,8), %rdx
	movq	%r10, %r9
	callq	_lzma_bufcpy
	movq	16(%rbx), %rax
	cmpq	(%r13,%r14,8), %rax
	jl	LBB0_6
## %bb.5:
	movl	12(%r13,%r14,8), %eax
	movl	%eax, (%r15)
	movl	8(%r13,%r14,8), %eax
	decq	(%rbx)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	$0, 16(%rbx)
	movq	_LZMA_STREAM_END@GOTPCREL(%rip), %r12
LBB0_6:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LZMA_OK,4,2                    ## @LZMA_OK
	.comm	_LZMA_STREAM_END,4,2            ## @LZMA_STREAM_END
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lzma_outq_read                 ; -- Begin function lzma_outq_read
	.p2align	2
_lzma_outq_read:                        ; @lzma_outq_read
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x20, x5
	mov	x21, x4
	mov	x5, x3
	mov	x4, x2
	mov	x3, x1
	mov	x19, x0
	ldr	x9, [x0, #8]
	subs	x22, x9, x8
	b.hs	LBB0_3
; %bb.2:
	ldr	x8, [x19, #32]
	add	x22, x8, x22
LBB0_3:
	ldr	x23, [x19, #24]
	mov	w8, #24
	madd	x8, x22, x8, x23
	ldr	w8, [x8, #20]
	cbz	w8, LBB0_5
; %bb.4:
	mov	w8, #24
	madd	x24, x22, x8, x23
	ldr	w0, [x24, #16]
	add	x1, x19, #16
	ldr	x2, [x24]
	bl	_lzma_bufcpy
	ldr	x8, [x19, #16]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ge	LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _LZMA_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LZMA_OK@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	mov	w8, #24
	madd	x8, x22, x8, x23
	ldp	w8, w9, [x8, #8]
	str	w9, [x21]
	str	w8, [x20]
	ldr	x8, [x19]
	sub	x8, x8, #1
	str	x8, [x19]
	str	xzr, [x19, #16]
Lloh2:
	adrp	x8, _LZMA_STREAM_END@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LZMA_STREAM_END@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA_OK,4,2                    ; @LZMA_OK
	.comm	_LZMA_STREAM_END,4,2            ; @LZMA_STREAM_END
.subsections_via_symbols
