	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function libipw_network_init
_libipw_network_init:                   ## @libipw_network_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, 152(%rdx)
	movups	%xmm0, 136(%rdx)
	movq	24(%rdx), %rdi
	movq	24(%rsi), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	16(%r15), %edi
	callq	_le16_to_cpu
	movl	%eax, (%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 128(%rbx)
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movq	120(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	8(%r15), %rax
	movl	4(%rax), %edi
	callq	_le32_to_cpu
	movq	120(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movl	4(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 112(%rbx)
	movq	$10, 4(%rbx)
	movq	$0, 40(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 80(%rbx)
	movups	%xmm0, 96(%rbx)
	movq	_WLAN_CAPABILITY_IBSS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	(%rbx), %eax
	setne	%cl
	leal	(%rcx,%rcx,2), %eax
	movl	%eax, 12(%rbx)
	movq	(%r14), %rax
	movq	_LIBIPW_52GHZ_BAND@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_2
## %bb.1:
	movl	16(%r14), %eax
	movl	%eax, 72(%rbx)
	jmp	LBB0_3
LBB0_2:
	movq	_NETWORK_HAS_CCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
LBB0_3:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rbx)
	movl	(%r15), %edi
	movq	8(%r14), %rsi
	addq	$-32, %rsi
	movq	%rbx, %rdx
	callq	_libipw_parse_info_param
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_15
## %bb.4:
	movl	$0, 48(%rbx)
	movq	(%r14), %rax
	cmpq	(%r12), %rax
	jne	LBB0_6
## %bb.5:
	movq	_IEEE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_11
LBB0_6:
	movl	8(%rbx), %ecx
	movq	_NETWORK_HAS_OFDM@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_7
## %bb.8:
	movq	_IEEE_G@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	jmp	LBB0_9
LBB0_7:
	xorl	%eax, %eax
LBB0_9:
	movq	_NETWORK_HAS_CCK@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_12
## %bb.10:
	movq	_IEEE_B@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_11:
	movl	%eax, 48(%rbx)
LBB0_12:
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	addq	$16, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	xorl	%r15d, %r15d
	jmp	LBB0_15
LBB0_13:
	movq	40(%rbx), %rsi
	movl	32(%rbx), %edx
	movq	24(%rbx), %rcx
	leaq	L_.str(%rip), %rdi
	callq	_LIBIPW_DEBUG_SCAN
LBB0_15:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_WLAN_CAPABILITY_IBSS,4,2       ## @WLAN_CAPABILITY_IBSS
	.comm	_LIBIPW_52GHZ_BAND,8,3          ## @LIBIPW_52GHZ_BAND
	.comm	_NETWORK_HAS_CCK,4,2            ## @NETWORK_HAS_CCK
	.comm	_IEEE_A,4,2                     ## @IEEE_A
	.comm	_NETWORK_HAS_OFDM,4,2           ## @NETWORK_HAS_OFDM
	.comm	_IEEE_G,4,2                     ## @IEEE_G
	.comm	_IEEE_B,4,2                     ## @IEEE_B
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Filtered out '%*pE (%pM)' network.\n"

	.no_dead_strip	_libipw_network_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function libipw_network_init
lCPI0_0:
	.long	10                              ; 0xa
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_libipw_network_init:                   ; @libipw_network_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	movi.2d	v0, #0000000000000000
	stur	q0, [x2, #152]
	stur	q0, [x2, #136]
	ldr	x0, [x2, #24]
	ldr	x1, [x1, #24]
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	w0, [x21, #16]
	bl	_le16_to_cpu
	str	w0, [x20]
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #128]
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	bl	_le32_to_cpu
	ldr	x8, [x20, #120]
	str	x0, [x8]
	ldr	x8, [x21, #8]
	ldr	w0, [x8, #4]
	bl	_le32_to_cpu
	ldr	x8, [x20, #120]
	str	x0, [x8, #8]
	ldr	w0, [x21, #4]
	bl	_le16_to_cpu
	str	x0, [x20, #112]
	str	xzr, [x20, #40]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x20, #4]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x20, #80]
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _WLAN_CAPABILITY_IBSS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WLAN_CAPABILITY_IBSS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #3
	csel	w8, wzr, w8, eq
	str	w8, [x20, #12]
	ldr	x8, [x19]
Lloh11:
	adrp	x22, _LIBIPW_52GHZ_BAND@GOTPAGE
Lloh12:
	ldr	x22, [x22, _LIBIPW_52GHZ_BAND@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x19, #16]
	str	w8, [x20, #72]
	b	LBB0_3
LBB0_2:
Lloh13:
	adrp	x8, _NETWORK_HAS_CCK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NETWORK_HAS_CCK@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x20, #8]
LBB0_3:
	stp	xzr, xzr, [x20, #56]
	ldr	w0, [x21]
	ldr	x8, [x19, #8]
	sub	x1, x8, #32
	mov	x2, x20
	bl	_libipw_parse_info_param
	cbz	x0, LBB0_5
LBB0_4:
	mov	w0, #1
	b	LBB0_15
LBB0_5:
	str	wzr, [x20, #48]
	ldr	x8, [x19]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
Lloh16:
	adrp	x8, _IEEE_A@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IEEE_A@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	b	LBB0_12
LBB0_7:
	ldr	w9, [x20, #8]
Lloh19:
	adrp	x8, _NETWORK_HAS_OFDM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NETWORK_HAS_OFDM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_9
; %bb.8:
Lloh22:
	adrp	x8, _IEEE_G@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IEEE_G@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x20, #48]
	b	LBB0_10
LBB0_9:
	mov	w8, #0
LBB0_10:
Lloh25:
	adrp	x10, _NETWORK_HAS_CCK@GOTPAGE
Lloh26:
	ldr	x10, [x10, _NETWORK_HAS_CCK@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_13
; %bb.11:
Lloh28:
	adrp	x9, _IEEE_B@GOTPAGE
Lloh29:
	ldr	x9, [x9, _IEEE_B@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w8, w8, w9
LBB0_12:
	str	w8, [x20, #48]
LBB0_13:
	cbz	w8, LBB0_16
; %bb.14:
	add	x0, x20, #16
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_16:
	ldr	x1, [x20, #40]
	ldr	w2, [x20, #32]
	ldr	x3, [x20, #24]
Lloh31:
	adrp	x0, l_.str@PAGE
Lloh32:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LIBIPW_DEBUG_SCAN
	b	LBB0_4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_WLAN_CAPABILITY_IBSS,4,2       ; @WLAN_CAPABILITY_IBSS
	.comm	_LIBIPW_52GHZ_BAND,8,3          ; @LIBIPW_52GHZ_BAND
	.comm	_NETWORK_HAS_CCK,4,2            ; @NETWORK_HAS_CCK
	.comm	_IEEE_A,4,2                     ; @IEEE_A
	.comm	_NETWORK_HAS_OFDM,4,2           ; @NETWORK_HAS_OFDM
	.comm	_IEEE_G,4,2                     ; @IEEE_G
	.comm	_IEEE_B,4,2                     ; @IEEE_B
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Filtered out '%*pE (%pM)' network.\n"

	.no_dead_strip	_libipw_network_init
.subsections_via_symbols
