	.file	"extr_mac.c_ath10k_mac_op_unassign_vif_chanctx.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"mac chanctx unassign ptr %pK vdev_id %i\n"
	.align 8
.LC1:
	.string	"failed to down monitor vdev %i: %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"failed to stop vdev %i: %d\n"
	.text
	.p2align 4
	.type	ath10k_mac_op_unassign_vif_chanctx, @function
ath10k_mac_op_unassign_vif_chanctx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r12, QWORD PTR [rdi]
	mov	rbx, QWORD PTR 8[rsi]
	mov	rdi, r12
	call	mutex_lock@PLT
	mov	r8d, DWORD PTR 8[rbx]
	mov	rcx, r13
	mov	rdi, r12
	mov	esi, DWORD PTR ATH10K_DBG_MAC[rip]
	lea	rdx, .LC0[rip]
	call	ath10k_dbg@PLT
	mov	edx, DWORD PTR [rbx]
	xor	edi, edi
	test	edx, edx
	sete	dil
	call	WARN_ON@PLT
	mov	rax, QWORD PTR NL80211_IFTYPE_MONITOR[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L13
.L2:
	mov	rdi, rbx
	call	ath10k_vdev_stop@PLT
	test	eax, eax
	jne	.L14
.L4:
	mov	DWORD PTR [rbx], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	edx, DWORD PTR 8[rbx]
	mov	ecx, eax
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	call	ath10k_warn@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L13:
	mov	eax, DWORD PTR 4[rbx]
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	WARN_ON@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	rdi, r12
	call	ath10k_wmi_vdev_down@PLT
	test	eax, eax
	jne	.L15
.L3:
	mov	DWORD PTR 4[rbx], 0
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edx, DWORD PTR 8[rbx]
	mov	ecx, eax
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	ath10k_warn@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	ath10k_mac_op_unassign_vif_chanctx, .-ath10k_mac_op_unassign_vif_chanctx
	.comm	NL80211_IFTYPE_MONITOR,8,8
	.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_mac_op_unassign_vif_chanctx.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"mac chanctx unassign ptr %pK vdev_id %i\012\000"
	.align	2
.LC1:
	.ascii	"failed to down monitor vdev %i: %d\012\000"
	.align	2
.LC2:
	.ascii	"failed to stop vdev %i: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath10k_mac_op_unassign_vif_chanctx, %function
ath10k_mac_op_unassign_vif_chanctx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r7, r2
	ldr	r6, [r0]
	ldr	r4, [r1, #4]
	sub	sp, sp, #12
	mov	r0, r6
	mov	r5, r1
	bl	mutex_lock
	ldr	r1, [r4, #8]
	ldr	r2, .L16
	str	r1, [sp]
	mov	r3, r7
	ldr	r1, [r2]
	mov	r0, r6
	ldr	r2, .L16+4
	bl	ath10k_dbg
	ldr	r0, [r4]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON
	ldr	r3, .L16+8
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L13
.L2:
	mov	r0, r4
	bl	ath10k_vdev_stop
	subs	r3, r0, #0
	bne	.L14
.L4:
	mov	r3, #0
	mov	r0, r6
	str	r3, [r4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	mutex_unlock
.L14:
	mov	r0, r6
	ldr	r2, [r4, #8]
	ldr	r1, .L16+12
	bl	ath10k_warn
	b	.L4
.L13:
	ldr	r0, [r4, #4]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON
	mov	r0, r6
	ldr	r1, [r4, #8]
	bl	ath10k_wmi_vdev_down
	subs	r3, r0, #0
	bne	.L15
.L3:
	mov	r3, #0
	str	r3, [r4, #4]
	b	.L2
.L15:
	mov	r0, r6
	ldr	r2, [r4, #8]
	ldr	r1, .L16+16
	bl	ath10k_warn
	b	.L3
.L17:
	.align	2
.L16:
	.word	ATH10K_DBG_MAC
	.word	.LC0
	.word	NL80211_IFTYPE_MONITOR
	.word	.LC2
	.word	.LC1
	.size	ath10k_mac_op_unassign_vif_chanctx, .-ath10k_mac_op_unassign_vif_chanctx
	.comm	NL80211_IFTYPE_MONITOR,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
