	.file	"extr_time-event.c_iwl_mvm_start_p2p_roc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"P2P_DEVICE remain on channel already running\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Got an invalid ROC type\n"
	.text
	.p2align 4
	.globl	iwl_mvm_start_p2p_roc
	.type	iwl_mvm_start_p2p_roc, @function
iwl_mvm_start_p2p_roc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 80
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	call	iwl_mvm_vif_from_mac80211@PLT
	pxor	xmm0, xmm0
	mov	rdi, rbp
	mov	QWORD PTR 64[rsp], 0
	mov	rbx, rax
	movaps	XMMWORD PTR [rsp], xmm0
	movaps	XMMWORD PTR 16[rsp], xmm0
	movaps	XMMWORD PTR 32[rsp], xmm0
	movaps	XMMWORD PTR 48[rsp], xmm0
	call	lockdep_assert_held@PLT
	cmp	QWORD PTR 8[rbx], 0
	jne	.L12
	mov	edi, DWORD PTR FW_CTXT_ACTION_ADD[rip]
	call	cpu_to_le32@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR [rbx]
	mov	QWORD PTR 64[rsp], rax
	call	FW_CMD_ID_AND_COLOR@PLT
	mov	edi, eax
	call	cpu_to_le32@PLT
	mov	QWORD PTR 56[rsp], rax
	cmp	r14d, 128
	je	.L4
	cmp	r14d, 129
	jne	.L13
	mov	edi, DWORD PTR IWL_MVM_ROC_TE_TYPE_MGMT_TX[rip]
	call	cpu_to_le32@PLT
	mov	QWORD PTR 48[rsp], rax
.L7:
	xor	edi, edi
	call	cpu_to_le32@PLT
	mov	edi, 1
	mov	QWORD PTR 40[rsp], rax
	call	cpu_to_le32@PLT
	mov	edi, r12d
	mov	r14d, DWORD PTR TE_V2_FRAG_ENDLESS[rip]
	mov	QWORD PTR 32[rsp], rax
	call	MSEC_TO_TU@PLT
	mov	esi, r14d
	movsx	rdi, eax
	sar	eax, 31
	imul	rdi, rdi, 1374389535
	sar	rdi, 36
	sub	edi, eax
	call	min@PLT
	mov	edi, r12d
	shr	edi, 31
	mov	DWORD PTR 24[rsp], eax
	add	edi, r12d
	sar	edi
	call	MSEC_TO_TU@PLT
	mov	edi, eax
	call	cpu_to_le32@PLT
	mov	edi, r12d
	mov	QWORD PTR 16[rsp], rax
	call	MSEC_TO_TU@PLT
	mov	edi, eax
	call	cpu_to_le32@PLT
	mov	edi, DWORD PTR TE_V2_NOTIF_HOST_EVENT_START[rip]
	or	edi, DWORD PTR TE_V2_NOTIF_HOST_EVENT_END[rip]
	mov	DWORD PTR [rsp], 1
	or	edi, DWORD PTR TE_V2_START_IMMEDIATELY[rip]
	mov	QWORD PTR 8[rsp], rax
	call	cpu_to_le16@PLT
	mov	rcx, rsp
	lea	rdx, 8[rbx]
	mov	rsi, r13
	mov	rdi, rbp
	mov	DWORD PTR 4[rsp], eax
	call	iwl_mvm_time_event_send_add@PLT
