	.file	"extr_mac.c_ath10k_monitor_vdev_start.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"failed to request monitor vdev %i start: %d\n"
	.align 8
.LC1:
	.string	"failed to synchronize setup for monitor vdev %i start: %d\n"
	.align 8
.LC2:
	.string	"failed to put up monitor vdev %i: %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"mac monitor vdev %i started\n"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"failed to stop monitor vdev %i after start failure: %d\n"
	.text
	.p2align 4
	.type	ath10k_monitor_vdev_start, @function
ath10k_monitor_vdev_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pxor	xmm0, xmm0
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	add	rdi, 20
	sub	rsp, 80
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	movaps	XMMWORD PTR 16[rsp], xmm0
	movaps	XMMWORD PTR 32[rsp], xmm0
	movaps	XMMWORD PTR 48[rsp], xmm0
	mov	QWORD PTR 8[rsp], 0
	call	lockdep_assert_held@PLT
	mov	edi, DWORD PTR 16[rbp]
	mov	esi, DWORD PTR ath10k_mac_get_any_chandef_iter[rip]
	lea	rdx, 8[rsp]
	call	ieee80211_iter_chan_contexts_atomic@PLT
	xor	edi, edi
	cmp	QWORD PTR 8[rsp], 0
	sete	dil
	call	WARN_ON_ONCE@PLT
	test	rax, rax
	je	.L2
	mov	r12d, DWORD PTR ENOENT[rip]
	neg	r12d
.L1:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 80
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rsp]
	mov	DWORD PTR 16[rsp], r13d
	mov	r12, QWORD PTR 8[rdi]
	mov	eax, DWORD PTR 16[r12]
	mov	DWORD PTR 60[rsp], eax
	mov	eax, DWORD PTR 4[rdi]
	mov	DWORD PTR 56[rsp], eax
	mov	eax, DWORD PTR [rdi]
	mov	DWORD PTR 52[rsp], eax
	call	chan_to_phymode@PLT
	lea	rdi, 12[rbp]
	mov	DWORD PTR 48[rsp], eax
	mov	eax, DWORD PTR [r12]
	mov	QWORD PTR 40[rsp], 0
	test	DWORD PTR IEEE80211_CHAN_RADAR[rip], eax
	setne	al
	movzx	eax, al
	mov	DWORD PTR 24[rsp], eax
	mov	eax, DWORD PTR 4[r12]
	add	eax, eax
	mov	DWORD PTR 28[rsp], eax
	mov	eax, DWORD PTR 8[r12]
	add	eax, eax
	mov	DWORD PTR 32[rsp], eax
	mov	eax, DWORD PTR 12[r12]
	add	eax, eax
	mov	DWORD PTR 36[rsp], eax
	call	reinit_completion@PLT
	lea	rdi, 8[rbp]
	call	reinit_completion@PLT
	lea	rsi, 16[rsp]
	mov	rdi, rbp
	call	ath10k_wmi_vdev_start@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L12
	mov	rdi, rbp
	call	ath10k_vdev_setup_sync@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L13
	mov	ecx, DWORD PTR 4[rbp]
	xor	edx, edx
	mov	esi, r13d
	mov	rdi, rbp
	call	ath10k_wmi_vdev_up@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L14
	mov	DWORD PTR 0[rbp], r13d
	mov	esi, DWORD PTR ATH10K_DBG_MAC[rip]
	mov	ecx, r13d
	mov	rdi, rbp
	lea	rdx, .LC3[rip]
	call	ath10k_dbg@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	ecx, eax
	mov	edx, r13d
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	ath10k_warn@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, rbp
	call	ath10k_wmi_vdev_stop@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L1
	mov	edx, DWORD PTR 0[rbp]
	mov	ecx, eax
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	call	ath10k_warn@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	ecx, eax
	mov	edx, r13d
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	ath10k_warn@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	ecx, eax
	mov	edx, r13d
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	ath10k_warn@PLT
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ath10k_monitor_vdev_start, .-ath10k_monitor_vdev_start
	.comm	ath10k_mac_get_any_chandef_iter,4,4
	.comm	IEEE80211_CHAN_RADAR,4,4
	.comm	ENOENT,4,4
	.comm	ATH10K_DBG_MAC,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_mac.c_ath10k_monitor_vdev_start.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to request monitor vdev %i start: %d\012\000"
	.align	2
