	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wcn36xx_tm_cmd                 ## -- Begin function wcn36xx_tm_cmd
	.p2align	4, 0x90
_wcn36xx_tm_cmd:                        ## @wcn36xx_tm_cmd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r15
	movq	_WCN36XX_TM_ATTR_MAX@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	incl	%eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_WCN36XX_DBG_TESTMODE_DUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	movl	%r13d, %ecx
	callq	_wcn36xx_dbg_dump
	movl	(%r14), %esi
	movq	_wcn36xx_tm_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rdi
	movq	%rbx, %rdx
	movl	%r13d, %ecx
	xorl	%r9d, %r9d
	callq	_nla_parse_deprecated
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movq	%r15, %rbx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	_WCN36XX_TM_ATTR_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.4:
	callq	_nla_get_u16
	movq	_WCN36XX_TM_CMD_PTT@GOTPCREL(%rip), %rcx
	cmpw	(%rcx), %ax
	jne	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_wcn36xx_tm_cmd_ptt
	jmp	LBB0_7
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_5:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_WCN36XX_TM_ATTR_MAX,4,2        ## @WCN36XX_TM_ATTR_MAX
	.comm	_WCN36XX_DBG_TESTMODE_DUMP,4,2  ## @WCN36XX_DBG_TESTMODE_DUMP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Data:"

	.comm	_wcn36xx_tm_policy,4,2          ## @wcn36xx_tm_policy
	.comm	_WCN36XX_TM_ATTR_CMD,8,3        ## @WCN36XX_TM_ATTR_CMD
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_WCN36XX_TM_CMD_PTT,2,1         ## @WCN36XX_TM_CMD_PTT
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wcn36xx_tm_cmd                 ; -- Begin function wcn36xx_tm_cmd
	.p2align	2
_wcn36xx_tm_cmd:                        ; @wcn36xx_tm_cmd
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x20, [x0]
Lloh3:
	adrp	x24, _WCN36XX_TM_ATTR_MAX@GOTPAGE
Lloh4:
	ldr	x24, [x24, _WCN36XX_TM_ATTR_MAX@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w8, w8, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh7:
	adrp	x8, _WCN36XX_DBG_TESTMODE_DUMP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WCN36XX_DBG_TESTMODE_DUMP@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wcn36xx_dbg_dump
	ldr	w1, [x24]
Lloh12:
	adrp	x8, _wcn36xx_tm_policy@GOTPAGE
Lloh13:
	ldr	x8, [x8, _wcn36xx_tm_policy@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	mov	x0, x21
	mov	x2, x23
	mov	x3, x22
	mov	x5, #0
	bl	_nla_parse_deprecated
	cbnz	w0, LBB0_7
; %bb.1:
Lloh15:
	adrp	x8, _WCN36XX_TM_ATTR_CMD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WCN36XX_TM_ATTR_CMD@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x0, [x21, x8, lsl #3]
	cbz	x0, LBB0_4
; %bb.2:
	bl	_nla_get_u16
Lloh18:
	adrp	x8, _WCN36XX_TM_CMD_PTT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WCN36XX_TM_CMD_PTT@GOTPAGEOFF]
	ldrh	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_wcn36xx_tm_cmd_ptt
	b	LBB0_7
LBB0_4:
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh22:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_WCN36XX_TM_ATTR_MAX,4,2        ; @WCN36XX_TM_ATTR_MAX
	.comm	_WCN36XX_DBG_TESTMODE_DUMP,4,2  ; @WCN36XX_DBG_TESTMODE_DUMP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Data:"

	.comm	_wcn36xx_tm_policy,4,2          ; @wcn36xx_tm_policy
	.comm	_WCN36XX_TM_ATTR_CMD,8,3        ; @WCN36XX_TM_ATTR_CMD
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_WCN36XX_TM_CMD_PTT,2,1         ; @WCN36XX_TM_CMD_PTT
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
.subsections_via_symbols
