	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_bss_roaming_done
_brcmf_bss_roaming_done:                ## @brcmf_bss_roaming_done
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r13
	movq	(%rax), %r14
	movq	%rbx, %rdi
	callq	_cfg_to_conn
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_cfg_to_wiphy
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	$0, -96(%rbp)
	movq	_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_brcmf_dbg
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_brcmf_get_assoc_ies
	movl	4(%r14), %edi
	movl	(%r15), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_brcmf_update_bss_info
	movq	_WL_BSS_INFO_MAX@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%r15), %edi
	callq	_cpu_to_le32
	movl	%eax, (%r12)
	movq	_BRCMF_C_GET_BSS_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %ecx
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_brcmf_fil_cmd_data_get
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_8
LBB0_4:
	movl	16(%r12), %edi
	callq	_le16_to_cpu
	movl	%eax, -68(%rbp)
	leaq	-80(%rbp), %rdi
	callq	*(%rbx)
	movq	-80(%rbp), %rcx
	movq	_BRCMU_CHAN_BAND_2G@GOTPCREL(%rip), %rdx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.6:
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_5:
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rcx
LBB0_7:
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	-72(%rbp), %edi
	movl	(%rax), %esi
	callq	_ieee80211_channel_to_frequency
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ieee80211_get_channel
	movq	%rax, %rbx
	xorl	%r15d, %r15d
LBB0_8:
	movq	%r12, %rdi
	callq	_kfree
	movq	%rbx, -88(%rbp)
	movl	4(%r14), %eax
	movl	%eax, -96(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movups	(%rax), %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-112(%rbp), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_cfg80211_roamed
	movq	_CONN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_brcmf_dbg
	movq	_BRCMF_VIF_STATUS_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r13), %rsi
	callq	_set_bit
	movq	_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_brcmf_dbg
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRACE,4,2                      ## @TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter\n"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_WL_BSS_INFO_MAX,4,2            ## @WL_BSS_INFO_MAX
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_BRCMF_C_GET_BSS_INFO,4,2       ## @BRCMF_C_GET_BSS_INFO
	.comm	_BRCMU_CHAN_BAND_2G,8,3         ## @BRCMU_CHAN_BAND_2G
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.comm	_CONN,4,2                       ## @CONN
L_.str.1:                               ## @.str.1
	.asciz	"Report roaming result\n"

	.comm	_BRCMF_VIF_STATUS_CONNECTED,4,2 ## @BRCMF_VIF_STATUS_CONNECTED
L_.str.2:                               ## @.str.2
	.asciz	"Exit\n"

	.no_dead_strip	_brcmf_bss_roaming_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_bss_roaming_done
_brcmf_bss_roaming_done:                ; @brcmf_bss_roaming_done
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x24, x2
	mov	x20, x1
	mov	x23, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	x27, [x0]
	mov	x0, x23
	bl	_cfg_to_conn
	mov	x21, x0
	mov	x0, x23
	bl	_cfg_to_wiphy
	mov	x22, x0
	str	xzr, [sp, #16]
Lloh0:
	adrp	x26, _TRACE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _TRACE@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
	mov	x0, x23
	mov	x1, x19
	bl	_brcmf_get_assoc_ies
	ldr	w0, [x27, #4]
	ldr	w1, [x24]
Lloh4:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	bl	_memcpy
	mov	x0, x23
	mov	x1, x19
	bl	_brcmf_update_bss_info
Lloh7:
	adrp	x25, _WL_BSS_INFO_MAX@GOTPAGE
Lloh8:
	ldr	x25, [x25, _WL_BSS_INFO_MAX@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh9:
	adrp	x28, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x28, [x28, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x28]
	bl	_kzalloc
	mov	x24, x0
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w0, [x25]
	bl	_cpu_to_le32
	str	w0, [x24]
Lloh11:
	adrp	x8, _BRCMF_C_GET_BSS_INFO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BRCMF_C_GET_BSS_INFO@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x2, x24
	bl	_brcmf_fil_cmd_data_get
	mov	x25, x0
	cbz	w0, LBB0_4
; %bb.2:
	mov	x22, #0
	b	LBB0_5
LBB0_3:
	mov	x22, #0
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_5
LBB0_4:
	ldr	w0, [x24, #16]
	bl	_le16_to_cpu
	str	w0, [sp, #44]
	ldr	x8, [x23]
	add	x0, sp, #32
	blr	x8
	ldr	x8, [sp, #32]
Lloh17:
	adrp	x9, _BRCMU_CHAN_BAND_2G@GOTPAGE
Lloh18:
	ldr	x9, [x9, _BRCMU_CHAN_BAND_2G@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	ldr	x10, [x22]
Lloh20:
	adrp	x11, _NL80211_BAND_2GHZ@GOTPAGE
Lloh21:
	ldr	x11, [x11, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh22:
	adrp	x12, _NL80211_BAND_5GHZ@GOTPAGE
Lloh23:
	ldr	x12, [x12, _NL80211_BAND_5GHZ@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x11, x12, eq
	ldr	x8, [x8]
	ldr	x8, [x10, x8, lsl #3]
	ldr	w0, [sp, #40]
	ldr	w1, [x8]
	bl	_ieee80211_channel_to_frequency
	mov	x1, x0
	mov	x0, x22
	bl	_ieee80211_get_channel
	mov	x22, x0
LBB0_5:
	mov	x0, x24
	bl	_kfree
	str	x22, [sp, #24]
	ldr	w8, [x27, #4]
	str	w8, [sp, #16]
	ldr	q0, [x21]
	str	q0, [sp]
	ldr	w2, [x28]
	mov	x1, sp
	mov	x0, x20
	bl	_cfg80211_roamed
Lloh24:
	adrp	x8, _CONN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CONN@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x1, l_.str.1@PAGE
Lloh28:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_brcmf_dbg
Lloh29:
	adrp	x8, _BRCMF_VIF_STATUS_CONNECTED@GOTPAGE
Lloh30:
	ldr	x8, [x8, _BRCMF_VIF_STATUS_CONNECTED@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	ldr	x1, [x19]
	bl	_set_bit
	ldr	w0, [x26]
Lloh32:
	adrp	x1, l_.str.2@PAGE
Lloh33:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_brcmf_dbg
	mov	x0, x25
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_TRACE,4,2                      ; @TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter\n"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_WL_BSS_INFO_MAX,4,2            ; @WL_BSS_INFO_MAX
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_BRCMF_C_GET_BSS_INFO,4,2       ; @BRCMF_C_GET_BSS_INFO
	.comm	_BRCMU_CHAN_BAND_2G,8,3         ; @BRCMU_CHAN_BAND_2G
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.comm	_CONN,4,2                       ; @CONN
l_.str.1:                               ; @.str.1
	.asciz	"Report roaming result\n"

	.comm	_BRCMF_VIF_STATUS_CONNECTED,4,2 ; @BRCMF_VIF_STATUS_CONNECTED
l_.str.2:                               ; @.str.2
	.asciz	"Exit\n"

	.no_dead_strip	_brcmf_bss_roaming_done
.subsections_via_symbols
