	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pfr_bitwriter_decode_bytes
_pfr_bitwriter_decode_bytes:            ## @pfr_bitwriter_decode_bytes
	.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
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	4(%rdi), %eax
	subl	%esi, %edx
	andl	$-8, %edx
	cmpl	%eax, %edx
	cmovgel	%eax, %edx
	testl	%edx, %edx
	jle	LBB0_12
## %bb.1:
	movl	(%rdi), %r8d
	movq	8(%rdi), %r9
	movl	$128, %r11d
	xorl	%r15d, %r15d
	xorl	%ecx, %ecx
	movq	%r9, %r10
	movl	%r8d, %r14d
	movl	%edx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %rax
	movq	%rax, (%r10)
	movslq	16(%rdi), %rax
	leaq	(%r9,%rax,8), %r9
	movq	%r9, 8(%rdi)
	xorl	%r15d, %r15d
	movl	$128, %r11d
	movl	%r8d, %r14d
	movq	%r9, %r10
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	%ecx, %ecx
	leal	-1(%rbx), %eax
	cmpl	$1, %ebx
	movl	%eax, %ebx
	jle	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	xorl	%edx, %eax
	testb	$7, %al
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rsi), %ecx
	addq	$8, %rsi
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movsbl	%cl, %eax
	sarl	$7, %eax
	andl	%r11d, %eax
	orl	%eax, %r15d
	cmpl	$1, %r14d
	jle	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	decl	%r14d
	cmpl	$1, %r11d
	jbe	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	sarl	%r11d
	jmp	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %rax
	movq	%rax, (%r10)
	addq	$8, %r10
	xorl	%r15d, %r15d
	movl	$128, %r11d
	jmp	LBB0_9
LBB0_10:
	cmpl	$128, %r11d
	je	LBB0_12
## %bb.11:
	movslq	%r15d, %rax
	movq	%rax, (%r10)
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pfr_bitwriter_decode_bytes
.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_bytes
_pfr_bitwriter_decode_bytes:            ; @pfr_bitwriter_decode_bytes
	.cfi_startproc
; %bb.0:
	sub	w8, w2, w1
	and	w8, w8, #0xfffffff8
	ldr	w9, [x0, #4]
	cmp	w8, w9
	csel	w8, w8, w9, lt
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
	mov	w15, #0
	mov	w10, #0
	ldr	w9, [x0]
	ldr	x11, [x0, #8]
	mov	w14, #128
	mov	x12, x11
	mov	x16, x9
	mov	x13, x8
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x14, w15
	ldrsw	x15, [x0, #16]
	add	x11, x11, x15, lsl #3
	str	x14, [x12]
	str	x11, [x0, #8]
	mov	w14, #128
	mov	x16, x9
	mov	x12, x11
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w15, #0
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	lsl	w10, w10, #1
	subs	w13, w13, #1
	b.le	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	eor	w17, w13, w8
	tst	w17, #0x7
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x1], #8
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	lsl	w17, w10, #24
	and	w17, w14, w17, asr #31
	orr	w15, w17, w15
	subs	w16, w16, #1
	b.le	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w14, #1
	b.ls	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	asr	w14, w14, #1
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
                                        ; kill: def $w15 killed $w15 killed $x15 def $x15
	sxtw	x14, w15
	str	x14, [x12], #8
	mov	w14, #128
	b	LBB0_3
LBB0_11:
	cmp	w14, #128
	b.eq	LBB0_13
; %bb.12:
                                        ; kill: def $w15 killed $w15 killed $x15 def $x15
	sxtw	x8, w15
	str	x8, [x12]
LBB0_13:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pfr_bitwriter_decode_bytes
.subsections_via_symbols
