	.file	"extr_ncsi-manage.c_ncsi_request_timeout.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ncsi_request_timeout, @function
ncsi_request_timeout:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rsi, rdi
	xor	edi, edi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR timer[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	from_timer@PLT
	xor	esi, esi
	mov	r12, QWORD PTR 32[rax]
	mov	rbp, rax
	mov	rdi, r12
	call	spin_lock_irqsave@PLT
	xor	esi, esi
	cmp	QWORD PTR 24[rbp], 0
	mov	rdi, r12
	mov	DWORD PTR 0[rbp], 0
	jne	.L2
	cmp	QWORD PTR 16[rbp], 0
	jne	.L3
.L2:
	call	spin_unlock_irqrestore@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	call	spin_unlock_irqrestore@PLT
	mov	rax, QWORD PTR NCSI_REQ_FLAG_NETLINK_DRIVEN[rip]
	cmp	QWORD PTR 8[rbp], rax
	je	.L13
.L5:
	mov	rdi, rbp
	call	ncsi_free_request@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, QWORD PTR 16[rbp]
	test	rdi, rdi
	je	.L5
	call	skb_network_header@PLT
	lea	rdx, 8[rsp]
	mov	rdi, r12
	lea	rcx, 16[rsp]
	mov	esi, DWORD PTR [rax]
	call	ncsi_find_package_and_channel@PLT
	mov	rdx, QWORD PTR 16[rsp]
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbp
	call	ncsi_send_netlink_timeout@PLT
	jmp	.L5
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ncsi_request_timeout, .-ncsi_request_timeout
	.comm	timer,4,4
	.comm	nr,8,8
	.comm	NCSI_REQ_FLAG_NETLINK_DRIVEN,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_ncsi-manage.c_ncsi_request_timeout.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ncsi_request_timeout, %function
ncsi_request_timeout:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L14
	mov	r1, r0
	ldr	r2, [r3]
	ldr	r3, .L14+4
	sub	sp, sp, #20
	mov	r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	from_timer
	ldr	r5, [r0, #16]
	mov	r4, r0
	mov	r1, #0
	mov	r0, r5
	bl	spin_lock_irqsave
	mov	r2, #0
	ldr	r3, [r4, #12]
	str	r2, [r4]
	cmp	r3, r2
	bne	.L2
	ldr	r3, [r4, #8]
	cmp	r3, r2
	bne	.L3
.L2:
	mov	r0, r5
	mov	r1, #0
	bl	spin_unlock_irqrestore
.L1:
	ldr	r3, .L14+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L3:
	mov	r1, #0
	mov	r0, r5
	bl	spin_unlock_irqrestore
	ldr	r3, .L14+8
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L13
.L5:
	mov	r0, r4
	bl	ncsi_free_request
	b	.L1
.L13:
	ldr	r0, [r4, #8]
	cmp	r0, #0
	beq	.L5
	bl	skb_network_header
	add	r2, sp, #4
	ldr	r1, [r0]
	add	r3, sp, #8
	mov	r0, r5
	bl	ncsi_find_package_and_channel
	ldmib	sp, {r1, r2}
	mov	r0, r4
	bl	ncsi_send_netlink_timeout
	b	.L5
.L12:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	timer
	.word	.LC0
	.word	NCSI_REQ_FLAG_NETLINK_DRIVEN
	.size	ncsi_request_timeout, .-ncsi_request_timeout
	.comm	timer,4,4
	.comm	nr,4,4
	.comm	NCSI_REQ_FLAG_NETLINK_DRIVEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
