	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl1271_sta_handle_idle
_wl1271_sta_handle_idle:                ## @wl1271_sta_handle_idle
	.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	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_WLVIF_FLAG_ACTIVE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_test_bit
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	cmpl	%ebx, %ecx
	jne	LBB0_1
## %bb.5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.6:
	movl	(%r12), %edi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
LBB0_2:
	cmpq	%r15, 8(%r14)
	jne	LBB0_4
## %bb.3:
	movq	(%r14), %rax
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	*(%rax)
LBB0_4:
	movl	(%r12), %edi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WLVIF_FLAG_ACTIVE,4,2          ## @WLVIF_FLAG_ACTIVE
	.no_dead_strip	_wl1271_sta_handle_idle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl1271_sta_handle_idle
_wl1271_sta_handle_idle:                ; @wl1271_sta_handle_idle
	.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, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _WLVIF_FLAG_ACTIVE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _WLVIF_FLAG_ACTIVE@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_test_bit
	cmp	w0, #0
	cset	w8, eq
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.1:
	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_2:
	cbz	w21, LBB0_4
; %bb.3:
	ldr	w0, [x22]
	mov	x1, 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	_clear_bit
LBB0_4:
	ldr	x8, [x20, #8]
	cmp	x8, x19
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	mov	x1, x19
	blr	x8
LBB0_6:
	ldr	w0, [x22]
	mov	x1, 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	_set_bit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WLVIF_FLAG_ACTIVE,4,2          ; @WLVIF_FLAG_ACTIVE
	.no_dead_strip	_wl1271_sta_handle_idle
.subsections_via_symbols
