	.file	"extr_mac.c_ath10k_monitor_vdev_create.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"failed to find free vdev id for monitor vdev\n"
	.align 8
.LC1:
	.string	"failed to request monitor vdev %i creation: %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"mac monitor vdev %d created\n"
	.text
	.p2align 4
	.type	ath10k_monitor_vdev_create, @function
ath10k_monitor_vdev_create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	add	rdi, 16
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	lockdep_assert_held@PLT
	mov	rdi, QWORD PTR 0[rbp]
	test	rdi, rdi
	je	.L7
	call	__ffs64@PLT
	mov	r8d, DWORD PTR 12[rbp]
	xor	ecx, ecx
	mov	rdi, rbp
	mov	DWORD PTR 8[rbp], eax
	mov	edx, DWORD PTR WMI_VDEV_TYPE_MONITOR[rip]
	mov	esi, eax
	call	ath10k_wmi_vdev_create@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L8
	movsx	rcx, DWORD PTR 8[rbp]
	mov	rax, -2
	mov	esi, DWORD PTR ATH10K_DBG_MAC[rip]
	mov	rdi, rbp
	lea	rdx, .LC2[rip]
	rol	rax, cl
	and	QWORD PTR 0[rbp], rax
	call	ath10k_dbg@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR 8[rbp]
	mov	ecx, eax
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	ath10k_warn@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	ath10k_warn@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ath10k_monitor_vdev_create, .-ath10k_monitor_vdev_create
	.comm	WMI_VDEV_TYPE_MONITOR,4,4
	.comm	ENOMEM,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_create.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to find free vdev id for monitor vdev\012\000"
	.align	2
.LC1:
	.ascii	"failed to request monitor vdev %i creation: %d\012\000"
	.align	2
.LC2:
	.ascii	"mac monitor vdev %d created\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath10k_monitor_vdev_create, %function
ath10k_monitor_vdev_create:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	sub	sp, sp, #12
	add	r0, r0, #16
	bl	lockdep_assert_held
	ldmia	r4, {r0-r1}
	orrs	r3, r0, r1
	beq	.L7
	bl	__ffs64
	ldr	r3, [r4, #12]
	ldr	r2, .L9
	str	r0, [r4, #8]
	mov	r1, r0
	ldr	r2, [r2]
	mov	r0, r4
	str	r3, [sp]
	mov	r3, #0
	bl	ath10k_wmi_vdev_create
	subs	r5, r0, #0
	bne	.L8
	ldmib	r4, {r1, r2}
	mov	r0, #1
	mov	r6, r2
	sub	r3, r2, #32
	rsb	ip, r2, #32
	lsl	r3, r0, r3
	orr	r3, r3, r0, lsr ip
	bic	r3, r1, r3
	ldr	r1, [r4]
	asr	r7, r2, #31
	bic	r2, r1, r0, lsl r2
	str	r3, [r4, #4]
	str	r2, [r4]
	stm	sp, {r6-r7}
	ldr	r3, .L9+4
	mov	r0, r4
	ldr	r1, [r3]
	ldr	r2, .L9+8
	bl	ath10k_dbg
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L8:
	mov	r3, r5
	mov	r0, r4
	ldr	r2, [r4, #8]
	ldr	r1, .L9+12
	bl	ath10k_warn
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	mov	r0, r4
	ldr	r1, .L9+16
	bl	ath10k_warn
	ldr	r3, .L9+20
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	.align	2
.L9:
	.word	WMI_VDEV_TYPE_MONITOR
	.word	ATH10K_DBG_MAC
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.word	ENOMEM
	.size	ath10k_monitor_vdev_create, .-ath10k_monitor_vdev_create
	.comm	WMI_VDEV_TYPE_MONITOR,4,4
	.comm	ENOMEM,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
