	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pfr_bitwriter_decode_rle2
_pfr_bitwriter_decode_rle2:             ## @pfr_bitwriter_decode_rle2
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r15
	testq	%r15, %r15
	jle	LBB0_17
## %bb.1:
	movq	(%rdi), %r9
	movq	16(%rdi), %r8
	movl	$1, %eax
	movl	$128, %r11d
	xorl	%r14d, %r14d
	movq	%r8, %r10
	xorl	%ebx, %ebx
	movl	$1, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, (%r10)
	movq	(%rdi), %r9
	movslq	24(%rdi), %rax
	leaq	(%r8,%rax,8), %r8
	movq	%r8, 16(%rdi)
	movl	$128, %r11d
	movq	%r8, %r10
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	cmpq	$2, %rbx
	leaq	-1(%rbx), %rbx
	setl	%al
	leaq	-1(%r15), %r12
	cmpq	$1, %r15
	movq	%r12, %r15
	jle	LBB0_15
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdx, %rsi
	jae	LBB0_8
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rsi, %rax
	movq	(%rsi), %rbx
	xorq	$1, %rcx
	testq	%rbx, %rbx
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	leaq	8(%rax), %rsi
	cmpq	%rdx, %rsi
	jb	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %rax
	movq	%rax, %rsi
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%rcx, %rcx
	movq	%r11, %rax
	cmoveq	%rcx, %rax
	orq	%rax, %r14
	cmpq	$1, %r9
	jle	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	decq	%r9
	cmpq	$1, %r11
	jbe	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	sarq	%r11
	jmp	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, (%r10)
	addq	$8, %r10
	movl	$128, %r11d
	jmp	LBB0_13
LBB0_15:
	cmpq	$128, %r11
	je	LBB0_17
## %bb.16:
	movq	%r14, (%r10)
LBB0_17:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pfr_bitwriter_decode_rle2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pfr_bitwriter_decode_rle2
_pfr_bitwriter_decode_rle2:             ; @pfr_bitwriter_decode_rle2
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	cmp	x8, #1
	b.lt	LBB0_17
; %bb.1:
	mov	x11, #0
	mov	x14, #0
	ldr	x9, [x0, #16]
	ldr	x10, [x0]
	mov	w16, #1
	mov	w15, #128
	mov	x13, x9
	mov	w12, #1
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	x11, [x13]
	ldr	x10, [x0]
	ldrsw	x11, [x0, #24]
	add	x9, x9, x11, lsl #3
	str	x9, [x0, #16]
	mov	x13, x9
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w15, #128
	mov	x11, #0
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	x14, #2
	sub	x14, x14, #1
	cset	w16, lt
	subs	x8, x8, #1
	b.le	LBB0_15
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cbz	x16, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x1, x2
	b.hs	LBB0_11
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x16, x1
	ldr	x14, [x1], #8
	eor	x12, x12, #0x1
	cbnz	x14, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	x1, x2
	b.lo	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x14, #0
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, x16, #8
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x12, #0
	csel	x16, xzr, x15, eq
	orr	x11, x16, x11
	subs	x10, x10, #1
	b.le	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	x15, #1
	b.ls	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	asr	x15, x15, #1
	b	LBB0_4
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x11, [x13], #8
	b	LBB0_3
LBB0_15:
	cmp	x15, #128
	b.eq	LBB0_17
; %bb.16:
	str	x11, [x13]
LBB0_17:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pfr_bitwriter_decode_rle2
.subsections_via_symbols