.LC1:
	.ascii	"failed to synchronize setup for monitor vdev %i sta"
	.ascii	"rt: %d\012\000"
	.align	2
.LC2:
	.ascii	"failed to put up monitor vdev %i: %d\012\000"
	.align	2
.LC3:
	.ascii	"mac monitor vdev %i started\012\000"
	.align	2
.LC4:
	.ascii	"failed to stop monitor vdev %i after start failure:"
	.ascii	" %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath10k_monitor_vdev_start, %function
ath10k_monitor_vdev_start:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	sub	sp, sp, #52
	ldr	ip, .L15
	mov	r2, #40
	mov	r6, r1
	add	r0, sp, #4
	mov	r1, r3
	ldr	ip, [ip]
	str	ip, [sp, #44]
	mov	ip,#0
	str	r3, [sp]
	bl	memset
	add	r0, r4, #20
	bl	lockdep_assert_held
	ldr	r3, .L15+4
	mov	r2, sp
	ldr	r1, [r3]
	ldr	r0, [r4, #16]
	bl	ieee80211_iter_chan_contexts_atomic
	ldr	r0, [sp]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON_ONCE
	subs	r5, r0, #0
	beq	.L2
	ldr	r3, .L15+8
	ldr	r0, [r3]
	rsb	r5, r0, #0
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r5
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	ldr	r0, [sp]
	str	r6, [sp, #4]
	ldmib	r0, {r3, r7}
	ldr	r2, [r7, #16]
	str	r3, [sp, #36]
	ldr	r3, [r0]
	str	r2, [sp, #40]
	str	r3, [sp, #32]
	bl	chan_to_phymode
	ldr	r3, .L15+12
	ldr	r2, [r7]
	ldr	r3, [r3]
	str	r0, [sp, #28]
	tst	r2, r3
	movne	ip, #1
	ldmib	r7, {r1, r2, r3}
	moveq	ip, #0
	lsl	r1, r1, #1
	lsl	r2, r2, #1
	lsl	r3, r3, #1
	add	r0, r4, #12
	str	ip, [sp, #8]
	str	r1, [sp, #12]
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	str	r5, [sp, #24]
	bl	reinit_completion
	add	r0, r4, #8
	bl	reinit_completion
	mov	r0, r4
	add	r1, sp, #4
	bl	ath10k_wmi_vdev_start
	subs	r5, r0, #0
	bne	.L12
	mov	r0, r4
	bl	ath10k_vdev_setup_sync
	subs	r5, r0, #0
	bne	.L13
	mov	r2, r5
	mov	r1, r6
	mov	r0, r4
	ldr	r3, [r4, #4]
	bl	ath10k_wmi_vdev_up
	subs	r5, r0, #0
	bne	.L14
	ldr	r2, .L15+16
	mov	r3, r6
	ldr	r1, [r2]
	mov	r0, r4
	ldr	r2, .L15+20
	str	r6, [r4]
	bl	ath10k_dbg
	b	.L1
.L14:
	mov	r3, r5
	mov	r2, r6
	ldr	r1, .L15+24
	mov	r0, r4
	bl	ath10k_warn
	mov	r0, r4
	ldr	r1, [r4]
	bl	ath10k_wmi_vdev_stop
	subs	r5, r0, #0
	beq	.L1
	mov	r3, r5
	mov	r0, r4
	ldr	r2, [r4]
	ldr	r1, .L15+28
	bl	ath10k_warn
	b	.L1
.L12:
	mov	r2, r6
	mov	r0, r4
	mov	r3, r5
	ldr	r1, .L15+32
	bl	ath10k_warn
	b	.L1
.L13:
	mov	r2, r6
	mov	r0, r4
	mov	r3, r5
	ldr	r1, .L15+36
	bl	ath10k_warn
	b	.L1
.L11:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC5
	.word	ath10k_mac_get_any_chandef_iter
	.word	ENOENT
	.word	IEEE80211_CHAN_RADAR
	.word	ATH10K_DBG_MAC
	.word	.LC3
	.word	.LC2
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.size	ath10k_monitor_vdev_start, .-ath10k_monitor_vdev_start
	.comm	ath10k_mac_get_any_chandef_iter,4,4
	.comm	IEEE80211_CHAN_RADAR,4,4
	.comm	ENOENT,4,4
	.comm	ATH10K_DBG_MAC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
