	.file	"extr_testmode.c_ath10k_tm_cmd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ath10k_tm_cmd
	.type	ath10k_tm_cmd, @function
ath10k_tm_cmd:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	sub	rsp, 16
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	mov	r10d, DWORD PTR ATH10K_TM_ATTR_MAX[rip]
	mov	r12, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rdi, rsp
	lea	eax, 1[r10]
	cdqe
	lea	rax, 15[0+rax*8]
	mov	rsi, rax
	and	rax, -4096
	sub	rdi, rax
	and	rsi, -16
	mov	rax, rdi
	cmp	rsp, rax
	je	.L3
.L18:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L18
.L3:
	and	esi, 4095
	sub	rsp, rsi
	test	rsi, rsi
	jne	.L19
.L4:
	mov	r13, rsp
	mov	r8d, DWORD PTR ath10k_tm_policy[rip]
	xor	r9d, r9d
	mov	esi, r10d
	mov	rdi, r13
	call	nla_parse_deprecated@PLT
	test	eax, eax
	jne	.L1
	mov	rax, QWORD PTR ATH10K_TM_ATTR_CMD[rip]
	mov	rdi, QWORD PTR 0[r13+rax*8]
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	test	rdi, rdi
	je	.L1
	call	nla_get_u32@PLT
	cmp	eax, 130
	je	.L7
	jg	.L8
	cmp	eax, 128
	je	.L9
	cmp	eax, 129
	jne	.L11
	mov	rsi, r13
	mov	rdi, r12
	call	ath10k_tm_cmd_utf_stop@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rdx, QWORD PTR -24[rbp]
	xor	rdx, QWORD PTR fs:40
	jne	.L20
	lea	rsp, -16[rbp]
	pop	r12
	pop	r13
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	cmp	eax, 131
	jne	.L11
	mov	rsi, r13
	mov	rdi, r12
	call	ath10k_tm_cmd_get_version@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	or	QWORD PTR -8[rsp+rsi], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rsi, r13
	mov	rdi, r12
	call	ath10k_tm_cmd_wmi@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rsi, r13
	mov	rdi, r12
	call	ath10k_tm_cmd_utf_start@PLT
	jmp	.L1
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ath10k_tm_cmd, .-ath10k_tm_cmd
	.comm	ath10k_tm_policy,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EINVAL,4,4
	.comm	ATH10K_TM_ATTR_MAX,4,4
	.comm	ATH10K_TM_ATTR_CMD,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_testmode.c_ath10k_tm_cmd.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ath10k_tm_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath10k_tm_cmd, %function
ath10k_tm_cmd:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	mov	ip, #0
	ldr	r1, .L15
	ldr	r5, [r0]
	ldr	r1, [r1]
	ldr	r0, .L15+4
	ldr	lr, .L15+8
	ldr	r0, [r0]
	str	r0, [fp, #-16]
	mov	r0,#0
	lsl	r0, r1, #2
	add	r0, r0, #11
	bic	r0, r0, #7
	sub	sp, sp, r0
	ldr	r0, [lr]
	add	r4, sp, #8
	stm	sp, {r0, ip}
	mov	r0, r4
	bl	nla_parse_deprecated
	cmp	r0, #0
	bne	.L1
	ldr	r3, .L15+12
	ldr	r3, [r3]
	ldr	r0, [r4, r3, lsl #2]
	cmp	r0, #0
	beq	.L13
	bl	nla_get_u32
	sub	r0, r0, #128
	cmp	r0, #3
	ldrls	pc, [pc, r0, asl #2]
	b	.L4
.L6:
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L5
.L4:
	ldr	r3, .L15+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L13:
	ldr	r3, .L15+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L5:
	mov	r1, r4
	mov	r0, r5
	bl	ath10k_tm_cmd_get_version
	b	.L1
.L7:
	mov	r1, r4
	mov	r0, r5
	bl	ath10k_tm_cmd_utf_start
	b	.L1
.L8:
	mov	r1, r4
	mov	r0, r5
	bl	ath10k_tm_cmd_utf_stop
	b	.L1
.L9:
	mov	r1, r4
	mov	r0, r5
	bl	ath10k_tm_cmd_wmi
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	ATH10K_TM_ATTR_MAX
	.word	.LC0
	.word	ath10k_tm_policy
	.word	ATH10K_TM_ATTR_CMD
	.word	EOPNOTSUPP
	.word	EINVAL
	.size	ath10k_tm_cmd, .-ath10k_tm_cmd
	.comm	ath10k_tm_policy,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EINVAL,4,4
	.comm	ATH10K_TM_ATTR_MAX,4,4
	.comm	ATH10K_TM_ATTR_CMD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
