	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wnm_scan_process               ## -- Begin function wnm_scan_process
	.p2align	4, 0x90
_wnm_scan_process:                      ## @wnm_scan_process
	.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	40(%rdi), %r12
	movq	_MBO_TRANSITION_REJECT_REASON_UNSPECIFIED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	xorl	%r14d, %r14d
	cmpl	$0, 36(%rdi)
	je	LBB0_11
## %bb.1:
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	L_.str(%rip), %rdx
	callq	_wpa_dbg
	leaq	32(%rbx), %rdi
	leaq	28(%rbx), %rsi
	callq	_os_reltime_before
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
LBB0_10:
	movq	%rbx, %rdi
	callq	_wnm_deallocate_memory
	jmp	LBB0_11
LBB0_3:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	24(%rbx), %edi
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%r14d, %r14d
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_compare_scan_neighbor_results
	testq	%rax, %rax
	je	LBB0_7
## %bb.12:
	movl	$1, %r14d
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	movl	$1, %ecx
	callq	_wnm_bss_tm_connect
	jmp	LBB0_11
LBB0_7:
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_wpa_printf
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.8:
	cmpq	$0, 8(%rbx)
	je	LBB0_10
## %bb.9:
	movq	_WNM_BSS_TM_REJECT_NO_SUITABLE_CANDIDATES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	$0, 8(%rbx)
	movl	(%rbx), %esi
	movl	-44(%rbp), %ecx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_wnm_send_bss_transition_mgmt_resp
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_WNM_BSS_TM_REJECT_UNSPECIFIED,4,2 ## @WNM_BSS_TM_REJECT_UNSPECIFIED
	.comm	_MBO_TRANSITION_REJECT_REASON_UNSPECIFIED,4,2 ## @MBO_TRANSITION_REJECT_REASON_UNSPECIFIED
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WNM: Process scan results for BSS Transition Management"

L_.str.1:                               ## @.str.1
	.asciz	"WNM: Previously stored BSS transition candidate list is not valid anymore - drop it"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
L_.str.2:                               ## @.str.2
	.asciz	"WNM: Stored BSS transition candidate list not from the current BSS - ignore it"

L_.str.3:                               ## @.str.3
	.asciz	"WNM: No BSS transition candidate match found"

	.comm	_WNM_BSS_TM_REJECT_NO_SUITABLE_CANDIDATES,4,2 ## @WNM_BSS_TM_REJECT_NO_SUITABLE_CANDIDATES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wnm_scan_process               ; -- Begin function wnm_scan_process
	.p2align	2
_wnm_scan_process:                      ; @wnm_scan_process
	.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
	ldr	x21, [x0, #40]
Lloh0:
	adrp	x8, _MBO_TRANSITION_REJECT_REASON_UNSPECIFIED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBO_TRANSITION_REJECT_REASON_UNSPECIFIED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	w8, [x0, #36]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh3:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	bl	_wpa_dbg
	add	x0, x19, #32
	add	x1, x19, #28
	bl	_os_reltime_before
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x22]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
LBB0_3:
	mov	x0, x19
	bl	_wnm_deallocate_memory
	b	LBB0_7
LBB0_4:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w0, [x19, #24]
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_os_memcmp
	cbz	x0, LBB0_9
LBB0_6:
	ldr	w0, [x22]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
LBB0_7:
	mov	w20, #0
LBB0_8:
	mov	x0, x20
	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_9:
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #0
	bl	_compare_scan_neighbor_results
	cbz	x0, LBB0_11
; %bb.10:
	mov	x1, x0
	mov	w20, #1
	mov	x0, x19
	mov	x2, x21
	mov	w3, #1
	bl	_wnm_bss_tm_connect
	b	LBB0_8
LBB0_11:
	ldr	w0, [x22]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	cbz	w20, LBB0_8
; %bb.12:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.13:
Lloh16:
	adrp	x8, _WNM_BSS_TM_REJECT_NO_SUITABLE_CANDIDATES@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WNM_BSS_TM_REJECT_NO_SUITABLE_CANDIDATES@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	str	xzr, [x19, #8]
	ldr	w1, [x19]
	ldr	w3, [sp, #12]
	mov	x0, x19
	mov	w4, #0
	mov	x5, #0
	bl	_wnm_send_bss_transition_mgmt_resp
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_WNM_BSS_TM_REJECT_UNSPECIFIED,4,2 ; @WNM_BSS_TM_REJECT_UNSPECIFIED
	.comm	_MBO_TRANSITION_REJECT_REASON_UNSPECIFIED,4,2 ; @MBO_TRANSITION_REJECT_REASON_UNSPECIFIED
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WNM: Process scan results for BSS Transition Management"

l_.str.1:                               ; @.str.1
	.asciz	"WNM: Previously stored BSS transition candidate list is not valid anymore - drop it"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
l_.str.2:                               ; @.str.2
	.asciz	"WNM: Stored BSS transition candidate list not from the current BSS - ignore it"

l_.str.3:                               ; @.str.3
	.asciz	"WNM: No BSS transition candidate match found"

	.comm	_WNM_BSS_TM_REJECT_NO_SUITABLE_CANDIDATES,4,2 ; @WNM_BSS_TM_REJECT_NO_SUITABLE_CANDIDATES
.subsections_via_symbols
