	.file	"extr_sdio.c_mwifiex_get_wr_port_data.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"data: mp_wr_bitmap=0x%08x\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"invalid data port=%d cur port=%d mp_wr_bitmap=0x%08x -> 0x%08x\n"
	.align 8
.LC2:
	.string	"data: port=%d mp_wr_bitmap=0x%08x -> 0x%08x\n"
	.text
	.p2align 4
	.type	mwifiex_get_wr_port_data, @function
mwifiex_get_wr_port_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	eax, eax
	lea	rdx, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	mov	esi, DWORD PTR DATA[rip]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, QWORD PTR 8[rdi]
	mov	r13d, DWORD PTR [rbx]
	mov	r14, QWORD PTR 24[rbx]
	mov	ecx, r13d
	call	mwifiex_dbg@PLT
	test	DWORD PTR 4[rbx], r13d
	je	.L4
	mov	eax, DWORD PTR [rbx]
	mov	edx, DWORD PTR 8[rbx]
	bt	eax, edx
	jnc	.L4
	btr	eax, edx
	mov	DWORD PTR [rbx], eax
	mov	DWORD PTR [r12], edx
	mov	eax, DWORD PTR 8[rbx]
	add	eax, 1
	mov	DWORD PTR 8[rbx], eax
	cmp	eax, DWORD PTR 12[rbx]
	jne	.L5
	mov	eax, DWORD PTR [r14]
	mov	DWORD PTR 8[rbx], eax
.L5:
	cmp	QWORD PTR 16[rbx], 0
	mov	ecx, DWORD PTR [r12]
	mov	r9d, DWORD PTR [rbx]
	je	.L6
	cmp	DWORD PTR CTRL_PORT[rip], ecx
	je	.L12
.L6:
	mov	esi, DWORD PTR DATA[rip]
	mov	r8d, r13d
	mov	rdi, rbp
	xor	eax, eax
	lea	rdx, .LC2[rip]
	call	mwifiex_dbg@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, DWORD PTR EBUSY[rip]
	mov	DWORD PTR 0[rbp], 1
	neg	eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	mov	r8d, DWORD PTR 8[rbx]
	push	rax
	.cfi_def_cfa_offset 56
	lea	rdx, .LC1[rip]
	mov	rdi, rbp
	push	r9
	.cfi_def_cfa_offset 64
	mov	esi, DWORD PTR ERROR[rip]
	mov	r9d, r13d
	xor	eax, eax
	call	mwifiex_dbg@PLT
	pop	rdx
	.cfi_def_cfa_offset 56
	or	eax, -1
	pop	rcx
	.cfi_def_cfa_offset 48
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	mwifiex_get_wr_port_data, .-mwifiex_get_wr_port_data
	.comm	ERROR,4,4
	.comm	EBUSY,4,4
	.comm	DATA,4,4
	.comm	CTRL_PORT,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_sdio.c_mwifiex_get_wr_port_data.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"data: mp_wr_bitmap=0x%08x\012\000"
	.align	2
.LC1:
	.ascii	"invalid data port=%d cur port=%d mp_wr_bitmap=0x%08"
	.ascii	"x -> 0x%08x\012\000"
	.align	2
.LC2:
	.ascii	"data: port=%d mp_wr_bitmap=0x%08x -> 0x%08x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mwifiex_get_wr_port_data, %function
mwifiex_get_wr_port_data:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r4, [r0, #4]
	ldr	r8, .L16
	ldr	r7, [r4]
	mov	r6, r1
	mov	r3, r7
	ldr	r1, [r8]
	ldr	r2, .L16+4
	sub	sp, sp, #20
	mov	r5, r0
	ldr	r9, [r4, #20]
	bl	mwifiex_dbg
	ldr	r3, [r4, #4]
	tst	r7, r3
	beq	.L4
	ldr	r3, [r4]
	ldr	r2, [r4, #8]
	asr	r1, r3, r2
	tst	r1, #1
	beq	.L4
	mov	r1, #1
	bic	r3, r3, r1, lsl r2
	str	r3, [r4]
	str	r2, [r6]
	ldr	r3, [r4, #8]
	ldr	r2, [r4, #12]
	add	r3, r3, r1
	cmp	r3, r2
	str	r3, [r4, #8]
	ldr	r2, [r4, #16]
	ldreq	r3, [r9]
	streq	r3, [r4, #8]
	cmp	r2, #0
	ldr	r3, [r6]
	ldr	r2, [r4]
	beq	.L6
	ldr	r1, .L16+8
	ldr	r1, [r1]
	cmp	r1, r3
	beq	.L15
.L6:
	str	r2, [sp, #4]
	mov	r0, r5
	ldr	r1, [r8]
	ldr	r2, .L16+12
	str	r7, [sp]
	bl	mwifiex_dbg
	mov	r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L4:
	mov	r2, #1
	ldr	r3, .L16+16
	str	r2, [r5]
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L15:
	str	r2, [sp, #8]
	str	r7, [sp, #4]
	ldr	r3, [r4, #8]
	ldr	r2, .L16+20
	str	r3, [sp]
	mov	r0, r5
	mov	r3, r1
	ldr	r1, [r2]
	ldr	r2, .L16+24
	bl	mwifiex_dbg
	mvn	r0, #0
	b	.L1
.L17:
	.align	2
.L16:
	.word	DATA
	.word	.LC0
	.word	CTRL_PORT
	.word	.LC2
	.word	EBUSY
	.word	ERROR
	.word	.LC1
	.size	mwifiex_get_wr_port_data, .-mwifiex_get_wr_port_data
	.comm	ERROR,4,4
	.comm	EBUSY,4,4
	.comm	DATA,4,4
	.comm	CTRL_PORT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
