	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_adaptive6
_decode_adaptive6:                      ## @decode_adaptive6
	.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	%rcx, %r9
	movl	%esi, %r13d
	movq	%rdi, %r14
	movl	(%rdi), %r15d
	testl	%r15d, %r15d
	jle	LBB0_1
## %bb.3:
	movq	8(%r14), %rdi
	xorl	%esi, %esi
	xorl	%r11d, %r11d
	xorl	%r10d, %r10d
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rsi
	cmpq	%rsi, %r15
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rdi,%rsi,8), %eax
	cmpl	%r13d, %eax
	jg	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rdi,%rsi,8), %ebx
	leal	(%rbx,%rax), %ecx
	cmpl	%r13d, %ecx
	jg	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r12d, %eax
	jl	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r14), %rcx
	movl	(%rcx,%rsi,4), %r10d
	movl	%eax, %r12d
	movl	%ebx, %r11d
	jmp	LBB0_8
LBB0_9:
	movl	24(%r14), %ecx
	movl	$1, %r15d
	shll	%cl, %r15d
	testl	%r11d, %r11d
	jle	LBB0_2
## %bb.10:
	addl	%r12d, %r11d
	subl	%r11d, %r13d
	sarl	%cl, %r13d
	leal	(%r10,%r13), %eax
	incl	%eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r13d
	addl	%r11d, %r13d
	movl	%r13d, %r12d
	movl	%eax, %r13d
	jmp	LBB0_11
LBB0_1:
	movl	24(%r14), %ecx
	movl	$1, %r15d
	shll	%cl, %r15d
LBB0_2:
	sarl	%cl, %r13d
	movl	%r13d, %r12d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r12d
LBB0_11:
	movl	%r15d, (%r9)
	movl	%r12d, (%r8)
	movl	%r13d, (%rdx)
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	callq	_add_dec
	movl	%eax, %esi
	testl	%eax, %eax
	jns	LBB0_14
## %bb.12:
	xorl	%eax, %eax
	cmpl	$64, 28(%r14)
	je	LBB0_15
## %bb.13:
	movq	%r14, %rdi
	callq	_grow_dec
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	callq	_add_dec
	movl	%eax, %esi
	jmp	LBB0_14
LBB0_16:
	movq	16(%r14), %rcx
	movl	(%rcx,%rsi,4), %ecx
	movl	%ecx, (%rdx)
	movl	%ebx, (%r9)
	movl	%eax, (%r8)
LBB0_14:
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_incr_cntdec
	movl	$1, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_adaptive6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_adaptive6
_decode_adaptive6:                      ; @decode_adaptive6
	.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
	mov	x19, x0
	ldr	w10, [x0]
	cmp	w10, #0
	b.le	LBB0_9
; %bb.1:
	mov	x8, #0
	mov	w12, #0
	mov	w9, #0
	mov	w11, #0
	ldr	x13, [x19, #8]
	add	x13, x13, #4
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	add	x13, x13, #8
	cmp	x10, x8
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x13]
	cmp	w14, w1
	b.gt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w15, [x13, #-4]
	add	w16, w15, w14
	cmp	w16, w1
	b.gt	LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w14, w11
	b.lt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19, #16]
	ldr	w9, [x9, x8, lsl #2]
	mov	x11, x14
	mov	x12, x15
	b	LBB0_2
LBB0_7:
	ldr	w8, [x19, #24]
	mov	w10, #1
	lsl	w20, w10, w8
	cmp	w12, #1
	b.lt	LBB0_10
; %bb.8:
	add	w10, w12, w11
	sub	w11, w1, w10
	asr	w11, w11, w8
	add	w9, w9, w11
	add	w21, w9, #1
	lsl	w8, w11, w8
	add	w22, w8, w10
	b	LBB0_11
LBB0_9:
	ldr	w8, [x19, #24]
	mov	w9, #1
	lsl	w20, w9, w8
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_10:
	asr	w21, w1, w8
	lsl	w22, w21, w8
LBB0_11:
	str	w20, [x3]
	str	w22, [x4]
	str	w21, [x2]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
	bl	_add_dec
	mov	x8, x0
	tbz	w0, #31, LBB0_16
; %bb.12:
	ldr	w8, [x19, #28]
	cmp	w8, #64
	b.ne	LBB0_15
; %bb.13:
	mov	w0, #0
	b	LBB0_17
LBB0_14:
	ldr	x9, [x19, #16]
	ldr	w9, [x9, x8, lsl #2]
	str	w9, [x2]
	str	w15, [x3]
	str	w14, [x4]
	b	LBB0_16
LBB0_15:
	mov	x0, x19
	bl	_grow_dec
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
	bl	_add_dec
	mov	x8, x0
LBB0_16:
	mov	x0, x19
	mov	x1, x8
	bl	_incr_cntdec
	mov	w0, #1
LBB0_17:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decode_adaptive6
.subsections_via_symbols
