	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_wmi_error_event_rx
_ath6kl_wmi_error_event_rx:             ## @ath6kl_wmi_error_event_rx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_reltable.ath6kl_wmi_error_event_rx(%rip), %rdx
	movslq	(%rdx,%rax,4), %rcx
	addq	%rdx, %rcx
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rcx
LBB0_3:
	movq	_ATH6KL_DBG_WMI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rsi), %edx
	leaq	L_.str.4(%rip), %rsi
	callq	_ath6kl_dbg
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown error"

L_.str.1:                               ## @.str.1
	.asciz	"invalid parameter"

L_.str.2:                               ## @.str.2
	.asciz	"invalid state"

L_.str.3:                               ## @.str.3
	.asciz	"internal error"

	.comm	_ATH6KL_DBG_WMI,4,2             ## @ATH6KL_DBG_WMI
L_.str.4:                               ## @.str.4
	.asciz	"programming error, cmd=%d %s\n"

	.no_dead_strip	_ath6kl_wmi_error_event_rx
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.ath6kl_wmi_error_event_rx
l_reltable.ath6kl_wmi_error_event_rx:
	.long	L_.str.1-l_reltable.ath6kl_wmi_error_event_rx
	.long	L_.str.3-l_reltable.ath6kl_wmi_error_event_rx
	.long	L_.str.2-l_reltable.ath6kl_wmi_error_event_rx

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_wmi_error_event_rx
_ath6kl_wmi_error_event_rx:             ; @ath6kl_wmi_error_event_rx
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.ath6kl_wmi_error_event_rx@PAGE
Lloh1:
	add	x9, x9, l_switch.table.ath6kl_wmi_error_event_rx@PAGEOFF
	ldr	x3, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x3, l_.str@PAGE
Lloh3:
	add	x3, x3, l_.str@PAGEOFF
LBB0_3:
Lloh4:
	adrp	x8, _ATH6KL_DBG_WMI@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ATH6KL_DBG_WMI@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	w2, [x1, #4]
Lloh7:
	adrp	x1, l_.str.4@PAGE
Lloh8:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_ath6kl_dbg
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown error"

l_.str.1:                               ; @.str.1
	.asciz	"invalid parameter"

l_.str.2:                               ; @.str.2
	.asciz	"invalid state"

l_.str.3:                               ; @.str.3
	.asciz	"internal error"

	.comm	_ATH6KL_DBG_WMI,4,2             ; @ATH6KL_DBG_WMI
l_.str.4:                               ; @.str.4
	.asciz	"programming error, cmd=%d %s\n"

	.no_dead_strip	_ath6kl_wmi_error_event_rx
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ath6kl_wmi_error_event_rx
l_switch.table.ath6kl_wmi_error_event_rx:
	.quad	l_.str.1
	.quad	l_.str.3
	.quad	l_.str.2

.subsections_via_symbols
