	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_handle_event_ext_scan_report ## -- Begin function mwifiex_handle_event_ext_scan_report
	.p2align	4, 0x90
_mwifiex_handle_event_ext_scan_report:  ## @mwifiex_handle_event_ext_scan_report
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r12
	movq	(%rsi), %r13
	movl	12(%rsi), %edi
	callq	_le16_to_cpu
	movl	%eax, %r14d
	movq	_MWIFIEX_MAX_AP@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	jle	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
LBB0_25:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 8(%rax)
	jne	LBB0_27
## %bb.26:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_mwifiex_check_next_scan_command
LBB0_27:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movslq	%r14d, %r15
	movq	%r15, -56(%rbp)
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r12, %rdi
	movl	%r14d, %ecx
	movq	%r13, %r8
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	_CMD_D@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	$16, %r15d
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	movq	%rbx, %rcx
	movl	%r15d, %r8d
	callq	_mwifiex_dbg_dump
	testq	%r13, %r13
	jle	LBB0_25
## %bb.3:
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	je	LBB0_25
## %bb.4:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	16(%rax), %r14
	movq	_TLV_TYPE_BSS_SCAN_RSP@GOTPCREL(%rip), %r13
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##       Child Loop BB0_12 Depth 3
	movl	12(%r14), %edi
	callq	_le16_to_cpu
	movl	%eax, %r15d
	movl	8(%r14), %edi
	callq	_le16_to_cpu
	movq	-56(%rbp), %rcx
	cltq
	leaq	4(%rax), %rdx
	subq	%rdx, %rcx
	jb	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	cmpl	(%r13), %r15d
	jne	LBB0_25
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%r12d, -76(%rbp)                ## 4-byte Spill
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	%r14, -112(%rbp)
	movq	%r14, %rdx
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	addq	(%r14), %rax
	movq	%rax, %r14
	xorl	%r15d, %r15d
