	.file	"extr_sst-haswell-dsp.c_hsw_block_get_bit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hsw_block_get_bit, @function
hsw_block_get_bit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	xor	ebx, ebx
	mov	rbp, QWORD PTR 16[rdi]
	mov	rdi, QWORD PTR sram_shift[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	lea	rax, [rbx+rbx*2]
	mov	rdx, QWORD PTR 0[rbp]
	cmp	QWORD PTR [rdi+rax*8], rdx
	je	.L3
	add	rbx, 1
.L2:
	call	ARRAY_SIZE@PLT
	mov	rdi, QWORD PTR sram_shift[rip]
	cmp	rax, rbx
	ja	.L4
.L3:
	call	ARRAY_SIZE@PLT
	xor	ecx, ecx
	cmp	rax, rbx
	jbe	.L5
	mov	eax, DWORD PTR [r12]
	cmp	eax, 128
	je	.L6
	cmp	eax, 129
	je	.L11
.L5:
	add	ecx, DWORD PTR 8[r12]
	mov	eax, 1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	sal	eax, cl
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	cdqe
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rcx, QWORD PTR sram_shift[rip]
	lea	rax, [rbx+rbx*2]
	lea	rax, [rcx+rax*8]
	mov	ecx, DWORD PTR 8[rax]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdx, QWORD PTR sram_shift[rip]
	lea	rax, [rbx+rbx*2]
	lea	rax, [rdx+rax*8]
	mov	ecx, DWORD PTR 16[rax]
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	hsw_block_get_bit, .-hsw_block_get_bit
	.comm	sram_shift,8,8
	.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_sst-haswell-dsp.c_hsw_block_get_bit.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hsw_block_get_bit, %function
hsw_block_get_bit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, .L12
	mov	r6, r0
	ldr	r7, [r0, #8]
	mov	r4, #0
	ldr	r0, [r5]
	b	.L2
.L4:
	ldr	r2, [r7]
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, r2
	beq	.L3
	add	r4, r4, #1
.L2:
	bl	ARRAY_SIZE
	cmp	r0, r4
	add	r3, r4, r4, lsl #1
	ldr	r0, [r5]
	bhi	.L4
.L3:
	bl	ARRAY_SIZE
	cmp	r0, r4
	bls	.L8
	ldr	r3, [r6]
	cmp	r3, #128
	beq	.L6
	cmp	r3, #129
	beq	.L11
.L8:
	mov	r3, #0
.L5:
	mov	r0, #1
	ldr	r2, [r6, #4]
	add	r3, r3, r2
	lsl	r0, r0, r3
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r3, [r5]
	add	r4, r4, r4, lsl #1
	add	r4, r3, r4, lsl #2
	ldr	r3, [r4, #4]
	b	.L5
.L6:
	ldr	r3, [r5]
	add	r4, r4, r4, lsl #1
	add	r4, r3, r4, lsl #2
	ldr	r3, [r4, #8]
	b	.L5
.L13:
	.align	2
.L12:
	.word	sram_shift
	.size	hsw_block_get_bit, .-hsw_block_get_bit
	.comm	sram_shift,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
