	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sme_sched_obss_scan            ## -- Begin function sme_sched_obss_scan
	.p2align	4, 0x90
_sme_sched_obss_scan:                   ## @sme_sched_obss_scan
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	24(%rdi), %r12
	movq	48(%rdi), %r13
	movq	_sme_obss_scan_timeout@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	movq	$0, 16(%r14)
	movq	_HT_SEC_CHAN_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.1:
	movl	(%r14), %eax
	movq	_WPA_DRIVER_FLAGS_SME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.2:
	movq	_WPA_DRIVER_FLAGS_OBSS_SCAN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
LBB0_3:
	testq	%r13, %r13
	je	LBB0_10
## %bb.4:
	movq	(%r13), %rax
	movq	_WPAS_MODE_INFRA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.5:
	movq	40(%r14), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movl	32(%r14), %ecx
	testl	%ecx, %ecx
	jle	LBB0_10
## %bb.7:
	movq	_HOSTAPD_MODE_IEEE80211G@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	addq	$8, %rax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, -8(%rax)
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	addq	$16, %rax
	decq	%rcx
	jne	LBB0_8
	jmp	LBB0_10
LBB0_11:
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.12:
	movq	_HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_10
## %bb.13:
	testq	%r12, %r12
	je	LBB0_10
## %bb.14:
	movl	$-2501, %eax                    ## imm = 0xF63B
	addl	(%r12), %eax
	cmpl	$-101, %eax
	jb	LBB0_10
## %bb.15:
	movq	24(%r14), %rdi
	movq	_WLAN_EID_HT_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wpa_bss_get_ie
	testq	%rax, %rax
	je	LBB0_10
## %bb.16:
	cmpl	$2, 4(%rax)
	jl	LBB0_10
## %bb.17:
	addq	$8, %rax
	movq	%rax, %rdi
	callq	_WPA_GET_LE16
	testl	%eax, (%rbx)
	je	LBB0_10
## %bb.18:
	movq	24(%r14), %rdi
	movq	_WLAN_EID_OVERLAPPING_BSS_SCAN_PARAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wpa_bss_get_ie
	testq	%rax, %rax
	je	LBB0_10
## %bb.19:
	cmpl	$14, 4(%rax)
	jge	LBB0_20
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	addq	$24, %rax
	movq	%rax, %rdi
	callq	_WPA_GET_LE16
	movl	%eax, %edx
	movl	%eax, 8(%r14)
	cmpl	$9, %eax
	jg	LBB0_22
## %bb.21:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	$10, 8(%r14)
	movl	$10, %edx
LBB0_22:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movl	8(%r14), %edi
	movl	(%r15), %edx
	xorl	%esi, %esi
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eloop_register_timeout         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sme_obss_scan_timeout,4,2      ## @sme_obss_scan_timeout
	.comm	_HT_SEC_CHAN_UNKNOWN,4,2        ## @HT_SEC_CHAN_UNKNOWN
	.comm	_WPA_DRIVER_FLAGS_SME,4,2       ## @WPA_DRIVER_FLAGS_SME
	.comm	_WPA_DRIVER_FLAGS_OBSS_SCAN,4,2 ## @WPA_DRIVER_FLAGS_OBSS_SCAN
	.comm	_WPAS_MODE_INFRA,8,3            ## @WPAS_MODE_INFRA
	.comm	_HOSTAPD_MODE_IEEE80211G,8,3    ## @HOSTAPD_MODE_IEEE80211G
	.comm	_HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET,4,2 ## @HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET
	.comm	_WLAN_EID_HT_CAP,4,2            ## @WLAN_EID_HT_CAP
	.comm	_WLAN_EID_OVERLAPPING_BSS_SCAN_PARAMS,4,2 ## @WLAN_EID_OVERLAPPING_BSS_SCAN_PARAMS
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SME: Invalid OBSS Scan Interval %u replaced with the minimum 10 sec"

L_.str.1:                               ## @.str.1
	.asciz	"SME: OBSS Scan Interval %u sec"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sme_sched_obss_scan            ; -- Begin function sme_sched_obss_scan
	.p2align	2
