	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function seq_unpack_rle_block
_seq_unpack_rle_block:                  ## @seq_unpack_rle_block
	.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
	subq	$296, %rsp                      ## imm = 0x128
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r15
	movq	%rdi, %rcx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, -328(%rbp)                ## 8-byte Spill
	movl	%esi, %edx
	subl	%ecx, %edx
	shll	$3, %edx
	leaq	-308(%rbp), %rdi
	movq	%rcx, -320(%rbp)                ## 8-byte Spill
	movq	%rcx, %rsi
	callq	_init_get_bits
	testl	%r13d, %r13d
	jle	LBB0_5
## %bb.1:
	leaq	-308(%rbp), %r12
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_get_bits_left
	cmpl	$4, %eax
	jl	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_get_sbits
	movl	%eax, -304(%rbp,%rbx,4)
	movl	%eax, %edi
	callq	_FFABS
	cmpq	$62, %rbx
	ja	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	%eax, %r14d
	incq	%rbx
	cmpl	%r13d, %r14d
	jl	LBB0_2
LBB0_5:
	leaq	-308(%rbp), %rdi
	callq	_get_bits_count
                                        ## kill: def $eax killed $eax def $rax
	leal	7(%rax), %ecx
	addl	$14, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$3, %eax
	cltq
	movq	-320(%rbp), %r14                ## 8-byte Reload
	addq	%rax, %r14
	testl	%r13d, %r13d
	jle	LBB0_16
## %bb.6:
	xorl	%r12d, %r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	%rbx, %r15
	subl	%ebx, %r13d
	incq	%r12
	testl	%r13d, %r13d
	jle	LBB0_16
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	-304(%rbp,%r12,4), %ebx
	movq	-328(%rbp), %rax                ## 8-byte Reload
	subq	%r14, %rax
	testl	%ebx, %ebx
	js	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%rbx, %rax
	jl	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_FFMIN
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_memcpy
	addq	%rbx, %r14
	cmpq	$62, %r12
	jbe	LBB0_12
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	testq	%rax, %rax
	jle	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	negl	%ebx
	movzbl	(%r14), %eax
	movl	%eax, -320(%rbp)                ## 4-byte Spill
	incq	%r14
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_FFMIN
	movq	%r15, %rdi
	movl	-320(%rbp), %esi                ## 4-byte Reload
	movl	%eax, %edx
	callq	_memset
	cmpq	$62, %r12
	jbe	LBB0_12
	jmp	LBB0_16
LBB0_15:
	xorl	%r14d, %r14d
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movq	%r14, %rax
	addq	$296, %rsp                      ## imm = 0x128
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_seq_unpack_rle_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function seq_unpack_rle_block
_seq_unpack_rle_block:                  ; @seq_unpack_rle_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	sub	w8, w21, w22
	lsl	w2, w8, #3
	add	x0, sp, #4
	mov	x1, x22
	bl	_init_get_bits
	cmp	w19, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x23, #0
	mov	w24, #0
	add	x25, sp, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #4
	bl	_get_bits_left
	cmp	w0, #4
	b.lt	LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #4
	mov	w1, #4
	bl	_get_sbits
	str	w0, [x25, x23, lsl #2]
	bl	_FFABS
	cmp	x23, #62
	b.hi	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	add	w24, w24, w0
	cmp	w24, w19
	b.lt	LBB0_2
LBB0_5:
	add	x0, sp, #4
	bl	_get_bits_count
	add	w8, w0, #7
	add	w9, w0, #14
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	add	x22, x22, w8, sxtw
	cmp	w19, #1
	b.lt	LBB0_14
; %bb.6:
	mov	x25, #0
	add	x26, sp, #8
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x20, x20, x23
	sub	w19, w19, w23
	add	x25, x25, #1
	cmp	w19, #0
	b.le	LBB0_14
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w23, [x26, x25, lsl #2]
	sub	x8, x21, x22
	tbnz	w23, #31, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	x8, x23
	b.lt	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	mov	x1, x19
	bl	_FFMIN
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_memcpy
	add	x22, x22, x23
	cmp	x25, #62
	b.ls	LBB0_7
	b	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	x8, #1
	b.lt	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	neg	w23, w23
	ldrb	w24, [x22], #1
	mov	x0, x23
	mov	x1, x19
	bl	_FFMIN
	mov	x2, x0
	mov	x0, x20
	mov	x1, x24
	bl	_memset
	cmp	x25, #62
	b.ls	LBB0_7
	b	LBB0_14
LBB0_13:
	mov	x22, #0
LBB0_14:
	ldur	x8, [x29, #-88]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x22
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_seq_unpack_rle_block
.subsections_via_symbols
