	.file	"extr_fse_compress.c_FSE_writeNCount.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	FSE_writeNCount
	.type	FSE_writeNCount, @function
FSE_writeNCount:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR FSE_MAX_TABLELOG[rip], r8d
	jb	.L9
	cmp	DWORD PTR FSE_MIN_TABLELOG[rip], r8d
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, r8d
	ja	.L10
	mov	r13, rdi
	mov	rbp, rsi
	mov	edi, ecx
	mov	esi, r8d
	mov	r14, rdx
	mov	r12d, ecx
	call	FSE_NCountWriteBound@PLT
	xor	r9d, r9d
	cmp	rax, rbp
	ja	.L7
	mov	r9d, 1
.L7:
	mov	r8d, ebx
	mov	ecx, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_restore 3
	.cfi_def_cfa_offset 40
	mov	rdx, r14
	mov	rsi, rbp
	mov	rdi, r13
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 8
	jmp	FSE_writeNCount_generic@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR GENERIC[rip]
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 8
	jmp	ERROR@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, DWORD PTR tableLog_tooLarge[rip]
	jmp	ERROR@PLT
	.cfi_endproc
.LFE0:
	.size	FSE_writeNCount, .-FSE_writeNCount
	.comm	tableLog_tooLarge,4,4
	.comm	GENERIC,4,4
	.comm	FSE_MIN_TABLELOG,4,4
	.comm	FSE_MAX_TABLELOG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_fse_compress.c_FSE_writeNCount.c"
	.text
	.align	2
	.global	FSE_writeNCount
	.syntax unified
	.arm
	.fpu softvfp
	.type	FSE_writeNCount, %function
FSE_writeNCount:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	ip, .L11
	sub	sp, sp, #8
	ldr	r7, [sp, #32]
	ldr	ip, [ip]
	cmp	ip, r7
	ldrcc	r3, .L11+4
	bcc	.L8
	mov	r5, r3
	ldr	r3, .L11+8
	ldr	r3, [r3]
	cmp	r3, r7
	bhi	.L10
	mov	r4, r1
	mov	r8, r0
	mov	r1, r7
	mov	r0, r5
	mov	r6, r2
	bl	FSE_NCountWriteBound
	cmp	r0, r4
	movhi	ip, #0
	movls	ip, #1
	mov	r3, r5
	mov	r2, r6
	mov	r1, r4
	mov	r0, r8
	str	r7, [sp]
	str	ip, [sp, #4]
	bl	FSE_writeNCount_generic
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r3, .L11+12
.L8:
	ldr	r0, [r3]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	ERROR
.L12:
	.align	2
.L11:
	.word	FSE_MAX_TABLELOG
	.word	tableLog_tooLarge
	.word	FSE_MIN_TABLELOG
	.word	GENERIC
	.size	FSE_writeNCount, .-FSE_writeNCount
	.comm	tableLog_tooLarge,4,4
	.comm	GENERIC,4,4
	.comm	FSE_MIN_TABLELOG,4,4
	.comm	FSE_MAX_TABLELOG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
