	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_els_decode_bit              ## -- Begin function ff_els_decode_bit
	.p2align	4, 0x90
_ff_els_decode_bit:                     ## @ff_els_decode_bit
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	cmpq	$0, 24(%rdi)
	jne	LBB0_13
## %bb.1:
	movq	%rdi, %r12
	movq	_els_exp_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movq	_ELS_JOTS_PER_BYTE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rax,%rax,2), %r14
	leaq	(%r10,%r14,4), %r13
	movq	(%rdi), %rdx
	movq	_Ladder@GOTPCREL(%rip), %r9
	movq	(%r9), %r8
	movq	(%rsi), %rbx
	movq	%rbx, %rdi
	shlq	$5, %rdi
	movq	(%r8,%rdi), %rax
	addq	%rdx, %rax
	movl	(%r13,%rax,4), %r15d
	movl	8(%r12), %ecx
	subl	%r15d, %ecx
	movl	%ecx, 8(%r12)
	subl	%r15d, 12(%r12)
	jle	LBB0_3
## %bb.2:
	andl	$1, %ebx
	jmp	LBB0_13
LBB0_3:
	movl	16(%r12), %ebx
	subl	%ecx, %ebx
	jge	LBB0_10
## %bb.4:
	movq	24(%r8,%rdi), %rax
	addq	%rax, %rdx
	decq	%rdx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rdi
	incq	%rdx
	cmpl	4(%r13,%rdi,4), %ecx
	jg	LBB0_5
## %bb.6:
	movq	%rdx, (%r12)
	testq	%rdx, %rdx
	jne	LBB0_9
## %bb.7:
	movq	%r9, %r15
	movq	%rsi, %r14
	movq	%r12, %rdi
	callq	_els_import_byte
	testl	%eax, %eax
	js	LBB0_17
## %bb.8:
	movl	8(%r12), %ecx
	movq	(%r15), %r8
	movq	%r14, %rsi
LBB0_9:
	movq	(%rsi), %rdx
	movl	%edx, %ebx
	andl	$1, %ebx
	shlq	$5, %rdx
	leaq	(%r8,%rdx), %rax
	addq	$8, %rax
	movl	%ecx, %r15d
	jmp	LBB0_12
LBB0_10:
	movl	%ebx, 16(%r12)
	movl	%r15d, 8(%r12)
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_14
LBB0_11:
	movq	(%rsi), %rax
	movl	%eax, %ebx
	notl	%ebx
	andl	$1, %ebx
	movq	(%r9), %rcx
	shlq	$5, %rax
	addq	%rcx, %rax
	addq	$16, %rax
LBB0_12:
	movq	(%rax), %rax
	movq	%rax, (%rsi)
	movl	%r15d, %edi
	subl	16(%r12), %edi
	movq	(%r12), %rax
	subl	-4(%r13,%rax,4), %r15d
	movl	%r15d, %esi
	callq	_FFMIN
	movl	%eax, 12(%r12)
LBB0_13:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%r10, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_els_import_byte
	testl	%eax, %eax
	js	LBB0_17
## %bb.15:
	cmpq	$0, (%r12)
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	_Ladder@GOTPCREL(%rip), %r9
	je	LBB0_19
## %bb.16:
	shll	$8, %r15d
	jmp	LBB0_11
LBB0_19:
	movq	%r12, %rdi
	callq	_els_import_byte
	testl	%eax, %eax
	js	LBB0_17
## %bb.20:
	shll	$16, %r15d
	movq	(%r12), %rax
	cmpl	%r15d, -4(%r13,%rax,4)
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	_Ladder@GOTPCREL(%rip), %r9
	jl	LBB0_11
## %bb.21:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r14,4), %rcx
	addq	$-8, %rcx
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdx
	decq	%rax
	cmpl	%r15d, (%rcx,%rdx,4)
	jge	LBB0_22
## %bb.23:
	movq	%rax, (%r12)
	jmp	LBB0_11
LBB0_17:
	movl	%eax, %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_els_exp_tab,8,3                ## @els_exp_tab
	.comm	_ELS_JOTS_PER_BYTE,4,2          ## @ELS_JOTS_PER_BYTE
	.comm	_Ladder,8,3                     ## @Ladder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_els_decode_bit              ; -- Begin function ff_els_decode_bit
	.p2align	2
