	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_wmi_control_rx_xtnd
_ath6kl_wmi_control_rx_xtnd:            ## @ath6kl_wmi_control_rx_xtnd
	.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
	cmpl	$3, (%rsi)
	ja	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_ath6kl_err
	jmp	LBB0_7
LBB0_2:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rsi), %rax
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_skb_pull
	movq	8(%rbx), %r12
	movl	(%rbx), %r15d
	cmpl	$129, %r13d
	je	LBB0_5
## %bb.3:
	cmpl	$128, %r13d
	jne	LBB0_6
## %bb.4:
	movq	_ATH6KL_DBG_WMI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ath6kl_dbg
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_ath6kl_wmi_hb_challenge_resp_event
	jmp	LBB0_8
LBB0_5:
	movq	_ATH6KL_DBG_WMI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_ath6kl_dbg
	movl	(%r14), %edi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_ath6kl_debug_fwlog_event
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.3(%rip), %rdi
	movl	%r13d, %esi
	callq	_ath6kl_warn
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad packet 1\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ATH6KL_DBG_WMI,4,2             ## @ATH6KL_DBG_WMI
L_.str.1:                               ## @.str.1
	.asciz	"wmi event hb challenge resp\n"

L_.str.2:                               ## @.str.2
	.asciz	"wmi event dbglog len %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"unknown cmd id 0x%x\n"

	.no_dead_strip	_ath6kl_wmi_control_rx_xtnd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_wmi_control_rx_xtnd
_ath6kl_wmi_control_rx_xtnd:            ; @ath6kl_wmi_control_rx_xtnd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	w8, [x1]
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ath6kl_err
	b	LBB0_7
LBB0_2:
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x1, #8]
	ldr	w0, [x8]
	bl	_le32_to_cpu
	mov	x22, x0
	mov	x0, x21
	mov	w1, #4
	bl	_skb_pull
	ldr	x20, [x21, #8]
	ldr	w21, [x21]
	cmp	w22, #129
	b.eq	LBB0_5
; %bb.3:
	cmp	w22, #128
	b.ne	LBB0_6
; %bb.4:
Lloh2:
	adrp	x8, _ATH6KL_DBG_WMI@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATH6KL_DBG_WMI@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_ath6kl_dbg
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_ath6kl_wmi_hb_challenge_resp_event
	mov	w0, #0
	b	LBB0_8
LBB0_5:
Lloh7:
	adrp	x8, _ATH6KL_DBG_WMI@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ATH6KL_DBG_WMI@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_ath6kl_dbg
	ldr	w0, [x19]
	mov	x1, x20
	mov	x2, x21
	bl	_ath6kl_debug_fwlog_event
	mov	w0, #0
	b	LBB0_8
LBB0_6:
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x22
	bl	_ath6kl_warn
LBB0_7:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad packet 1\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ATH6KL_DBG_WMI,4,2             ; @ATH6KL_DBG_WMI
l_.str.1:                               ; @.str.1
	.asciz	"wmi event hb challenge resp\n"

l_.str.2:                               ; @.str.2
	.asciz	"wmi event dbglog len %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"unknown cmd id 0x%x\n"

	.no_dead_strip	_ath6kl_wmi_control_rx_xtnd
.subsections_via_symbols
