	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_multi_ap
_check_multi_ap:                        ## @check_multi_ap
	.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	_WLAN_STA_MULTI_AP@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	notl	%eax
	andl	%eax, (%rsi)
	movq	(%rdi), %rax
	movq	_WLAN_STATUS_SUCCESS@GOTPCREL(%rip), %r12
	cmpl	$0, (%rax)
	je	LBB0_15
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.3:
	addq	$16, %rdx
	addq	$-4, %rcx
	movq	_MULTI_AP_SUB_ELEM_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rdx, %rdi
	movq	%rcx, %rsi
	movl	%eax, %edx
	callq	_get_ie
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	cmpl	$1, 4(%rax)
	jne	LBB0_5
## %bb.6:
	movl	8(%rax), %r15d
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.7:
	movq	_MULTI_AP_BACKHAUL_STA@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_9
## %bb.8:
	movl	4(%r14), %esi
	movq	_HOSTAPD_MODULE_IEEE80211@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %r8
	movq	%rbx, %rdi
	movl	%r15d, %r9d
	xorl	%eax, %eax
	callq	_hostapd_logger
	jmp	LBB0_9
LBB0_5:
	movl	4(%r14), %esi
	movq	_HOSTAPD_MODULE_IEEE80211@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %r8
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_hostapd_logger
	movq	_WLAN_STATUS_INVALID_IE@GOTPCREL(%rip), %r12
	jmp	LBB0_15
LBB0_2:
	xorl	%r15d, %r15d
LBB0_9:
	movq	_MULTI_AP_BACKHAUL_STA@GOTPCREL(%rip), %rcx
	movq	(%rbx), %rax
	movl	(%rax), %eax
	testl	%r15d, (%rcx)
	je	LBB0_10
## %bb.12:
	movq	_BACKHAUL_BSS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_14
## %bb.13:
	movl	4(%r14), %esi
	movq	_HOSTAPD_MODULE_IEEE80211@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.3(%rip), %r8
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_hostapd_logger
LBB0_14:
	movl	(%r13), %eax
	orl	%eax, (%r14)
	jmp	LBB0_15
LBB0_10:
	movq	_FRONTHAUL_BSS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_15
## %bb.11:
	movl	4(%r14), %esi
	movq	_HOSTAPD_MODULE_IEEE80211@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %r8
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_hostapd_logger
	movq	_WLAN_STATUS_ASSOC_DENIED_UNSPEC@GOTPCREL(%rip), %r12
LBB0_15:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_STA_MULTI_AP,4,2          ## @WLAN_STA_MULTI_AP
	.comm	_WLAN_STATUS_SUCCESS,4,2        ## @WLAN_STATUS_SUCCESS
	.comm	_MULTI_AP_SUB_ELEM_TYPE,4,2     ## @MULTI_AP_SUB_ELEM_TYPE
	.comm	_HOSTAPD_MODULE_IEEE80211,4,2   ## @HOSTAPD_MODULE_IEEE80211
	.comm	_HOSTAPD_LEVEL_INFO,4,2         ## @HOSTAPD_LEVEL_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Multi-AP IE has missing or invalid Multi-AP subelement"

	.comm	_WLAN_STATUS_INVALID_IE,4,2     ## @WLAN_STATUS_INVALID_IE
	.comm	_MULTI_AP_BACKHAUL_STA,4,2      ## @MULTI_AP_BACKHAUL_STA
L_.str.1:                               ## @.str.1
	.asciz	"Multi-AP IE with unexpected value 0x%02x"

	.comm	_FRONTHAUL_BSS,4,2              ## @FRONTHAUL_BSS
L_.str.2:                               ## @.str.2
	.asciz	"Non-Multi-AP STA tries to associate with backhaul-only BSS"

	.comm	_WLAN_STATUS_ASSOC_DENIED_UNSPEC,4,2 ## @WLAN_STATUS_ASSOC_DENIED_UNSPEC
	.comm	_BACKHAUL_BSS,4,2               ## @BACKHAUL_BSS
	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ## @HOSTAPD_LEVEL_DEBUG
L_.str.3:                               ## @.str.3
	.asciz	"Backhaul STA tries to associate with fronthaul-only BSS"

	.no_dead_strip	_check_multi_ap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_multi_ap
_check_multi_ap:                        ; @check_multi_ap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
Lloh0:
	adrp	x21, _WLAN_STA_MULTI_AP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _WLAN_STA_MULTI_AP@GOTPAGEOFF]
	ldr	w8, [x21]
	ldr	w9, [x1]
	bic	w8, w9, w8
	str	w8, [x1]
	ldr	x8, [x0]
	ldr	w8, [x8]
	cbz	w8, LBB0_13
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	cbz	x2, LBB0_7
; %bb.2:
	add	x0, x2, #16
	sub	x1, x3, #4
