	.file	"extr_pcie.c_mwifiex_pcie_ok_to_access_hw.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"info: ACCESS_HW: sleep cookie=0x%x\n"
	.text
	.p2align 4
	.type	mwifiex_pcie_ok_to_access_hw, @function
mwifiex_pcie_ok_to_access_hw:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR [rdi]
	mov	eax, 1
	mov	rcx, QWORD PTR 8[rdx]
	mov	ecx, DWORD PTR [rcx]
	test	ecx, ecx
	je	.L7
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	xor	eax, eax
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR [rdx]
	test	rdi, rdi
	jne	.L11
	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
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	call	get_unaligned_le32@PLT
	mov	esi, DWORD PTR INFO[rip]
	mov	rdi, rbp
	lea	rdx, .LC0[rip]
	mov	rcx, rax
	mov	rbx, rax
	call	mwifiex_dbg@PLT
	xor	eax, eax
	cmp	QWORD PTR FW_AWAKE_COOKIE[rip], rbx
	sete	al
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore 3
	.cfi_restore 6
	ret
	.cfi_endproc
.LFE0:
	.size	mwifiex_pcie_ok_to_access_hw, .-mwifiex_pcie_ok_to_access_hw
	.comm	INFO,4,4
	.comm	FW_AWAKE_COOKIE,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_pcie.c_mwifiex_pcie_ok_to_access_hw.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"info: ACCESS_HW: sleep cookie=0x%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mwifiex_pcie_ok_to_access_hw, %function
mwifiex_pcie_ok_to_access_hw:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	ldr	r2, [r3, #4]
	ldr	r2, [r2]
	cmp	r2, #0
	beq	.L3
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r3]
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	bl	get_unaligned_le32
	mov	r5, r0
	ldr	r2, .L12
	mov	r3, r5
	ldr	r1, [r2]
	mov	r0, r4
	ldr	r2, .L12+4
	bl	mwifiex_dbg
	ldr	r3, .L12+8
	ldr	r2, [r3]
	sub	r0, r2, r5
	clz	r0, r0
	lsr	r0, r0, #5
	pop	{r4, r5, r6, pc}
.L3:
	mov	r0, #1
	bx	lr
.L13:
	.align	2
.L12:
	.word	INFO
	.word	.LC0
	.word	FW_AWAKE_COOKIE
	.size	mwifiex_pcie_ok_to_access_hw, .-mwifiex_pcie_ok_to_access_hw
	.comm	INFO,4,4
	.comm	FW_AWAKE_COOKIE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
