	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_scan_build_ssids
_iwl_scan_build_ssids:                  ## @iwl_scan_build_ssids
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movl	(%rdi), %r12d
	xorl	%r14d, %r14d
	movq	_PROBE_OPTION_MAX@GOTPCREL(%rip), %rdi
	testl	%r12d, %r12d
	jle	LBB0_8
## %bb.1:
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.2:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	16(%rcx), %rbx
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%r12), %ecx
	movq	16(%r13), %rsi
	shlq	$4, %rcx
	movq	8(%rsi,%rcx), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_WLAN_EID_SSID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	%rdx, -16(%rbx)
	movl	-8(%rbx), %edi
	movl	(%rsi,%rcx), %esi
	callq	_memcpy
	movq	_PROBE_OPTION_MAX@GOTPCREL(%rip), %rdi
	movl	(%rdi), %eax
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%r15), %r14
	cmpq	$2, %r12
	jb	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$24, %rbx
	decq	%r12
	movslq	%eax, %rcx
	cmpq	%rcx, %r15
	movq	%r14, %r15
	jl	LBB0_3
LBB0_7:
	decl	%r14d
LBB0_8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	movl	4(%r13), %r12d
	testl	%r12d, %r12d
	jle	LBB0_15
## %bb.9:
	cmpl	(%rdi), %r14d
	jge	LBB0_15
## %bb.10:
	movl	%r14d, %eax
	leaq	(%rax,%rax,2), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %r15
	addq	$16, %r15
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	leal	-1(%r12), %ebx
	movq	8(%r13), %rax
	shlq	$4, %rbx
	movl	(%rax,%rbx), %edi
	movq	8(%rax,%rbx), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_iwl_ssid_exist
	testl	%eax, %eax
	jns	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_WLAN_EID_SSID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	8(%r13), %rax
	movq	8(%rax,%rbx), %rdx
	movq	%rdx, -16(%r15)
	movl	-8(%r15), %edi
	movl	(%rax,%rbx), %esi
	callq	_memcpy
	movl	%r14d, %eax
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%eax, %edi
	callq	_BIT
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
	cmpq	$2, %r12
	movq	_PROBE_OPTION_MAX@GOTPCREL(%rip), %rax
	jb	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	incl	%r14d
	addq	$24, %r15
	decq	%r12
	cmpl	%r14d, (%rax)
	jg	LBB0_11
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PROBE_OPTION_MAX,4,2           ## @PROBE_OPTION_MAX
	.comm	_WLAN_EID_SSID,8,3              ## @WLAN_EID_SSID
	.no_dead_strip	_iwl_scan_build_ssids
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_scan_build_ssids
_iwl_scan_build_ssids:                  ; @iwl_scan_build_ssids
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _PROBE_OPTION_MAX@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PROBE_OPTION_MAX@GOTPAGEOFF]
	ldr	w24, [x0]
	ldr	w8, [x22]
	cmp	w24, #1
	ccmp	w8, #1, #8, ge
Lloh2:
	adrp	x23, _WLAN_EID_SSID@GOTPAGE
Lloh3:
	ldr	x23, [x23, _WLAN_EID_SSID@GOTPAGEOFF]
	b.ge	LBB0_2
; %bb.1:
	mov	w24, #0
	b	LBB0_8
LBB0_2:
	add	x25, x20, #16
	mov	w26, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w10, w24, #1
	ldr	x9, [x21, #16]
	add	x11, x9, w10, uxtw #4
	ldr	x2, [x11, #8]
	cbz	x2, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	str	x8, [x25]
	stur	x2, [x25, #-16]
	ldur	w0, [x25, #-8]
	lsl	x8, x10, #4
	ldr	w1, [x9, x8]
	bl	_memcpy
	ldr	w8, [x22]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x26, #1
	cmp	x24, #2
	b.lo	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x10, w8
	add	x25, x25, #24
	sub	x24, x24, #1
	cmp	x26, x10
	mov	x26, x9
	b.lt	LBB0_3
LBB0_7:
	sub	w24, w9, #1
LBB0_8:
	str	wzr, [x19]
	ldr	w25, [x21, #4]
	ldr	w8, [x22]
	cmp	w25, #1
	ccmp	w24, w8, #0, ge
	b.ge	LBB0_14
; %bb.9:
	mov	w8, #24
	umull	x26, w24, w8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sub	w27, w25, #1
	ldr	x8, [x21, #8]
	add	x8, x8, w27, uxtw #4
	ldr	w0, [x8]
	ldr	x1, [x8, #8]
	mov	x2, x20
	bl	_iwl_ssid_exist
	tbz	w0, #31, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x23]
	add	x9, x20, x26
	str	x8, [x9, #16]
	ldr	x8, [x21, #8]
	add	x8, x8, x27, lsl #4
	ldr	x2, [x8, #8]
	str	x2, [x9]
	ldr	w0, [x9, #8]
	ldr	w1, [x8]
	bl	_memcpy
	mov	x0, x24
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=1
	bl	_BIT
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
	cmp	x25, #2
	b.lo	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x22]
	add	w24, w24, #1
	add	x26, x26, #24
	sub	x25, x25, #1
	cmp	w8, w24
	b.gt	LBB0_10
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PROBE_OPTION_MAX,4,2           ; @PROBE_OPTION_MAX
	.comm	_WLAN_EID_SSID,8,3              ; @WLAN_EID_SSID
	.no_dead_strip	_iwl_scan_build_ssids
.subsections_via_symbols
