	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl1271_configure_resume
_wl1271_configure_resume:               ## @wl1271_configure_resume
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	movq	_BSS_TYPE_AP_BSS@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_BSS_TYPE_STA_BSS@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	cmpq	%r13, %rbx
	je	LBB0_2
## %bb.1:
	cmpq	%r12, %rbx
	je	LBB0_2
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cmpq	%r12, %rbx
	jne	LBB0_6
## %bb.3:
	movq	_WLVIF_FLAG_STA_ASSOCIATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r15), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_15
## %bb.4:
	cmpq	%r13, %rbx
	je	LBB0_7
## %bb.5:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_wl1271_configure_wowlan
	jmp	LBB0_9
LBB0_6:
	cmpq	%r13, %rbx
	jne	LBB0_16
LBB0_7:
	movq	_WLVIF_FLAG_AP_STARTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r15), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_15
## %bb.8:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_wl1271_configure_wowlan
	cmpq	%r12, %rbx
	jne	LBB0_14
LBB0_9:
	movq	8(%r14), %rdx
	cmpq	%rdx, (%r14)
	jne	LBB0_10
## %bb.11:
	movq	24(%r14), %rcx
	cmpq	%rcx, 16(%r14)
	je	LBB0_15
	jmp	LBB0_12
LBB0_16:
	movq	%r14, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wl1271_configure_wowlan        ## TAILCALL
LBB0_10:
	movq	24(%r14), %rcx
LBB0_12:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_wl1271_acx_wake_up_conditions
	testl	%eax, %eax
	jns	LBB0_15
## %bb.13:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wl1271_error                   ## TAILCALL
LBB0_14:
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wl1271_acx_beacon_filter_opt   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BSS_TYPE_AP_BSS,8,3            ## @BSS_TYPE_AP_BSS
	.comm	_BSS_TYPE_STA_BSS,8,3           ## @BSS_TYPE_STA_BSS
	.comm	_WLVIF_FLAG_STA_ASSOCIATED,4,2  ## @WLVIF_FLAG_STA_ASSOCIATED
	.comm	_WLVIF_FLAG_AP_STARTED,4,2      ## @WLVIF_FLAG_AP_STARTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"resume: wake up conditions failed: %d"

	.no_dead_strip	_wl1271_configure_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl1271_configure_resume
_wl1271_configure_resume:               ; @wl1271_configure_resume
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x21, [x1]
Lloh0:
	adrp	x8, _BSS_TYPE_AP_BSS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BSS_TYPE_AP_BSS@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
Lloh3:
	adrp	x8, _BSS_TYPE_STA_BSS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BSS_TYPE_STA_BSS@GOTPAGEOFF]
Lloh5:
	ldr	x22, [x8]
	cmp	x21, x23
	ccmp	x21, x22, #4, ne
	b.ne	LBB0_13
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	cmp	x21, x22
	b.ne	LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _WLVIF_FLAG_STA_ASSOCIATED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WLVIF_FLAG_STA_ASSOCIATED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cbz	w0, LBB0_13
; %bb.3:
	cmp	x21, x23
	b.eq	LBB0_6
; %bb.4:
	mov	x0, x20
	mov	x1, #0
	bl	_wl1271_configure_wowlan
	b	LBB0_8
LBB0_5:
	cmp	x21, x23
	b.ne	LBB0_10
LBB0_6:
Lloh9:
	adrp	x8, _WLVIF_FLAG_AP_STARTED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WLVIF_FLAG_AP_STARTED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cbz	w0, LBB0_13
; %bb.7:
	mov	x0, x20
	mov	x1, #0
	bl	_wl1271_configure_wowlan
	cmp	x21, x22
	b.ne	LBB0_14
LBB0_8:
	ldp	x8, x2, [x20]
	cmp	x8, x2
	b.ne	LBB0_11
; %bb.9:
	ldp	x8, x3, [x20, #16]
	cmp	x8, x3
	b.ne	LBB0_12
	b	LBB0_13
LBB0_10:
	mov	x0, x20
	mov	x1, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_wl1271_configure_wowlan
LBB0_11:
	ldr	x3, [x20, #24]
LBB0_12:
	mov	x0, x20
	mov	x1, x19
	bl	_wl1271_acx_wake_up_conditions
	tbnz	w0, #31, LBB0_15
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_wl1271_acx_beacon_filter_opt
LBB0_15:
	mov	x1, x0
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_wl1271_error
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_BSS_TYPE_AP_BSS,8,3            ; @BSS_TYPE_AP_BSS
	.comm	_BSS_TYPE_STA_BSS,8,3           ; @BSS_TYPE_STA_BSS
	.comm	_WLVIF_FLAG_STA_ASSOCIATED,4,2  ; @WLVIF_FLAG_STA_ASSOCIATED
	.comm	_WLVIF_FLAG_AP_STARTED,4,2      ; @WLVIF_FLAG_AP_STARTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"resume: wake up conditions failed: %d"

	.no_dead_strip	_wl1271_configure_resume
.subsections_via_symbols
