	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfg80211_get_conn_bss
_cfg80211_get_conn_bss:                 ## @cfg80211_get_conn_bss
	.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	%rdi, %r15
	movl	8(%rdi), %edi
	callq	_wiphy_to_dev
	movq	%rax, %r14
	movq	_WLAN_CAPABILITY_ESS@GOTPCREL(%rip), %r12
	movl	(%r12), %r13d
	movq	%r15, %rdi
	callq	_ASSERT_WDEV_LOCK
	movq	(%r15), %rax
	xorl	%ebx, %ebx
	cmpq	$0, 24(%rax)
	movq	_WLAN_CAPABILITY_PRIVACY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	cmovnel	%r9d, %ebx
	orl	%r13d, %ebx
	movl	8(%r15), %edi
	movl	8(%rax), %esi
	movl	12(%rax), %edx
	movl	20(%rax), %ecx
	movl	16(%rax), %r8d
	orl	(%r12), %r9d
	movl	%ebx, (%rsp)
	callq	_cfg80211_get_bss
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%r15), %rax
	movl	32(%rax), %edi
	movl	4(%rbx), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	(%r15), %rax
	movl	32(%rax), %ecx
	movl	%ecx, 12(%rax)
	movl	(%rbx), %ecx
	movl	%ecx, 8(%rax)
	movq	_CFG80211_CONN_AUTHENTICATE_NEXT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	%r14, %rdi
	callq	_schedule_work
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_CAPABILITY_ESS,4,2        ## @WLAN_CAPABILITY_ESS
	.comm	_WLAN_CAPABILITY_PRIVACY,4,2    ## @WLAN_CAPABILITY_PRIVACY
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_CFG80211_CONN_AUTHENTICATE_NEXT,4,2 ## @CFG80211_CONN_AUTHENTICATE_NEXT
	.no_dead_strip	_cfg80211_get_conn_bss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfg80211_get_conn_bss
_cfg80211_get_conn_bss:                 ; @cfg80211_get_conn_bss
	.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	x20, x0
	ldr	w0, [x0, #8]
	bl	_wiphy_to_dev
	mov	x19, x0
Lloh0:
	adrp	x21, _WLAN_CAPABILITY_ESS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _WLAN_CAPABILITY_ESS@GOTPAGEOFF]
	ldr	w22, [x21]
	mov	x0, x20
	bl	_ASSERT_WDEV_LOCK
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _WLAN_CAPABILITY_PRIVACY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _WLAN_CAPABILITY_PRIVACY@GOTPAGEOFF]
	ldr	x10, [x8, #24]
Lloh4:
	ldr	w9, [x9]
	cmp	x10, #0
	csel	w10, wzr, w9, eq
	orr	w6, w10, w22
	ldr	w0, [x20, #8]
	ldp	w1, w2, [x8, #8]
	ldp	w4, w3, [x8, #16]
	ldr	w8, [x21]
	orr	w5, w8, w9
	bl	_cfg80211_get_bss
	mov	x21, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	w0, [x8, #32]
	ldr	w1, [x21, #4]
Lloh5:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	x8, [x20]
	ldr	w9, [x8, #32]
	ldr	w10, [x21]
	stp	w10, w9, [x8, #8]
Lloh8:
	adrp	x9, _CFG80211_CONN_AUTHENTICATE_NEXT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CFG80211_CONN_AUTHENTICATE_NEXT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	str	w9, [x8]
	mov	x0, x19
	bl	_schedule_work
LBB0_2:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_CAPABILITY_ESS,4,2        ; @WLAN_CAPABILITY_ESS
	.comm	_WLAN_CAPABILITY_PRIVACY,4,2    ; @WLAN_CAPABILITY_PRIVACY
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_CFG80211_CONN_AUTHENTICATE_NEXT,4,2 ; @CFG80211_CONN_AUTHENTICATE_NEXT
	.no_dead_strip	_cfg80211_get_conn_bss
.subsections_via_symbols
