	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_get_wowlan_config
_iwl_mvm_get_wowlan_config:             ## @iwl_mvm_get_wowlan_config
	.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	%r9, %rbx
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%r9, %rdi
	callq	_iwl_mvm_sta_from_mac80211
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	movl	%eax, 12(%r15)
	movq	_ENABLE_L3_FILTERING@GOTPCREL(%rip), %rax
	movq	_ENABLE_NBNS_FILTERING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_ENABLE_DHCP_FILTERING@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%r15)
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_iwl_mvm_get_last_nonqos_seq
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_19
## %bb.1:
	movl	%ebx, %edi
	callq	_cpu_to_le16
	movl	%eax, 8(%r15)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_iwl_mvm_set_wowlan_qos_seq
	cmpq	$0, 64(%r14)
	je	LBB0_3
## %bb.2:
	movq	_IWL_WOWLAN_WAKEUP_BEACON_MISS@GOTPCREL(%rip), %rax
	movq	_IWL_WOWLAN_WAKEUP_LINK_CHANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_cpu_to_le32
	orl	%eax, 4(%r15)
LBB0_3:
	cmpq	$0, 56(%r14)
	je	LBB0_5
## %bb.4:
	movq	_IWL_WOWLAN_WAKEUP_MAGIC_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	orl	%eax, 4(%r15)
LBB0_5:
	cmpq	$0, 48(%r14)
	je	LBB0_7
## %bb.6:
	movq	_IWL_WOWLAN_WAKEUP_GTK_REKEY_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	orl	%eax, 4(%r15)
LBB0_7:
	cmpq	$0, 40(%r14)
	je	LBB0_9
## %bb.8:
	movq	_IWL_WOWLAN_WAKEUP_EAP_IDENT_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	orl	%eax, 4(%r15)
LBB0_9:
	cmpq	$0, 32(%r14)
	je	LBB0_11
## %bb.10:
	movq	_IWL_WOWLAN_WAKEUP_4WAY_HANDSHAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	orl	%eax, 4(%r15)
LBB0_11:
	cmpq	$0, 24(%r14)
	je	LBB0_13
## %bb.12:
	movq	_IWL_WOWLAN_WAKEUP_PATTERN_MATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	orl	%eax, 4(%r15)
LBB0_13:
	cmpq	$0, 16(%r14)
	je	LBB0_15
## %bb.14:
	movq	_IWL_WOWLAN_WAKEUP_RF_KILL_DEASSERT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	orl	%eax, 4(%r15)
LBB0_15:
	cmpq	$0, 8(%r14)
	je	LBB0_17
## %bb.16:
	movq	_IWL_WOWLAN_WAKEUP_REMOTE_LINK_LOSS@GOTPCREL(%rip), %rax
	movq	_IWL_WOWLAN_WAKEUP_REMOTE_SIGNATURE_TABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_IWL_WOWLAN_WAKEUP_REMOTE_WAKEUP_PACKET@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_IWL_WOWLAN_WAKEUP_LINK_CHANGE@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_cpu_to_le32
	orl	%eax, 4(%r15)
LBB0_17:
	xorl	%ebx, %ebx
	cmpq	$0, (%r14)
	je	LBB0_19
## %bb.18:
	movq	_IWL_WOWLAN_WAKEUP_BEACON_MISS@GOTPCREL(%rip), %rax
	movq	_IWL_WOWLAN_WAKEUP_LINK_CHANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_IWL_WOWLAN_WAKEUP_RX_FRAME@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_IWL_WOWLAN_WAKEUP_BCN_FILTERING@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_cpu_to_le32
	orl	%eax, 4(%r15)
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENABLE_L3_FILTERING,4,2        ## @ENABLE_L3_FILTERING
	.comm	_ENABLE_NBNS_FILTERING,4,2      ## @ENABLE_NBNS_FILTERING
	.comm	_ENABLE_DHCP_FILTERING,4,2      ## @ENABLE_DHCP_FILTERING
	.comm	_IWL_WOWLAN_WAKEUP_BEACON_MISS,4,2 ## @IWL_WOWLAN_WAKEUP_BEACON_MISS
	.comm	_IWL_WOWLAN_WAKEUP_LINK_CHANGE,4,2 ## @IWL_WOWLAN_WAKEUP_LINK_CHANGE
	.comm	_IWL_WOWLAN_WAKEUP_MAGIC_PACKET,4,2 ## @IWL_WOWLAN_WAKEUP_MAGIC_PACKET
	.comm	_IWL_WOWLAN_WAKEUP_GTK_REKEY_FAIL,4,2 ## @IWL_WOWLAN_WAKEUP_GTK_REKEY_FAIL
	.comm	_IWL_WOWLAN_WAKEUP_EAP_IDENT_REQ,4,2 ## @IWL_WOWLAN_WAKEUP_EAP_IDENT_REQ
	.comm	_IWL_WOWLAN_WAKEUP_4WAY_HANDSHAKE,4,2 ## @IWL_WOWLAN_WAKEUP_4WAY_HANDSHAKE
	.comm	_IWL_WOWLAN_WAKEUP_PATTERN_MATCH,4,2 ## @IWL_WOWLAN_WAKEUP_PATTERN_MATCH
	.comm	_IWL_WOWLAN_WAKEUP_RF_KILL_DEASSERT,4,2 ## @IWL_WOWLAN_WAKEUP_RF_KILL_DEASSERT
	.comm	_IWL_WOWLAN_WAKEUP_REMOTE_LINK_LOSS,4,2 ## @IWL_WOWLAN_WAKEUP_REMOTE_LINK_LOSS
	.comm	_IWL_WOWLAN_WAKEUP_REMOTE_SIGNATURE_TABLE,4,2 ## @IWL_WOWLAN_WAKEUP_REMOTE_SIGNATURE_TABLE
	.comm	_IWL_WOWLAN_WAKEUP_REMOTE_WAKEUP_PACKET,4,2 ## @IWL_WOWLAN_WAKEUP_REMOTE_WAKEUP_PACKET
	.comm	_IWL_WOWLAN_WAKEUP_RX_FRAME,4,2 ## @IWL_WOWLAN_WAKEUP_RX_FRAME
	.comm	_IWL_WOWLAN_WAKEUP_BCN_FILTERING,4,2 ## @IWL_WOWLAN_WAKEUP_BCN_FILTERING
	.no_dead_strip	_iwl_mvm_get_wowlan_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_get_wowlan_config
