	.file	"extr_wsm.c_wsm_startup_indication.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"CW1200 WSM init done.\n   Input buffers: %d x %d bytes\n   Hardware: %d.%d\n   %s firmware [%s], ver: %d, build: %d,   api: %d, cap: 0x%.4X\n"
	.text
	.p2align 4
	.type	wsm_startup_indication, @function
wsm_startup_indication:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	mov	rdi, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	WSM_GET16@PLT
	mov	rdi, rbp
	mov	QWORD PTR 88[rbx], rax
	call	WSM_GET16@PLT
	mov	rdi, rbp
	mov	QWORD PTR 80[rbx], rax
	call	WSM_GET16@PLT
	mov	rdi, rbp
	mov	QWORD PTR 72[rbx], rax
	call	WSM_GET16@PLT
	mov	rdi, rbp
	mov	QWORD PTR 64[rbx], rax
	call	WSM_GET16@PLT
	mov	rdi, rbp
	mov	DWORD PTR 16[rbx], eax
	call	WSM_GET16@PLT
	mov	rdi, rbp
	mov	DWORD PTR 20[rbx], eax
	call	WSM_GET16@PLT
	mov	rdi, rbp
	mov	DWORD PTR 24[rbx], eax
	call	WSM_GET16@PLT
	mov	rdi, rbp
	mov	QWORD PTR 32[rbx], rax
	call	WSM_GET16@PLT
	mov	rdi, rbp
	mov	QWORD PTR 40[rbx], rax
	call	WSM_GET16@PLT
	mov	rsi, QWORD PTR 56[rbx]
	mov	rdi, rbp
	mov	edx, 8
	mov	QWORD PTR 48[rbx], rax
	call	WSM_GET@PLT
	mov	rax, QWORD PTR 56[rbx]
	mov	edi, DWORD PTR 16[rbx]
	mov	QWORD PTR 56[rax], 0
	call	WARN_ON@PLT
	test	rax, rax
	je	.L2
.L8:
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	edi, edi
	cmp	DWORD PTR 24[rbx], 4
	setg	dil
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L8
	movsx	rdx, DWORD PTR 24[rbx]
	mov	rax, QWORD PTR cw1200_fw_types[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	lea	rdi, .LC0[rip]
	mov	rcx, QWORD PTR 72[rbx]
	mov	rsi, QWORD PTR 88[rbx]
	mov	r9d, DWORD PTR [rax+rdx*4]
	mov	eax, DWORD PTR 20[rbx]
	mov	rdx, QWORD PTR 80[rbx]
	mov	r8, QWORD PTR 64[rbx]
	push	rax
	.cfi_def_cfa_offset 48
	push	QWORD PTR 32[rbx]
	.cfi_def_cfa_offset 56
	push	QWORD PTR 40[rbx]
	.cfi_def_cfa_offset 64
	push	QWORD PTR 48[rbx]
	.cfi_def_cfa_offset 72
	push	QWORD PTR 56[rbx]
	.cfi_def_cfa_offset 80
	call	pr_info@PLT
	mov	eax, DWORD PTR 20[rbx]
	add	rsp, 48
	.cfi_def_cfa_offset 32
	test	al, 1
	jne	.L5
	mov	rdx, QWORD PTR 8[rbx]
	mov	rcx, QWORD PTR NL80211_BAND_2GHZ[rip]
	mov	rdx, QWORD PTR [rdx]
	mov	rdx, QWORD PTR [rdx]
	mov	QWORD PTR [rdx+rcx*8], 0
.L5:
	test	al, 2
	jne	.L6
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR NL80211_BAND_5GHZ[rip]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rax+rdx*8], 0
.L6:
	mov	DWORD PTR [rbx], 1
	lea	rdi, 4[rbx]
	call	wake_up@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	wsm_startup_indication, .-wsm_startup_indication
	.comm	cw1200_fw_types,8,8
	.comm	NL80211_BAND_5GHZ,8,8
	.comm	NL80211_BAND_2GHZ,8,8
	.comm	EINVAL,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_wsm.c_wsm_startup_indication.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"CW1200 WSM init done.\012   Input buffers: %d x %d "
	.ascii	"bytes\012   Hardware: %d.%d\012   %s firmware [%s],"
	.ascii	" ver: %d, build: %d,   api: %d, cap: 0x%.4X\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wsm_startup_indication, %function
wsm_startup_indication:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	sub	sp, sp, #36
	mov	r0, r1
	mov	r5, r1
	bl	WSM_GET16
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #52]
	bl	WSM_GET16
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #48]
	bl	WSM_GET16
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #44]
	bl	WSM_GET16
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #40]
	bl	WSM_GET16
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #12]
	bl	WSM_GET16
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #16]
	bl	WSM_GET16
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #20]
	bl	WSM_GET16
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #24]
	bl	WSM_GET16
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #28]
	bl	WSM_GET16
	mov	r2, #4
	ldr	r1, [r4, #36]
	str	r0, [r4, #32]
	mov	r0, r5
	bl	WSM_GET
	mov	r2, #0
	ldr	r3, [r4, #36]
	ldr	r0, [r4, #12]
	str	r2, [r3, #12]
	bl	WARN_ON
	cmp	r0, #0
	beq	.L2
.L8:
	ldr	r3, .L10
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	ldr	r0, [r4, #20]
	cmp	r0, #4
	movle	r0, #0
	movgt	r0, #1
	bl	WARN_ON
	subs	r5, r0, #0
	bne	.L8
	ldr	r1, [r4, #16]
	ldr	r3, .L10+4
	ldr	r2, [r4, #24]
	ldr	r3, [r3]
	ldr	r0, [r4, #32]
	ldr	ip, [r4, #28]
	str	r1, [sp, #24]
	ldr	r1, [r4, #36]
	str	r2, [sp, #20]
	ldr	r2, [r4, #20]
	str	r0, [sp, #12]
	str	ip, [sp, #16]
	str	r1, [sp, #8]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [r4, #40]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, [r4, #44]
	ldr	r2, [r4, #48]
	ldr	r1, [r4, #52]
	ldr	r0, .L10+8
	bl	pr_info
	ldr	r3, [r4, #16]
	tst	r3, #1
	bne	.L5
	ldr	r2, [r4, #8]
	ldr	r1, .L10+12
	ldr	r2, [r2]
	ldr	r1, [r1]
	ldr	r2, [r2]
	str	r5, [r2, r1, lsl #2]
.L5:
	ands	r3, r3, #2
	bne	.L6
	ldr	r2, [r4, #8]
	ldr	r1, .L10+16
	ldr	r2, [r2]
	ldr	r1, [r1]
	ldr	r2, [r2]
	str	r3, [r2, r1, lsl #2]
.L6:
	mov	r0, r4
	mov	r3, #1
	str	r3, [r0], #4
	bl	wake_up
	mov	r0, r5
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, pc}
.L11:
	.align	2
.L10:
	.word	EINVAL
	.word	cw1200_fw_types
	.word	.LC0
	.word	NL80211_BAND_2GHZ
	.word	NL80211_BAND_5GHZ
	.size	wsm_startup_indication, .-wsm_startup_indication
	.comm	cw1200_fw_types,4,4
	.comm	NL80211_BAND_5GHZ,4,4
	.comm	NL80211_BAND_2GHZ,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