_sme_sched_obss_scan:                   ; @sme_sched_obss_scan
	.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	x20, x1
	mov	x19, x0
	ldr	x22, [x0, #24]
	ldr	x23, [x0, #48]
Lloh0:
	adrp	x21, _sme_obss_scan_timeout@GOTPAGE
Lloh1:
	ldr	x21, [x21, _sme_obss_scan_timeout@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	mov	x2, #0
	bl	_eloop_cancel_timeout
	str	xzr, [x19, #16]
Lloh2:
	adrp	x8, _HT_SEC_CHAN_UNKNOWN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HT_SEC_CHAN_UNKNOWN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	cbz	w20, LBB0_18
; %bb.1:
	ldr	w8, [x19]
Lloh5:
	adrp	x9, _WPA_DRIVER_FLAGS_SME@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WPA_DRIVER_FLAGS_SME@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	cbnz	x23, LBB0_4
	b	LBB0_18
LBB0_3:
Lloh8:
	adrp	x9, _WPA_DRIVER_FLAGS_OBSS_SCAN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WPA_DRIVER_FLAGS_OBSS_SCAN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, #0
	ccmp	x23, #0, #4, ne
	b.eq	LBB0_18
LBB0_4:
	ldr	x8, [x23]
Lloh11:
	adrp	x9, _WPAS_MODE_INFRA@GOTPAGE
Lloh12:
	ldr	x9, [x9, _WPAS_MODE_INFRA@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.5:
	ldr	x9, [x19, #40]
	cbz	x9, LBB0_18
; %bb.6:
	ldr	w8, [x19, #32]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.7:
Lloh14:
	adrp	x10, _HOSTAPD_MODE_IEEE80211G@GOTPAGE
Lloh15:
	ldr	x10, [x10, _HOSTAPD_MODE_IEEE80211G@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	add	x9, x9, #8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x9, #-8]
	cmp	x11, x10
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x9, x9, #16
	subs	x8, x8, #1
	b.ne	LBB0_8
	b	LBB0_18
LBB0_10:
	cbz	w8, LBB0_18
; %bb.11:
	ldr	w8, [x9]
Lloh17:
	adrp	x20, _HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET@GOTPAGE
Lloh18:
	ldr	x20, [x20, _HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET@GOTPAGEOFF]
	ldr	w9, [x20]
	and	w8, w9, w8
	cmp	w8, #0
	ccmp	x22, #0, #4, ne
	b.eq	LBB0_18
; %bb.12:
	ldr	w8, [x22]
	sub	w8, w8, #2501
	cmn	w8, #101
	b.lo	LBB0_18
; %bb.13:
	ldr	x0, [x19, #24]
Lloh19:
	adrp	x8, _WLAN_EID_HT_CAP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _WLAN_EID_HT_CAP@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_wpa_bss_get_ie
	cbz	x0, LBB0_18
; %bb.14:
	ldr	w8, [x0, #4]
	cmp	w8, #2
	b.lt	LBB0_18
; %bb.15:
	add	x0, x0, #8
	bl	_WPA_GET_LE16
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_18
; %bb.16:
	ldr	x0, [x19, #24]
Lloh22:
	adrp	x8, _WLAN_EID_OVERLAPPING_BSS_SCAN_PARAMS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _WLAN_EID_OVERLAPPING_BSS_SCAN_PARAMS@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	bl	_wpa_bss_get_ie
	cbz	x0, LBB0_18
; %bb.17:
	ldr	w8, [x0, #4]
	cmp	w8, #14
	b.ge	LBB0_19
LBB0_18:
	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_19:
	add	x0, x0, #24
	bl	_WPA_GET_LE16
	mov	x2, x0
	str	w0, [x19, #8]
Lloh25:
	adrp	x20, _MSG_DEBUG@GOTPAGE
Lloh26:
	ldr	x20, [x20, _MSG_DEBUG@GOTPAGEOFF]
	cmp	w0, #9
	b.gt	LBB0_21
; %bb.20:
	ldr	w0, [x20]
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w2, #10
	str	w2, [x19, #8]
LBB0_21:
	ldr	w0, [x20]
Lloh29:
	adrp	x1, l_.str.1@PAGE
Lloh30:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x19, #8]
	ldr	w2, [x21]
	mov	w1, #0
	mov	x3, x19
	mov	x4, #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	_eloop_register_timeout
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_sme_obss_scan_timeout,4,2      ; @sme_obss_scan_timeout
	.comm	_HT_SEC_CHAN_UNKNOWN,4,2        ; @HT_SEC_CHAN_UNKNOWN
	.comm	_WPA_DRIVER_FLAGS_SME,4,2       ; @WPA_DRIVER_FLAGS_SME
	.comm	_WPA_DRIVER_FLAGS_OBSS_SCAN,4,2 ; @WPA_DRIVER_FLAGS_OBSS_SCAN
	.comm	_WPAS_MODE_INFRA,8,3            ; @WPAS_MODE_INFRA
	.comm	_HOSTAPD_MODE_IEEE80211G,8,3    ; @HOSTAPD_MODE_IEEE80211G
	.comm	_HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET,4,2 ; @HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET
	.comm	_WLAN_EID_HT_CAP,4,2            ; @WLAN_EID_HT_CAP
	.comm	_WLAN_EID_OVERLAPPING_BSS_SCAN_PARAMS,4,2 ; @WLAN_EID_OVERLAPPING_BSS_SCAN_PARAMS
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SME: Invalid OBSS Scan Interval %u replaced with the minimum 10 sec"

l_.str.1:                               ; @.str.1
	.asciz	"SME: OBSS Scan Interval %u sec"

.subsections_via_symbols
