	.file	"extr_wbsd.c_wbsd_get_long_reply.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wbsd_get_long_reply, @function
wbsd_get_long_reply:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	mov	rsi, QWORD PTR WBSD_IDX_RSPLEN[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	wbsd_read_index@PLT
	cmp	eax, DWORD PTR WBSD_RSP_LONG[rip]
	je	.L4
	mov	eax, DWORD PTR EILSEQ[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	eax
	mov	DWORD PTR 8[r12], eax
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	xor	ebx, ebx
.L2:
	mov	rsi, QWORD PTR WBSD_IDX_RESP1[rip]
	mov	rdi, rbp
	add	rsi, rbx
	call	wbsd_read_index@PLT
	mov	rdx, QWORD PTR [r12]
	mov	rsi, QWORD PTR WBSD_IDX_RESP2[rip]
	mov	rdi, rbp
	sal	eax, 24
	mov	DWORD PTR [rdx+rbx], eax
	add	rsi, rbx
	call	wbsd_read_index@PLT
	mov	rdx, QWORD PTR [r12]
	mov	rsi, QWORD PTR WBSD_IDX_RESP3[rip]
	mov	rdi, rbp
	sal	eax, 16
	add	rdx, rbx
	add	rsi, rbx
	or	DWORD PTR [rdx], eax
	call	wbsd_read_index@PLT
	mov	rdx, QWORD PTR [r12]
	mov	rsi, QWORD PTR WBSD_IDX_RESP4[rip]
	mov	rdi, rbp
	sal	eax, 8
	add	rdx, rbx
	add	rsi, rbx
	or	DWORD PTR [rdx], eax
	call	wbsd_read_index@PLT
	mov	r8d, eax
	mov	rax, QWORD PTR [r12]
	add	rax, rbx
	add	rbx, 4
	or	DWORD PTR [rax], r8d
	cmp	rbx, 16
	jne	.L2
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	wbsd_get_long_reply, .-wbsd_get_long_reply
	.comm	WBSD_RSP_LONG,4,4
	.comm	WBSD_IDX_RSPLEN,8,8
	.comm	WBSD_IDX_RESP4,8,8
	.comm	WBSD_IDX_RESP3,8,8
	.comm	WBSD_IDX_RESP2,8,8
	.comm	WBSD_IDX_RESP1,8,8
	.comm	EILSEQ,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_wbsd.c_wbsd_get_long_reply.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wbsd_get_long_reply, %function
wbsd_get_long_reply:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r1
	ldr	r1, [r3]
	mov	r6, r0
	bl	wbsd_read_index
	ldr	r3, .L8+4
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L4
	ldr	r3, .L8+8
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [r5, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	mov	r4, #0
	ldr	r10, .L8+12
	ldr	r9, .L8+16
	ldr	r8, .L8+20
	ldr	r7, .L8+24
.L2:
	ldr	r1, [r10]
	mov	r0, r6
	add	r1, r4, r1
	bl	wbsd_read_index
	ldr	r3, [r5]
	ldr	r1, [r9]
	lsl	r0, r0, #24
	str	r0, [r3, r4]
	add	r1, r4, r1
	mov	r0, r6
	bl	wbsd_read_index
	ldr	r2, [r5]
	ldr	r1, [r8]
	ldr	r3, [r2, r4]
	add	r1, r4, r1
	orr	r3, r3, r0, lsl #16
	str	r3, [r2, r4]
	mov	r0, r6
	bl	wbsd_read_index
	ldr	r2, [r5]
	ldr	r1, [r7]
	ldr	r3, [r2, r4]
	add	r1, r4, r1
	orr	r3, r3, r0, lsl #8
	str	r3, [r2, r4]
	mov	r0, r6
	bl	wbsd_read_index
	ldr	r2, [r5]
	ldr	r3, [r2, r4]
	orr	r3, r3, r0
	str	r3, [r2, r4]
	add	r4, r4, #4
	cmp	r4, #16
	bne	.L2
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	.align	2
.L8:
	.word	WBSD_IDX_RSPLEN
	.word	WBSD_RSP_LONG
	.word	EILSEQ
	.word	WBSD_IDX_RESP1
	.word	WBSD_IDX_RESP2
	.word	WBSD_IDX_RESP3
	.word	WBSD_IDX_RESP4
	.size	wbsd_get_long_reply, .-wbsd_get_long_reply
	.comm	WBSD_RSP_LONG,4,4
	.comm	WBSD_IDX_RSPLEN,4,4
	.comm	WBSD_IDX_RESP4,4,4
	.comm	WBSD_IDX_RESP3,4,4
	.comm	WBSD_IDX_RESP2,4,4
	.comm	WBSD_IDX_RESP1,4,4
	.comm	EILSEQ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
