	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode
_decode:                                ## @decode
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	4(%rsi), %eax
	imull	%eax, %edx
	subl	%edx, (%rsi)
	imull	%eax, %ecx
	movl	%ecx, 4(%rsi)
	movq	_TOP@GOTPCREL(%rip), %r15
	cmpl	(%r15), %ecx
	jge	LBB0_4
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_bytestream2_get_bytes_left
	testq	%rax, %rax
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_bytestream2_get_byteu
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	shll	$8, %ecx
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
	shll	$8, %edx
	movl	%edx, 4(%rbx)
	cmpl	(%r15), %edx
	jl	LBB0_2
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOP,4,2                        ## @TOP
	.no_dead_strip	_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode
_decode:                                ; @decode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldp	w9, w8, [x1]
	msub	w9, w8, w2, w9
	mul	w8, w8, w3
	stp	w9, w8, [x1]
Lloh0:
	adrp	x21, _TOP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TOP@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	w8, w9
	b.ge	LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x20, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_byteu
	ldp	w8, w9, [x19]
	orr	w8, w0, w8, lsl #8
	lsl	w9, w9, #8
	stp	w8, w9, [x19]
	ldr	w8, [x21]
	cmp	w9, w8
	b.lt	LBB0_2
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TOP,4,2                        ; @TOP
	.no_dead_strip	_decode
.subsections_via_symbols
