	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_tm_cmd_get_version
_ath10k_tm_cmd_get_version:             ## @ath10k_tm_cmd_get_version
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_ATH10K_DBG_TESTMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ATH10K_TESTMODE_VERSION_MAJOR@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	_ATH10K_TESTMODE_VERSION_MINOR@GOTPCREL(%rip), %r12
	movl	(%r12), %r8d
	leaq	L_.str(%rip), %rdx
	callq	_ath10k_dbg
	movq	8(%r14), %rax
	movl	(%rax), %ebx
	movl	$4, %edi
	callq	_nla_total_size
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_cfg80211_testmode_alloc_reply_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	_ATH10K_TM_ATTR_VERSION_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r15, %rdi
	callq	_nla_put_u32
	testl	%eax, %eax
	jne	LBB0_3
## %bb.5:
	movq	_ATH10K_TM_ATTR_VERSION_MINOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_nla_put_u32
	testl	%eax, %eax
	jne	LBB0_3
## %bb.6:
	movq	_ATH10K_TM_ATTR_WMI_OP_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%r15, %rdi
	callq	_nla_put_u32
	testl	%eax, %eax
	je	LBB0_7
LBB0_3:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_kfree_skb
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cfg80211_testmode_reply        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_DBG_TESTMODE,4,2        ## @ATH10K_DBG_TESTMODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"testmode cmd get version_major %d version_minor %d\n"

	.comm	_ATH10K_TESTMODE_VERSION_MAJOR,4,2 ## @ATH10K_TESTMODE_VERSION_MAJOR
	.comm	_ATH10K_TESTMODE_VERSION_MINOR,4,2 ## @ATH10K_TESTMODE_VERSION_MINOR
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ATH10K_TM_ATTR_VERSION_MAJOR,4,2 ## @ATH10K_TM_ATTR_VERSION_MAJOR
	.comm	_ATH10K_TM_ATTR_VERSION_MINOR,4,2 ## @ATH10K_TM_ATTR_VERSION_MINOR
	.comm	_ATH10K_TM_ATTR_WMI_OP_VERSION,4,2 ## @ATH10K_TM_ATTR_WMI_OP_VERSION
	.no_dead_strip	_ath10k_tm_cmd_get_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_tm_cmd_get_version
_ath10k_tm_cmd_get_version:             ; @ath10k_tm_cmd_get_version
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _ATH10K_DBG_TESTMODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH10K_DBG_TESTMODE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x21, _ATH10K_TESTMODE_VERSION_MAJOR@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ATH10K_TESTMODE_VERSION_MAJOR@GOTPAGEOFF]
	ldr	w3, [x21]
Lloh5:
	adrp	x22, _ATH10K_TESTMODE_VERSION_MINOR@GOTPAGE
Lloh6:
	ldr	x22, [x22, _ATH10K_TESTMODE_VERSION_MINOR@GOTPAGEOFF]
	ldr	w4, [x22]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	bl	_ath10k_dbg
	ldr	x8, [x19, #8]
	ldr	w20, [x8]
	mov	w0, #4
	bl	_nla_total_size
	mov	x1, x0
	mov	x0, x20
	bl	_cfg80211_testmode_alloc_reply_skb
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh9:
	adrp	x8, _ATH10K_TM_ATTR_VERSION_MAJOR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ATH10K_TM_ATTR_VERSION_MAJOR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x21]
	bl	_nla_put_u32
	cbnz	w0, LBB0_4
; %bb.2:
Lloh12:
	adrp	x8, _ATH10K_TM_ATTR_VERSION_MINOR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ATH10K_TM_ATTR_VERSION_MINOR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_nla_put_u32
	cbnz	w0, LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, _ATH10K_TM_ATTR_WMI_OP_VERSION@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ATH10K_TM_ATTR_WMI_OP_VERSION@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x0, x20
	bl	_nla_put_u32
	cbz	w0, LBB0_7
LBB0_4:
	mov	x21, x0
	mov	x0, x20
	bl	_kfree_skb
	b	LBB0_6
LBB0_5:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cfg80211_testmode_reply
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_DBG_TESTMODE,4,2        ; @ATH10K_DBG_TESTMODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"testmode cmd get version_major %d version_minor %d\n"

	.comm	_ATH10K_TESTMODE_VERSION_MAJOR,4,2 ; @ATH10K_TESTMODE_VERSION_MAJOR
	.comm	_ATH10K_TESTMODE_VERSION_MINOR,4,2 ; @ATH10K_TESTMODE_VERSION_MINOR
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ATH10K_TM_ATTR_VERSION_MAJOR,4,2 ; @ATH10K_TM_ATTR_VERSION_MAJOR
	.comm	_ATH10K_TM_ATTR_VERSION_MINOR,4,2 ; @ATH10K_TM_ATTR_VERSION_MINOR
	.comm	_ATH10K_TM_ATTR_WMI_OP_VERSION,4,2 ; @ATH10K_TM_ATTR_WMI_OP_VERSION
	.no_dead_strip	_ath10k_tm_cmd_get_version
.subsections_via_symbols