_ff_els_decode_bit:                     ; @ff_els_decode_bit
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w21, #0
	b	LBB0_14
LBB0_2:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _els_exp_tab@GOTPAGE
Lloh1:
	ldr	x8, [x8, _els_exp_tab@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x8]
Lloh3:
	adrp	x8, _ELS_JOTS_PER_BYTE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ELS_JOTS_PER_BYTE@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	add	x25, x8, x8, lsl #1
	add	x22, x24, x25, lsl #2
	ldr	x10, [x0]
Lloh6:
	adrp	x23, _Ladder@GOTPAGE
Lloh7:
	ldr	x23, [x23, _Ladder@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	x11, [x1]
	lsl	x8, x11, #5
	ldr	x8, [x9, x8]
	add	x12, x8, x10
	ldr	w26, [x22, x12, lsl #2]
	ldp	w8, w13, [x0, #8]
	sub	w8, w8, w26
	sub	w13, w13, w26
	stp	w8, w13, [x0, #8]
	cmp	w13, #1
	b.lt	LBB0_4
; %bb.3:
	and	w21, w11, #0x1
	b	LBB0_14
LBB0_4:
	ldr	w13, [x19, #16]
	subs	w13, w13, w8
	b.ge	LBB0_11
; %bb.5:
	add	x11, x9, x11, lsl #5
	ldr	x11, [x11, #24]
	add	x10, x11, x10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x22, x10, lsl #2]
	add	x10, x10, #1
	cmp	w8, w11
	b.gt	LBB0_6
; %bb.7:
	subs	x10, x10, #1
	str	x10, [x19]
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_els_import_byte
	tbnz	w0, #31, LBB0_23
; %bb.9:
	ldr	w8, [x19, #8]
	ldr	x9, [x23]
LBB0_10:
	ldr	x10, [x20]
	and	w21, w10, #0x1
	add	x9, x9, x10, lsl #5
	add	x9, x9, #8
	b	LBB0_13
LBB0_11:
	str	w13, [x19, #16]
	str	w26, [x19, #8]
	mov	x8, x26
	str	x12, [x19]
	cbz	x12, LBB0_15
LBB0_12:
	ldr	x9, [x20]
	mvn	w10, w9
	and	w21, w10, #0x1
	ldr	x10, [x23]
	add	x9, x10, x9, lsl #5
	add	x9, x9, #16
LBB0_13:
	ldr	x9, [x9]
	str	x9, [x20]
	ldr	w9, [x19, #16]
	sub	w0, w8, w9
	ldr	x9, [x19]
	add	x9, x22, x9, lsl #2
	ldur	w9, [x9, #-4]
	sub	w1, w8, w9
	bl	_FFMIN
	str	w0, [x19, #12]
LBB0_14:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	x0, x19
	bl	_els_import_byte
	tbnz	w0, #31, LBB0_23
; %bb.16:
	ldr	x8, [x19]
	cbz	x8, LBB0_18
; %bb.17:
	lsl	w8, w26, #8
	b	LBB0_12
LBB0_18:
	mov	x0, x19
	bl	_els_import_byte
	tbnz	w0, #31, LBB0_23
; %bb.19:
	lsl	w8, w26, #16
	ldr	x9, [x19]
	add	x10, x22, x9, lsl #2
	ldur	w10, [x10, #-4]
	cmp	w10, w8
	b.lt	LBB0_12
; %bb.20:
	add	x10, x24, x25, lsl #2
	sub	x10, x10, #8
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10, x9, lsl #2]
	sub	x9, x9, #1
	cmp	w11, w8
	b.ge	LBB0_21
; %bb.22:
	str	x9, [x19]
	b	LBB0_12
LBB0_23:
	mov	x21, x0
	b	LBB0_14
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_els_exp_tab,8,3                ; @els_exp_tab
	.comm	_ELS_JOTS_PER_BYTE,4,2          ; @ELS_JOTS_PER_BYTE
	.comm	_Ladder,8,3                     ; @Ladder
.subsections_via_symbols