_iwl_mvm_get_wowlan_config:             ; @iwl_mvm_get_wowlan_config
	.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
	mov	x22, x5
	mov	x23, x3
	mov	x19, x2
	mov	x20, x1
	mov	x24, x0
	mov	x0, x5
	bl	_iwl_mvm_sta_from_mac80211
	mov	x21, x0
	ldr	w8, [x22]
	str	w8, [x19, #12]
Lloh0:
	adrp	x8, _ENABLE_L3_FILTERING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENABLE_L3_FILTERING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ENABLE_NBNS_FILTERING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ENABLE_NBNS_FILTERING@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _ENABLE_DHCP_FILTERING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ENABLE_DHCP_FILTERING@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
	mov	x0, x24
	mov	x1, x23
	bl	_iwl_mvm_get_last_nonqos_seq
	tbnz	w0, #31, LBB0_20
; %bb.1:
	bl	_cpu_to_le16
	str	w0, [x19, #8]
	mov	x0, x21
	mov	x1, x19
	bl	_iwl_mvm_set_wowlan_qos_seq
	ldr	x8, [x20, #64]
Lloh9:
	adrp	x21, _IWL_WOWLAN_WAKEUP_LINK_CHANGE@GOTPAGE
Lloh10:
	ldr	x21, [x21, _IWL_WOWLAN_WAKEUP_LINK_CHANGE@GOTPAGEOFF]
Lloh11:
	adrp	x22, _IWL_WOWLAN_WAKEUP_BEACON_MISS@GOTPAGE
Lloh12:
	ldr	x22, [x22, _IWL_WOWLAN_WAKEUP_BEACON_MISS@GOTPAGEOFF]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w8, [x22]
	ldr	w9, [x21]
	orr	w0, w9, w8
	bl	_cpu_to_le32
	ldr	w8, [x19, #4]
	orr	w8, w8, w0
	str	w8, [x19, #4]
LBB0_3:
	ldr	x8, [x20, #56]
	cbz	x8, LBB0_5
; %bb.4:
Lloh13:
	adrp	x8, _IWL_WOWLAN_WAKEUP_MAGIC_PACKET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IWL_WOWLAN_WAKEUP_MAGIC_PACKET@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	w8, [x19, #4]
	orr	w8, w8, w0
	str	w8, [x19, #4]
LBB0_5:
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_7
; %bb.6:
Lloh16:
	adrp	x8, _IWL_WOWLAN_WAKEUP_GTK_REKEY_FAIL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IWL_WOWLAN_WAKEUP_GTK_REKEY_FAIL@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	w8, [x19, #4]
	orr	w8, w8, w0
	str	w8, [x19, #4]
LBB0_7:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_9
; %bb.8:
Lloh19:
	adrp	x8, _IWL_WOWLAN_WAKEUP_EAP_IDENT_REQ@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IWL_WOWLAN_WAKEUP_EAP_IDENT_REQ@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	w8, [x19, #4]
	orr	w8, w8, w0
	str	w8, [x19, #4]
LBB0_9:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_11
; %bb.10:
Lloh22:
	adrp	x8, _IWL_WOWLAN_WAKEUP_4WAY_HANDSHAKE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IWL_WOWLAN_WAKEUP_4WAY_HANDSHAKE@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	w8, [x19, #4]
	orr	w8, w8, w0
	str	w8, [x19, #4]
LBB0_11:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_13
; %bb.12:
Lloh25:
	adrp	x8, _IWL_WOWLAN_WAKEUP_PATTERN_MATCH@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IWL_WOWLAN_WAKEUP_PATTERN_MATCH@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	w8, [x19, #4]
	orr	w8, w8, w0
	str	w8, [x19, #4]
LBB0_13:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_15
; %bb.14:
Lloh28:
	adrp	x8, _IWL_WOWLAN_WAKEUP_RF_KILL_DEASSERT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IWL_WOWLAN_WAKEUP_RF_KILL_DEASSERT@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	w8, [x19, #4]
	orr	w8, w8, w0
	str	w8, [x19, #4]
LBB0_15:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_17
; %bb.16:
Lloh31:
	adrp	x8, _IWL_WOWLAN_WAKEUP_REMOTE_LINK_LOSS@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IWL_WOWLAN_WAKEUP_REMOTE_LINK_LOSS@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _IWL_WOWLAN_WAKEUP_REMOTE_SIGNATURE_TABLE@GOTPAGE
Lloh35:
	ldr	x9, [x9, _IWL_WOWLAN_WAKEUP_REMOTE_SIGNATURE_TABLE@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh37:
	adrp	x9, _IWL_WOWLAN_WAKEUP_REMOTE_WAKEUP_PACKET@GOTPAGE
Lloh38:
	ldr	x9, [x9, _IWL_WOWLAN_WAKEUP_REMOTE_WAKEUP_PACKET@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x21]
	orr	w0, w8, w9
	bl	_cpu_to_le32
	ldr	w8, [x19, #4]
	orr	w8, w8, w0
	str	w8, [x19, #4]
LBB0_17:
	ldr	x8, [x20]
	cbz	x8, LBB0_19
; %bb.18:
	ldr	w8, [x22]
	ldr	w9, [x21]
	orr	w8, w9, w8
Lloh40:
	adrp	x9, _IWL_WOWLAN_WAKEUP_RX_FRAME@GOTPAGE
Lloh41:
	ldr	x9, [x9, _IWL_WOWLAN_WAKEUP_RX_FRAME@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh43:
	adrp	x9, _IWL_WOWLAN_WAKEUP_BCN_FILTERING@GOTPAGE
Lloh44:
	ldr	x9, [x9, _IWL_WOWLAN_WAKEUP_BCN_FILTERING@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_cpu_to_le32
	mov	x8, x0
	mov	w0, #0
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
	b	LBB0_20
LBB0_19:
	mov	w0, #0
LBB0_20:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_ENABLE_L3_FILTERING,4,2        ; @ENABLE_L3_FILTERING
	.comm	_ENABLE_NBNS_FILTERING,4,2      ; @ENABLE_NBNS_FILTERING
	.comm	_ENABLE_DHCP_FILTERING,4,2      ; @ENABLE_DHCP_FILTERING
	.comm	_IWL_WOWLAN_WAKEUP_BEACON_MISS,4,2 ; @IWL_WOWLAN_WAKEUP_BEACON_MISS
	.comm	_IWL_WOWLAN_WAKEUP_LINK_CHANGE,4,2 ; @IWL_WOWLAN_WAKEUP_LINK_CHANGE
	.comm	_IWL_WOWLAN_WAKEUP_MAGIC_PACKET,4,2 ; @IWL_WOWLAN_WAKEUP_MAGIC_PACKET
	.comm	_IWL_WOWLAN_WAKEUP_GTK_REKEY_FAIL,4,2 ; @IWL_WOWLAN_WAKEUP_GTK_REKEY_FAIL
	.comm	_IWL_WOWLAN_WAKEUP_EAP_IDENT_REQ,4,2 ; @IWL_WOWLAN_WAKEUP_EAP_IDENT_REQ
	.comm	_IWL_WOWLAN_WAKEUP_4WAY_HANDSHAKE,4,2 ; @IWL_WOWLAN_WAKEUP_4WAY_HANDSHAKE
	.comm	_IWL_WOWLAN_WAKEUP_PATTERN_MATCH,4,2 ; @IWL_WOWLAN_WAKEUP_PATTERN_MATCH
	.comm	_IWL_WOWLAN_WAKEUP_RF_KILL_DEASSERT,4,2 ; @IWL_WOWLAN_WAKEUP_RF_KILL_DEASSERT
	.comm	_IWL_WOWLAN_WAKEUP_REMOTE_LINK_LOSS,4,2 ; @IWL_WOWLAN_WAKEUP_REMOTE_LINK_LOSS
	.comm	_IWL_WOWLAN_WAKEUP_REMOTE_SIGNATURE_TABLE,4,2 ; @IWL_WOWLAN_WAKEUP_REMOTE_SIGNATURE_TABLE
	.comm	_IWL_WOWLAN_WAKEUP_REMOTE_WAKEUP_PACKET,4,2 ; @IWL_WOWLAN_WAKEUP_REMOTE_WAKEUP_PACKET
	.comm	_IWL_WOWLAN_WAKEUP_RX_FRAME,4,2 ; @IWL_WOWLAN_WAKEUP_RX_FRAME
	.comm	_IWL_WOWLAN_WAKEUP_BCN_FILTERING,4,2 ; @IWL_WOWLAN_WAKEUP_BCN_FILTERING
	.no_dead_strip	_iwl_mvm_get_wowlan_config
.subsections_via_symbols
