	.file	"extr_utils.c_iwl_mvm_get_wd_timeout.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	iwl_mvm_get_wd_timeout
	.type	iwl_mvm_get_wd_timeout, @function
iwl_mvm_get_wd_timeout:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, ecx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r14d, DWORD PTR IWL_DEF_WD_TIMEOUT[rip]
	test	ecx, ecx
	jne	.L3
	mov	rax, QWORD PTR [rdi]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	r14d, DWORD PTR [rax]
.L3:
	mov	rdi, QWORD PTR 8[rbx]
	mov	esi, DWORD PTR FW_DBG_TRIGGER_TXQ_TIMERS[rip]
	call	iwl_fw_dbg_trigger_enabled@PLT
	mov	rdi, QWORD PTR 8[rbx]
	test	eax, eax
	jne	.L4
	mov	esi, DWORD PTR IWL_UCODE_TLV_CAPA_STA_PM_NOTIF[rip]
	call	fw_has_capa@PLT
	test	rax, rax
	je	.L5
	test	r12, r12
	je	.L5
	cmp	QWORD PTR [r12], 133
	je	.L7
.L5:
	cmp	QWORD PTR iwlmvm_mod_params[rip], 0
	jne	.L1
.L7:
	mov	r14d, DWORD PTR IWL_WATCHDOG_DISABLED[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	esi, DWORD PTR FW_DBG_TRIGGER_TXQ_TIMERS[rip]
	call	iwl_fw_dbg_get_trigger@PLT
	mov	r15, QWORD PTR [rax]
	test	r13d, r13d
	jne	.L27
	test	ebp, ebp
	jne	.L28
	xor	edi, edi
	test	r12, r12
	sete	dil
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L1
	mov	rdi, r12
	call	ieee80211_vif_type_p2p@PLT
	add	eax, -128
	cmp	eax, 6
	ja	.L10
	lea	rdx, .L12[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L12:
	.long	.L17-.L12
	.long	.L16-.L12
	.long	.L15-.L12
	.long	.L14-.L12
	.long	.L1-.L12
	.long	.L13-.L12
	.long	.L11-.L12
	.text
	.p2align 4,,10
	.p2align 3
.L27:
	mov	edi, DWORD PTR 28[r15]
.L25:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	le32_to_cpu@PLT
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	mov	edi, DWORD PTR 24[r15]
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, DWORD PTR 12[r15]
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR 8[r15]
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edi, DWORD PTR [r15]
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, DWORD PTR 4[r15]
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR 16[r15]
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, DWORD PTR 20[r15]
	jmp	.L25
.L10:
	mov	edi, 1
	call	WARN_ON@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	r14d, DWORD PTR [rax]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	iwl_mvm_get_wd_timeout, .-iwl_mvm_get_wd_timeout
	.comm	iwlmvm_mod_params,8,8
	.comm	IWL_WATCHDOG_DISABLED,4,4
	.comm	IWL_UCODE_TLV_CAPA_STA_PM_NOTIF,4,4
	.comm	IWL_DEF_WD_TIMEOUT,4,4
	.comm	FW_DBG_TRIGGER_TXQ_TIMERS,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_utils.c_iwl_mvm_get_wd_timeout.c"
	.text
	.align	2
	.global	iwl_mvm_get_wd_timeout
	.syntax unified
	.arm
	.fpu softvfp
	.type	iwl_mvm_get_wd_timeout, %function
iwl_mvm_get_wd_timeout:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r7, r3, #0
	ldreq	r3, [r0]
	ldr	r5, .L25
	ldreq	r3, [r3]
	ldrne	r3, .L25+4
	ldreq	r3, [r3]
	mov	r4, r0
	mov	r8, r1
	ldr	r0, [r0, #4]
	ldr	r1, [r5]
	mov	r6, r2
	ldr	r9, [r3]
	bl	iwl_fw_dbg_trigger_enabled
	cmp	r0, #0
	bne	.L4
	ldr	r3, .L25+8
	ldr	r0, [r4, #4]
	ldr	r1, [r3]
	bl	fw_has_capa
	cmp	r0, #0
	cmpne	r8, #0
	beq	.L5
	ldr	r3, [r8]
	cmp	r3, #133
	beq	.L7
.L5:
	ldr	r3, .L25+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L1
.L7:
	ldr	r3, .L25+16
	ldr	r9, [r3]
.L1:
	mov	r0, r9
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	ldr	r1, [r5]
	ldr	r0, [r4, #4]
	bl	iwl_fw_dbg_get_trigger
	cmp	r6, #0
	ldr	r5, [r0]
	bne	.L23
	cmp	r7, #0
	bne	.L24
	clz	r0, r8
	lsr	r0, r0, #5
	bl	WARN_ON
	cmp	r0, #0
	bne	.L1
	mov	r0, r8
	bl	ieee80211_vif_type_p2p
	sub	r0, r0, #128
	cmp	r0, #6
	ldrls	pc, [pc, r0, asl #2]
	b	.L10
.L12:
	.word	.L17
	.word	.L16
	.word	.L15
	.word	.L14
	.word	.L1
	.word	.L13
	.word	.L11
.L23:
	ldr	r0, [r5, #28]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	le32_to_cpu
.L24:
	ldr	r0, [r5, #24]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	le32_to_cpu
.L11:
	ldr	r0, [r5, #20]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	le32_to_cpu
.L13:
	ldr	r0, [r5, #12]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	le32_to_cpu
.L14:
	ldr	r0, [r5, #8]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	le32_to_cpu
.L15:
	ldr	r0, [r5]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	le32_to_cpu
.L16:
	ldr	r0, [r5, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	le32_to_cpu
.L17:
	ldr	r0, [r5, #16]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	le32_to_cpu
.L10:
	mov	r0, #1
	bl	WARN_ON
	ldr	r3, [r4]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r9, [r3]
	b	.L1
.L26:
	.align	2
.L25:
	.word	FW_DBG_TRIGGER_TXQ_TIMERS
	.word	IWL_DEF_WD_TIMEOUT
	.word	IWL_UCODE_TLV_CAPA_STA_PM_NOTIF
	.word	iwlmvm_mod_params
	.word	IWL_WATCHDOG_DISABLED
	.size	iwl_mvm_get_wd_timeout, .-iwl_mvm_get_wd_timeout
	.comm	iwlmvm_mod_params,4,4
	.comm	IWL_WATCHDOG_DISABLED,4,4
	.comm	IWL_UCODE_TLV_CAPA_STA_PM_NOTIF,4,4
	.comm	IWL_DEF_WD_TIMEOUT,4,4
	.comm	FW_DBG_TRIGGER_TXQ_TIMERS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
