	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_bss_connect_done
_brcmf_bss_connect_done:                ## @brcmf_bss_connect_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_cfg_to_conn
	movq	%rax, %r14
	movq	_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movq	_BRCMF_VIF_STATUS_CONNECTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	testl	%r13d, %r13d
	je	LBB0_2
## %bb.3:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_brcmf_get_assoc_ies
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_brcmf_update_bss_info
	movq	_BRCMF_VIF_STATUS_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	callq	_set_bit
	leaq	L_.str.2(%rip), %rbx
	movq	_WLAN_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str.3(%rip), %rbx
	movq	_WLAN_STATUS_AUTH_TIMEOUT@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
	movl	%eax, -64(%rbp)
	movups	(%r14), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	callq	_cfg80211_connect_done
	movq	_CONN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_brcmf_dbg
LBB0_5:
	movq	_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_brcmf_dbg
	xorl	%eax, %eax
	addq	$40, %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	_BRCMF_VIF_STATUS_CONNECTING,4,2 ## @BRCMF_VIF_STATUS_CONNECTING
	.comm	_BRCMF_VIF_STATUS_CONNECTED,4,2 ## @BRCMF_VIF_STATUS_CONNECTED
	.comm	_WLAN_STATUS_SUCCESS,4,2        ## @WLAN_STATUS_SUCCESS
	.comm	_WLAN_STATUS_AUTH_TIMEOUT,4,2   ## @WLAN_STATUS_AUTH_TIMEOUT
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_CONN,4,2                       ## @CONN
L_.str.1:                               ## @.str.1
	.asciz	"Report connect result - connection %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"succeeded"

L_.str.3:                               ## @.str.3
	.asciz	"failed"

L_.str.4:                               ## @.str.4
	.asciz	"Exit\n"

	.no_dead_strip	_brcmf_bss_connect_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_connect_done
_brcmf_bss_connect_done:                ; @brcmf_bss_connect_done
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x23, x3
	mov	x19, x1
	mov	x22, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
	ldr	x25, [x0]
	mov	x0, x22
	bl	_cfg_to_conn
	mov	x20, x0
Lloh0:
	adrp	x24, _TRACE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TRACE@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
Lloh4:
	adrp	x8, _BRCMF_VIF_STATUS_CONNECTING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BRCMF_VIF_STATUS_CONNECTING@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	x1, [x21]
	bl	_test_and_clear_bit
	cbz	x0, LBB0_5
; %bb.1:
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	cbz	w23, LBB0_3
; %bb.2:
	mov	x0, x22
	mov	x1, x21
	bl	_brcmf_get_assoc_ies
	mov	x0, x22
	mov	x1, x21
	bl	_brcmf_update_bss_info
Lloh7:
	adrp	x8, _BRCMF_VIF_STATUS_CONNECTED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BRCMF_VIF_STATUS_CONNECTED@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	x1, [x21]
	bl	_set_bit
Lloh10:
	adrp	x21, l_.str.2@PAGE
Lloh11:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh12:
	adrp	x8, _WLAN_STATUS_SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WLAN_STATUS_SUCCESS@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh14:
	adrp	x21, l_.str.3@PAGE
Lloh15:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh16:
	adrp	x8, _WLAN_STATUS_AUTH_TIMEOUT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WLAN_STATUS_AUTH_TIMEOUT@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	str	w8, [sp, #36]
	ldr	w8, [x25, #4]
	str	w8, [sp, #32]
	ldr	q0, [x20]
	str	q0, [sp, #16]
Lloh18:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	add	x1, sp, #16
	mov	x0, x19
	bl	_cfg80211_connect_done
Lloh21:
	adrp	x8, _CONN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CONN@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_brcmf_dbg
LBB0_5:
	ldr	w0, [x24]
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_brcmf_dbg
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_TRACE,4,2                      ; @TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter\n"

	.comm	_BRCMF_VIF_STATUS_CONNECTING,4,2 ; @BRCMF_VIF_STATUS_CONNECTING
	.comm	_BRCMF_VIF_STATUS_CONNECTED,4,2 ; @BRCMF_VIF_STATUS_CONNECTED
	.comm	_WLAN_STATUS_SUCCESS,4,2        ; @WLAN_STATUS_SUCCESS
	.comm	_WLAN_STATUS_AUTH_TIMEOUT,4,2   ; @WLAN_STATUS_AUTH_TIMEOUT
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_CONN,4,2                       ; @CONN
l_.str.1:                               ; @.str.1
	.asciz	"Report connect result - connection %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"succeeded"

l_.str.3:                               ; @.str.3
	.asciz	"failed"

l_.str.4:                               ; @.str.4
	.asciz	"Exit\n"

	.no_dead_strip	_brcmf_bss_connect_done
.subsections_via_symbols
