	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl1271_configure_suspend_sta
_wl1271_configure_suspend_sta:          ## @wl1271_configure_suspend_sta
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_WLVIF_FLAG_STA_ASSOCIATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_wl1271_configure_wowlan
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	movq	(%rbx), %rdx
	movq	16(%rbx), %rcx
	cmpq	8(%rbx), %rdx
	jne	LBB0_5
## %bb.4:
	cmpq	24(%rbx), %rcx
	je	LBB0_7
LBB0_5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_wl1271_acx_wake_up_conditions
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	callq	_wl1271_error
	jmp	LBB0_7
LBB0_1:
	xorl	%r15d, %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLVIF_FLAG_STA_ASSOCIATED,4,2  ## @WLVIF_FLAG_STA_ASSOCIATED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"suspend: set wake up conditions failed: %d"

	.no_dead_strip	_wl1271_configure_suspend_sta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl1271_configure_suspend_sta
_wl1271_configure_suspend_sta:          ; @wl1271_configure_suspend_sta
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _WLVIF_FLAG_STA_ASSOCIATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLVIF_FLAG_STA_ASSOCIATED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_test_bit
	cbz	w0, LBB0_6
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	bl	_wl1271_configure_wowlan
	mov	x20, x0
	tbnz	w0, #31, LBB0_7
; %bb.2:
	ldp	x2, x8, [x21]
	ldr	x3, [x21, #16]
	cmp	x2, x8
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x21, #24]
	cmp	x3, x8
	b.eq	LBB0_7
LBB0_4:
	mov	x0, x21
	mov	x1, x19
	bl	_wl1271_acx_wake_up_conditions
	mov	x20, x0
	tbz	w0, #31, LBB0_7
; %bb.5:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_wl1271_error
	b	LBB0_7
LBB0_6:
	mov	w20, #0
LBB0_7:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_WLVIF_FLAG_STA_ASSOCIATED,4,2  ; @WLVIF_FLAG_STA_ASSOCIATED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"suspend: set wake up conditions failed: %d"

	.no_dead_strip	_wl1271_configure_suspend_sta
.subsections_via_symbols
