	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inflate16
_inflate16:                             ## @inflate16
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	movq	%r8, %r12
	movslq	%ecx, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %eax
	shlq	$3, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rsi,%r13), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	_AV_RN16A
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx), %rdi
	movl	16(%rbp), %esi
	callq	_FFMIN
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rdi
	addq	%r13, %rdi
	callq	_AV_RN16A
	movq	%rax, %r14
	movq	8(%r12), %rdi
	addq	%r13, %rdi
	callq	_AV_RN16A
	movq	%rax, %r15
	addl	%r14d, %r15d
	movq	16(%r12), %rdi
	addq	%r13, %rdi
	callq	_AV_RN16A
	movq	%rax, %rbx
	addl	%r15d, %ebx
	movq	24(%r12), %rdi
	addq	%r13, %rdi
	callq	_AV_RN16A
	movq	%rax, %r14
	addl	%ebx, %r14d
	movq	32(%r12), %rdi
	addq	%r13, %rdi
	callq	_AV_RN16A
	movq	%rax, %rbx
	addl	%r14d, %ebx
	movq	40(%r12), %rdi
	addq	%r13, %rdi
	callq	_AV_RN16A
	movq	%rax, %r14
	addl	%ebx, %r14d
	movq	48(%r12), %rdi
	addq	%r13, %rdi
	callq	_AV_RN16A
	movq	%rax, %rbx
	addl	%r14d, %ebx
	movq	56(%r12), %rdi
	addq	%r13, %rdi
	callq	_AV_RN16A
	movl	%ebx, %ecx
	addl	%eax, %ecx
	leal	7(%rax,%rbx), %ebx
	cmovnsl	%ecx, %ebx
	sarl	$3, %ebx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_AV_RN16A
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_FFMAX
	movq	%rax, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_FFMIN
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, (%rdi,%r13)
	addq	$8, %r13
	cmpq	%r13, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_2
LBB0_3:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_inflate16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inflate16
_inflate16:                             ; @inflate16
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
                                        ; kill: def $w3 killed $w3 def $x3
	cmp	w2, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x6
	mov	x20, x4
	mov	x21, x1
	mov	x22, x0
	mov	x26, #0
	sxtw	x27, w3
	mov	w8, w2
	lsl	x28, x8, #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x23, x21, x26
	mov	x0, x23
	bl	_AV_RN16A
	add	x0, x0, x27
	mov	x1, x19
	bl	_FFMIN
	mov	x24, x0
	ldr	x8, [x20]
	add	x0, x8, x26
	bl	_AV_RN16A
	mov	x25, x0
	ldr	x8, [x20, #8]
	add	x0, x8, x26
	bl	_AV_RN16A
	add	w25, w25, w0
	ldr	x8, [x20, #16]
	add	x0, x8, x26
	bl	_AV_RN16A
	add	w25, w25, w0
	ldr	x8, [x20, #24]
	add	x0, x8, x26
	bl	_AV_RN16A
	add	w25, w25, w0
	ldr	x8, [x20, #32]
	add	x0, x8, x26
	bl	_AV_RN16A
	add	w25, w25, w0
	ldr	x8, [x20, #40]
	add	x0, x8, x26
	bl	_AV_RN16A
	add	w25, w25, w0
	ldr	x8, [x20, #48]
	add	x0, x8, x26
	bl	_AV_RN16A
	add	w25, w25, w0
	ldr	x8, [x20, #56]
	add	x0, x8, x26
	bl	_AV_RN16A
	add	w8, w25, w0
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w25, w8, #3
	mov	x0, x23
	bl	_AV_RN16A
	mov	x1, x0
	mov	x0, x25
	bl	_FFMAX
	mov	x1, x24
	bl	_FFMIN
	str	x0, [x22, x26]
	add	x26, x26, #8
	cmp	x28, x26
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_inflate16
.subsections_via_symbols