LBB0_11:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_12 Depth 3
	movq	%rcx, %r12
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_11 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	$4, %r12
	jb	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=3
	movl	12(%r14), %edi
	callq	_le16_to_cpu
	cmpl	(%r13), %eax
	je	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=3
	movl	12(%r14), %edi
	callq	_le16_to_cpu
	movl	%eax, %ebx
	movl	8(%r14), %edi
	callq	_le16_to_cpu
	movslq	%eax, %rdx
	leaq	4(%rdx), %rsi
	movq	%r12, %rcx
	subq	%rsi, %rcx
	jb	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=3
	cmpl	$128, %ebx
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=3
	movq	%r14, %r15
	movl	$0, %r12d
	cmpl	$12, %eax
	jne	LBB0_12
	jmp	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=3
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.4(%rip), %rdx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=2
	addq	(%r14), %rdx
	subq	%rsi, -56(%rbp)
	movq	%rdx, %r14
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, -104(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_25
## %bb.20:                              ##   in Loop: Header=BB0_7 Depth=1
	addq	$32, -112(%rbp)
	addq	$-4, -56(%rbp)
	testq	%r15, %r15
	je	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	12(%r15), %edi
	callq	_le16_to_cpu
	imull	$100, %eax, %r12d
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.5(%rip), %rdx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movl	8(%r15), %edi
	callq	_le64_to_cpu
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%r15d, %r15d
	movl	-76(%rbp), %r12d                ## 4-byte Reload
	movl	-60(%rbp), %eax                 ## 4-byte Reload
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%r12d, (%rsp)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	leaq	-112(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	%eax, %ecx
	movq	%r15, %r8
	movl	$1, %r9d
	callq	_mwifiex_parse_single_response_buf
	testl	%eax, %eax
	jne	LBB0_24
## %bb.5:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	incq	%rbx
	cmpq	-120(%rbp), %rbx                ## 8-byte Folded Reload
	jge	LBB0_25
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, -56(%rbp)
	jne	LBB0_7
	jmp	LBB0_25
LBB0_8:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	jmp	LBB0_25
LBB0_24:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_MAX_AP,8,3             ## @MWIFIEX_MAX_AP
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EXT_SCAN: Invalid number of AP returned (%d)!!\n"

	.comm	_INFO,4,2                       ## @INFO
L_.str.1:                               ## @.str.1
	.asciz	"EXT_SCAN: size %d, returned %d APs..."

	.comm	_CMD_D,4,2                      ## @CMD_D
L_.str.2:                               ## @.str.2
	.asciz	"EXT_SCAN buffer:"

L_.str.3:                               ## @.str.3
	.asciz	"EXT_SCAN: Error bytes left < TLV length\n"

	.comm	_TLV_TYPE_BSS_SCAN_RSP,4,2      ## @TLV_TYPE_BSS_SCAN_RSP
L_.str.4:                               ## @.str.4
	.asciz	"EXT_SCAN: Error in processing TLV,\tbytes left < TLV length\n"

L_.str.5:                               ## @.str.5
	.asciz	"info: InterpretIE: RSSI=%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_handle_event_ext_scan_report ; -- Begin function mwifiex_handle_event_ext_scan_report
	.p2align	2
_mwifiex_handle_event_ext_scan_report:  ; @mwifiex_handle_event_ext_scan_report
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	ldr	x21, [x0]
	ldr	x28, [x1]
	ldr	w0, [x1, #12]
	bl	_le16_to_cpu
Lloh0:
	adrp	x8, _MWIFIEX_MAX_AP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MWIFIEX_MAX_AP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x28, x8
	str	x20, [sp, #32]                  ; 8-byte Folded Spill
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	str	x28, [sp]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_mwifiex_dbg
	mov	w19, #-1
	b	LBB0_23
LBB0_2:
	mov	x22, x0
	sxtw	x8, w22
	str	x8, [sp, #48]
Lloh8:
	adrp	x8, _INFO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	stp	x22, x28, [sp]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_mwifiex_dbg
Lloh13:
	adrp	x8, _CMD_D@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CMD_D@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	w4, w22, #16
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x3, x20
	bl	_mwifiex_dbg_dump
	mov	w19, #0
	cmp	x28, #1
	b.lt	LBB0_23
; %bb.3:
	str	x21, [sp, #24]                  ; 8-byte Folded Spill
	cbz	w22, LBB0_23
; %bb.4:
	mov	x24, #0
	mov	w22, #0
	mov	w21, #0
Lloh18:
	adrp	x23, _TLV_TYPE_BSS_SCAN_RSP@GOTPAGE
Lloh19:
	ldr	x23, [x23, _TLV_TYPE_BSS_SCAN_RSP@GOTPAGEOFF]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x26, x8, #16
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	w0, [x26, #12]
	bl	_le16_to_cpu
	mov	x19, x0
	ldr	w0, [x26, #8]
	bl	_le16_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x9, [sp, #48]
	sxtw	x8, w0
	add	x10, x8, #4
	subs	x20, x9, x10
	b.lo	LBB0_21
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x23]
	cmp	w19, w9
	b.ne	LBB0_22
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x19, #0
	str	x26, [sp, #56]
	mov	x25, x26
	ldr	x9, [x26]
	add	x26, x9, x8
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x20, #4
	b.lo	LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w0, [x26, #12]
	bl	_le16_to_cpu
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w0, [x26, #12]
	bl	_le16_to_cpu
	mov	x27, x0
	ldr	w0, [x26, #8]
	bl	_le16_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x10, w0
	add	x9, x10, #4
	subs	x8, x20, x9
	b.lo	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	cmp	w27, #128
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x20, #0
	mov	x19, x26
	cmp	w10, #12
	b.ne	LBB0_8
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x11, [x26]
	add	x26, x11, x10
	ldr	x10, [sp, #48]
	sub	x9, x10, x9
	str	x9, [sp, #48]
	mov	x20, x8
	b	LBB0_8
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=2
Lloh20:
	adrp	x8, _ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
Lloh23:
	adrp	x2, l_.str.4@PAGE
Lloh24:
	add	x2, x2, l_.str.4@PAGEOFF
	bl	_mwifiex_dbg
	mov	x25, #0
	mov	x20, #0
	b	LBB0_8
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x25, LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #56]
	add	x9, x8, #32
	ldr	x8, [sp, #48]
	sub	x8, x8, #4
	stp	x8, x9, [sp, #48]
	cbz	x19, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19, #12]
	bl	_le16_to_cpu
	mov	w8, #100
	mul	w22, w0, w8
Lloh25:
	adrp	x8, _INFO@GOTPAGE
Lloh26:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	str	x22, [sp]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
Lloh28:
	adrp	x2, l_.str.5@PAGE
Lloh29:
	add	x2, x2, l_.str.5@PAGEOFF
	bl	_mwifiex_dbg
	ldr	w0, [x19, #8]
	bl	_le64_to_cpu
	mov	x21, x0
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #56
	add	x2, sp, #48
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x3, x21
	mov	x4, x19
	mov	w5, #1
	mov	x6, x22
	bl	_mwifiex_parse_single_response_buf
	mov	x19, x0
	cbnz	w0, LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	cmp	x24, x28
	b.ge	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #48]
	cbnz	x8, LBB0_5
	b	LBB0_23
LBB0_21:
Lloh30:
	adrp	x8, _ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x2, l_.str.3@PAGE
Lloh34:
	add	x2, x2, l_.str.3@PAGEOFF
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_mwifiex_dbg
LBB0_22:
	mov	w19, #0
LBB0_23:
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w8, [x8, #8]
	cbnz	w8, LBB0_25
; %bb.24:
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_mwifiex_check_next_scan_command
LBB0_25:
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_MAX_AP,8,3             ; @MWIFIEX_MAX_AP
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EXT_SCAN: Invalid number of AP returned (%d)!!\n"

	.comm	_INFO,4,2                       ; @INFO
l_.str.1:                               ; @.str.1
	.asciz	"EXT_SCAN: size %d, returned %d APs..."

	.comm	_CMD_D,4,2                      ; @CMD_D
l_.str.2:                               ; @.str.2
	.asciz	"EXT_SCAN buffer:"

l_.str.3:                               ; @.str.3
	.asciz	"EXT_SCAN: Error bytes left < TLV length\n"

	.comm	_TLV_TYPE_BSS_SCAN_RSP,4,2      ; @TLV_TYPE_BSS_SCAN_RSP
l_.str.4:                               ; @.str.4
	.asciz	"EXT_SCAN: Error in processing TLV,\tbytes left < TLV length\n"

l_.str.5:                               ; @.str.5
	.asciz	"info: InterpretIE: RSSI=%d\n"

.subsections_via_symbols
