	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wsm_startup_indication
_wsm_startup_indication:                ## @wsm_startup_indication
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_WSM_GET16
	movq	%rax, 88(%r14)
	movq	%rbx, %rdi
	callq	_WSM_GET16
	movq	%rax, 80(%r14)
	movq	%rbx, %rdi
	callq	_WSM_GET16
	movq	%rax, 72(%r14)
	movq	%rbx, %rdi
	callq	_WSM_GET16
	movq	%rax, 64(%r14)
	movq	%rbx, %rdi
	callq	_WSM_GET16
	movl	%eax, 16(%r14)
	movq	%rbx, %rdi
	callq	_WSM_GET16
	movl	%eax, 20(%r14)
	movq	%rbx, %rdi
	callq	_WSM_GET16
	movl	%eax, 24(%r14)
	movq	%rbx, %rdi
	callq	_WSM_GET16
	movq	%rax, 32(%r14)
	movq	%rbx, %rdi
	callq	_WSM_GET16
	movq	%rax, 40(%r14)
	movq	%rbx, %rdi
	callq	_WSM_GET16
	movq	%rax, 48(%r14)
	movq	56(%r14), %rsi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_WSM_GET
	movq	56(%r14), %rax
	movq	$0, 56(%rax)
	movl	16(%r14), %edi
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpl	$5, 24(%r14)
	setge	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	88(%r14), %rsi
	movq	80(%r14), %rdx
	movq	72(%r14), %rcx
	movq	64(%r14), %r8
	movq	_cw1200_fw_types@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	24(%r14), %rdi
	movl	(%rax,%rdi,4), %r9d
	movl	20(%r14), %eax
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdi
	pushq	%rax
	pushq	32(%r14)
	pushq	40(%r14)
	pushq	48(%r14)
	pushq	56(%r14)
	callq	_pr_info
	addq	$48, %rsp
	movl	20(%r14), %eax
	testb	$1, %al
	jne	LBB0_5
## %bb.4:
	movq	8(%r14), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	$0, (%rcx,%rdx,8)
LBB0_5:
	testb	$2, %al
	jne	LBB0_7
## %bb.6:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	$0, (%rax,%rcx,8)
LBB0_7:
	movl	$1, (%r14)
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_wake_up
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CW1200 WSM init done.\n   Input buffers: %d x %d bytes\n   Hardware: %d.%d\n   %s firmware [%s], ver: %d, build: %d,   api: %d, cap: 0x%.4X\n"

	.comm	_cw1200_fw_types,8,3            ## @cw1200_fw_types
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.no_dead_strip	_wsm_startup_indication
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wsm_startup_indication
_wsm_startup_indication:                ; @wsm_startup_indication
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_WSM_GET16
	str	x0, [x19, #88]
	mov	x0, x20
	bl	_WSM_GET16
	str	x0, [x19, #80]
	mov	x0, x20
	bl	_WSM_GET16
	str	x0, [x19, #72]
	mov	x0, x20
	bl	_WSM_GET16
	str	x0, [x19, #64]
	mov	x0, x20
	bl	_WSM_GET16
	str	w0, [x19, #16]
	mov	x0, x20
	bl	_WSM_GET16
	str	w0, [x19, #20]
	mov	x0, x20
	bl	_WSM_GET16
	str	w0, [x19, #24]
	mov	x0, x20
	bl	_WSM_GET16
	str	x0, [x19, #32]
	mov	x0, x20
	bl	_WSM_GET16
	str	x0, [x19, #40]
	mov	x0, x20
	bl	_WSM_GET16
	str	x0, [x19, #48]
	ldr	x1, [x19, #56]
	mov	x0, x20
	mov	w2, #8
	bl	_WSM_GET
	ldr	x8, [x19, #56]
	str	xzr, [x8, #56]
	ldr	w0, [x19, #16]
	bl	_WARN_ON
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x19, #24]
	cmp	w8, #4
	cset	w0, gt
	bl	_WARN_ON
	cbz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	ldp	x2, x1, [x19, #80]
	ldp	x4, x3, [x19, #64]
Lloh3:
	adrp	x8, _cw1200_fw_types@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cw1200_fw_types@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldp	w10, w9, [x19, #20]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	ldr	w5, [x8, x9, lsl #2]
	ldp	x7, x6, [x19, #48]
	ldp	x9, x8, [x19, #32]
	str	w10, [sp, #16]
	stp	x8, x9, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	ldr	w8, [x19, #20]
	tbnz	w8, #0, LBB0_6
; %bb.5:
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _NL80211_BAND_2GHZ@GOTPAGE
Lloh9:
	ldr	x10, [x10, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	str	xzr, [x9, x10, lsl #3]
LBB0_6:
	tbnz	w8, #1, LBB0_8
; %bb.7:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _NL80211_BAND_5GHZ@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	str	xzr, [x8, x9, lsl #3]
LBB0_8:
	mov	w8, #1
	str	w8, [x19], #4
	mov	x0, x19
	bl	_wake_up
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CW1200 WSM init done.\n   Input buffers: %d x %d bytes\n   Hardware: %d.%d\n   %s firmware [%s], ver: %d, build: %d,   api: %d, cap: 0x%.4X\n"

	.comm	_cw1200_fw_types,8,3            ; @cw1200_fw_types
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.no_dead_strip	_wsm_startup_indication
.subsections_via_symbols
