	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __cw1200_sta_notify
___cw1200_sta_notify:                   ## @__cw1200_sta_notify
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movq	(%rdi), %r14
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movl	%r12d, %edi
	callq	_BIT
	movl	%eax, %r15d
	jmp	LBB0_4
LBB0_2:
	xorl	%edi, %edi
	cmpl	$129, %ebx
	setne	%dil
	callq	_WARN_ON_ONCE
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	(%r14), %r15d
LBB0_4:
	movl	4(%r14), %eax
	cmpl	$129, %ebx
	je	LBB0_12
## %bb.5:
	cmpl	$128, %ebx
	jne	LBB0_11
## %bb.6:
	testl	%r15d, %eax
	jne	LBB0_11
## %bb.7:
	cmpl	$0, 28(%r14)
	je	LBB0_10
## %bb.8:
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movl	16(%r14), %edi
	leaq	24(%r14), %rsi
	callq	_queue_work
	movl	4(%r14), %eax
LBB0_10:
	orl	%r15d, %eax
	movl	%eax, 4(%r14)
	jmp	LBB0_11
LBB0_12:
	testl	%r15d, %eax
	je	LBB0_11
## %bb.13:
	notl	%r15d
	andl	%r15d, 8(%r14)
	andl	%r15d, %eax
	movl	%eax, 4(%r14)
	testl	%r12d, %r12d
	je	LBB0_17
## %bb.14:
	cmpl	$0, 20(%r14)
	je	LBB0_17
## %bb.15:
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movl	16(%r14), %edi
	leaq	12(%r14), %rsi
	callq	_queue_work
LBB0_17:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cw1200_bh_wakeup               ## TAILCALL
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___cw1200_sta_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __cw1200_sta_notify
___cw1200_sta_notify:                   ; @__cw1200_sta_notify
	.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	x21, x3
	mov	x22, x2
	ldr	x19, [x0]
	cbz	w3, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_BIT
	mov	x20, x0
	b	LBB0_5
LBB0_2:
	cmp	w22, #129
	cset	w0, ne
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_4
; %bb.3:
	mov	w20, #0
	b	LBB0_5
LBB0_4:
	ldr	w20, [x19]
LBB0_5:
	ldr	w8, [x19, #4]
	and	w9, w8, w20
	cmp	w22, #129
	b.eq	LBB0_11
; %bb.6:
	cmp	w22, #128
	b.ne	LBB0_16
; %bb.7:
	cbnz	w9, LBB0_16
; %bb.8:
	ldr	w9, [x19, #28]
	cmp	w9, #0
	ccmp	w8, #0, #0, ne
	b.ne	LBB0_10
; %bb.9:
	ldr	w0, [x19, #16]
	add	x1, x19, #24
	bl	_queue_work
	ldr	w8, [x19, #4]
LBB0_10:
	orr	w8, w8, w20
	str	w8, [x19, #4]
	b	LBB0_16
LBB0_11:
	cbz	w9, LBB0_16
; %bb.12:
	bic	w8, w8, w20
	ldr	w9, [x19, #8]
	bic	w9, w9, w20
	stp	w8, w9, [x19, #4]
	cbz	w21, LBB0_15
; %bb.13:
	ldr	w9, [x19, #20]
	cmp	w9, #0
	ccmp	w8, #0, #0, ne
	b.ne	LBB0_15
; %bb.14:
	ldr	w0, [x19, #16]
	add	x1, x19, #12
	bl	_queue_work
LBB0_15:
	mov	x0, x19
	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	_cw1200_bh_wakeup
LBB0_16:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___cw1200_sta_notify
.subsections_via_symbols