Lloh2:
	adrp	x8, _MULTI_AP_SUB_ELEM_TYPE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MULTI_AP_SUB_ELEM_TYPE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_get_ie
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w8, [x0, #4]
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.4:
	ldr	w22, [x0, #8]
Lloh5:
	adrp	x8, _MULTI_AP_BACKHAUL_STA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MULTI_AP_BACKHAUL_STA@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w22, #0
	ccmp	w22, w8, #4, ne
	b.eq	LBB0_8
; %bb.5:
	ldr	w1, [x20, #4]
Lloh8:
	adrp	x8, _HOSTAPD_MODULE_IEEE80211@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HOSTAPD_MODULE_IEEE80211@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _HOSTAPD_LEVEL_INFO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HOSTAPD_LEVEL_INFO@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
Lloh14:
	adrp	x4, l_.str.1@PAGE
Lloh15:
	add	x4, x4, l_.str.1@PAGEOFF
	str	x22, [sp]
	mov	x0, x19
	bl	_hostapd_logger
	b	LBB0_8
LBB0_6:
	ldr	w1, [x20, #4]
Lloh16:
	adrp	x8, _HOSTAPD_MODULE_IEEE80211@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HOSTAPD_MODULE_IEEE80211@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x8, _HOSTAPD_LEVEL_INFO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HOSTAPD_LEVEL_INFO@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
Lloh22:
	adrp	x4, l_.str@PAGE
Lloh23:
	add	x4, x4, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hostapd_logger
Lloh24:
	adrp	x8, _WLAN_STATUS_INVALID_IE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WLAN_STATUS_INVALID_IE@GOTPAGEOFF]
	b	LBB0_14
LBB0_7:
	mov	w22, #0
LBB0_8:
Lloh26:
	adrp	x8, _MULTI_AP_BACKHAUL_STA@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MULTI_AP_BACKHAUL_STA@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x8]
	ldr	x8, [x19]
	ldr	w8, [x8]
	tst	w9, w22
	b.eq	LBB0_12
; %bb.9:
Lloh29:
	adrp	x9, _BACKHAUL_BSS@GOTPAGE
Lloh30:
	ldr	x9, [x9, _BACKHAUL_BSS@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_11
; %bb.10:
	ldr	w1, [x20, #4]
Lloh32:
	adrp	x8, _HOSTAPD_MODULE_IEEE80211@GOTPAGE
Lloh33:
	ldr	x8, [x8, _HOSTAPD_MODULE_IEEE80211@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
Lloh35:
	adrp	x8, _HOSTAPD_LEVEL_DEBUG@GOTPAGE
Lloh36:
	ldr	x8, [x8, _HOSTAPD_LEVEL_DEBUG@GOTPAGEOFF]
Lloh37:
	ldr	w3, [x8]
Lloh38:
	adrp	x4, l_.str.3@PAGE
Lloh39:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_hostapd_logger
LBB0_11:
	ldr	w8, [x21]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	b	LBB0_13
LBB0_12:
Lloh40:
	adrp	x9, _FRONTHAUL_BSS@GOTPAGE
Lloh41:
	ldr	x9, [x9, _FRONTHAUL_BSS@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
LBB0_13:
Lloh43:
	adrp	x8, _WLAN_STATUS_SUCCESS@GOTPAGE
Lloh44:
	ldr	x8, [x8, _WLAN_STATUS_SUCCESS@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	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
	add	sp, sp, #64
	ret
LBB0_15:
	ldr	w1, [x20, #4]
Lloh45:
	adrp	x8, _HOSTAPD_MODULE_IEEE80211@GOTPAGE
Lloh46:
	ldr	x8, [x8, _HOSTAPD_MODULE_IEEE80211@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
Lloh48:
	adrp	x8, _HOSTAPD_LEVEL_INFO@GOTPAGE
Lloh49:
	ldr	x8, [x8, _HOSTAPD_LEVEL_INFO@GOTPAGEOFF]
Lloh50:
	ldr	w3, [x8]
Lloh51:
	adrp	x4, l_.str.2@PAGE
Lloh52:
	add	x4, x4, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_hostapd_logger
Lloh53:
	adrp	x8, _WLAN_STATUS_ASSOC_DENIED_UNSPEC@GOTPAGE
Lloh54:
	ldr	x8, [x8, _WLAN_STATUS_ASSOC_DENIED_UNSPEC@GOTPAGEOFF]
	b	LBB0_14
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_STA_MULTI_AP,4,2          ; @WLAN_STA_MULTI_AP
	.comm	_WLAN_STATUS_SUCCESS,4,2        ; @WLAN_STATUS_SUCCESS
	.comm	_MULTI_AP_SUB_ELEM_TYPE,4,2     ; @MULTI_AP_SUB_ELEM_TYPE
	.comm	_HOSTAPD_MODULE_IEEE80211,4,2   ; @HOSTAPD_MODULE_IEEE80211
	.comm	_HOSTAPD_LEVEL_INFO,4,2         ; @HOSTAPD_LEVEL_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Multi-AP IE has missing or invalid Multi-AP subelement"

	.comm	_WLAN_STATUS_INVALID_IE,4,2     ; @WLAN_STATUS_INVALID_IE
	.comm	_MULTI_AP_BACKHAUL_STA,4,2      ; @MULTI_AP_BACKHAUL_STA
l_.str.1:                               ; @.str.1
	.asciz	"Multi-AP IE with unexpected value 0x%02x"

	.comm	_FRONTHAUL_BSS,4,2              ; @FRONTHAUL_BSS
l_.str.2:                               ; @.str.2
	.asciz	"Non-Multi-AP STA tries to associate with backhaul-only BSS"

	.comm	_WLAN_STATUS_ASSOC_DENIED_UNSPEC,4,2 ; @WLAN_STATUS_ASSOC_DENIED_UNSPEC
	.comm	_BACKHAUL_BSS,4,2               ; @BACKHAUL_BSS
	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ; @HOSTAPD_LEVEL_DEBUG
l_.str.3:                               ; @.str.3
	.asciz	"Backhaul STA tries to associate with fronthaul-only BSS"

	.no_dead_strip	_check_multi_ap
.subsections_via_symbols