.L1:
	mov	rbx, QWORD PTR 72[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 80
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
	mov	edi, 1
	call	WARN_ONCE@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, DWORD PTR IWL_MVM_ROC_TE_TYPE_NORMAL[rip]
	call	cpu_to_le32@PLT
	mov	QWORD PTR 48[rsp], rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	IWL_WARN@PLT
	mov	eax, DWORD PTR EBUSY[rip]
	neg	eax
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	iwl_mvm_start_p2p_roc, .-iwl_mvm_start_p2p_roc
	.comm	TE_V2_START_IMMEDIATELY,4,4
	.comm	TE_V2_NOTIF_HOST_EVENT_START,4,4
	.comm	TE_V2_NOTIF_HOST_EVENT_END,4,4
	.comm	TE_V2_FRAG_ENDLESS,4,4
	.comm	IWL_MVM_ROC_TE_TYPE_NORMAL,4,4
	.comm	IWL_MVM_ROC_TE_TYPE_MGMT_TX,4,4
	.comm	FW_CTXT_ACTION_ADD,4,4
	.comm	EINVAL,4,4
	.comm	EBUSY,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_time-event.c_iwl_mvm_start_p2p_roc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"P2P_DEVICE remain on channel already running\012\000"
	.align	2
.LC1:
	.ascii	"Got an invalid ROC type\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	iwl_mvm_start_p2p_roc
	.syntax unified
	.arm
	.fpu softvfp
	.type	iwl_mvm_start_p2p_roc, %function
iwl_mvm_start_p2p_roc:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, r3
	ldr	r3, .L15
	sub	sp, sp, #48
	mov	r5, r0
	mov	r0, r1
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	mov	r7, r1
	mov	r6, r2
	bl	iwl_mvm_vif_from_mac80211
	mov	r4, r0
	mov	r2, #40
	mov	r1, #0
	add	r0, sp, #4
	bl	memset
	mov	r0, r5
	bl	lockdep_assert_held
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L15+4
	ldr	r0, [r3]
	bl	cpu_to_le32
	mov	r3, r0
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	str	r3, [sp, #40]
	bl	FW_CMD_ID_AND_COLOR
	bl	cpu_to_le32
	cmp	r8, #128
	str	r0, [sp, #36]
	beq	.L4
	cmp	r8, #129
	bne	.L13
	ldr	r3, .L15+8
	ldr	r0, [r3]
	bl	cpu_to_le32
	str	r0, [sp, #32]
.L7:
	mov	r0, #0
	bl	cpu_to_le32
	mov	r3, r0
	mov	r0, #1
	str	r3, [sp, #28]
	bl	cpu_to_le32
	mov	r3, r0
	mov	r0, r6
	str	r3, [sp, #24]
	bl	MSEC_TO_TU
	ldr	r3, .L15+12
	ldr	r2, .L15+16
	smull	r1, r3, r0, r3
	asr	r0, r0, #31
	ldr	r1, [r2]
	rsb	r0, r0, r3, asr #4
	bl	min
	mov	r3, r0
	add	r0, r6, r6, lsr #31
	asr	r0, r0, #1
	str	r3, [sp, #20]
	bl	MSEC_TO_TU
	bl	cpu_to_le32
	mov	r3, r0
	mov	r0, r6
	str	r3, [sp, #16]
	bl	MSEC_TO_TU
	bl	cpu_to_le32
	mov	r2, #1
	ldr	r1, .L15+20
	ldr	r3, .L15+24
	ldr	ip, [r1]
	ldr	r1, .L15+28
	ldr	r3, [r3]
	ldr	r1, [r1]
	orr	r3, r3, ip
	str	r0, [sp, #12]
	orr	r0, r3, r1
	str	r2, [sp, #4]
	bl	cpu_to_le16
	mov	ip, r0
	mov	r1, r7
	mov	r0, r5
	add	r3, sp, #4
	add	r2, r4, #8
	str	ip, [sp, #8]
	bl	iwl_mvm_time_event_send_add
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #48
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	mov	r0, #1
	ldr	r1, .L15+32
	bl	WARN_ONCE
	ldr	r3, .L15+36
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L4:
	ldr	r3, .L15+40
	ldr	r0, [r3]
	bl	cpu_to_le32
	str	r0, [sp, #32]
	b	.L7
.L12:
	mov	r0, r5
	ldr	r1, .L15+44
	bl	IWL_WARN
	ldr	r3, .L15+48
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC2
	.word	FW_CTXT_ACTION_ADD
	.word	IWL_MVM_ROC_TE_TYPE_MGMT_TX
	.word	1374389535
	.word	TE_V2_FRAG_ENDLESS
	.word	TE_V2_NOTIF_HOST_EVENT_END
	.word	TE_V2_NOTIF_HOST_EVENT_START
	.word	TE_V2_START_IMMEDIATELY
	.word	.LC1
	.word	EINVAL
	.word	IWL_MVM_ROC_TE_TYPE_NORMAL
	.word	.LC0
	.word	EBUSY
	.size	iwl_mvm_start_p2p_roc, .-iwl_mvm_start_p2p_roc
	.comm	TE_V2_START_IMMEDIATELY,4,4
	.comm	TE_V2_NOTIF_HOST_EVENT_START,4,4
	.comm	TE_V2_NOTIF_HOST_EVENT_END,4,4
	.comm	TE_V2_FRAG_ENDLESS,4,4
	.comm	IWL_MVM_ROC_TE_TYPE_NORMAL,4,4
	.comm	IWL_MVM_ROC_TE_TYPE_MGMT_TX,4,4
	.comm	FW_CTXT_ACTION_ADD,4,4
	.comm	EINVAL,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
