	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_notify_connect_status
_brcmf_notify_connect_status:           ## @brcmf_notify_connect_status
	.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	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movq	16(%rdi), %rdi
	movq	(%rdi), %r15
	movq	24(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rcx
	movq	_BRCMF_E_DEAUTH@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_5
## %bb.1:
	movq	_BRCMF_E_DEAUTH_IND@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_5
## %bb.2:
	movq	_BRCMF_E_DISASSOC_IND@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_5
## %bb.3:
	movq	_BRCMF_E_LINK@GOTPCREL(%rip), %rdx
	movq	%r14, %rax
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.4:
	cmpl	$0, 16(%r12)
	movq	%r14, %rax
	jne	LBB0_6
LBB0_5:
	movl	8(%rbx), %esi
	movq	8(%r12), %rdx
	callq	_brcmf_proto_delete_peer
	movq	(%rbx), %rax
LBB0_6:
	movq	%rax, %rdi
	callq	_brcmf_is_apmode
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r13, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_brcmf_notify_connect_status_ap ## TAILCALL
LBB0_8:
	movq	(%rbx), %rdi
	movq	%r12, %rsi
	callq	_brcmf_is_linkup
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	_CONN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_brcmf_dbg
	movq	(%rbx), %rdi
	callq	_brcmf_is_ibssmode
	testq	%rax, %rax
	je	LBB0_16
## %bb.10:
	movq	8(%r12), %rdx
	movq	%r15, %rdi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_brcmf_inform_ibss
	movl	4(%r15), %esi
	movl	8(%r15), %edi
	callq	_ieee80211_get_channel
	movq	%rax, %r15
	movl	4(%r14), %edi
	movq	8(%r12), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	8(%r12), %rsi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_cfg80211_ibss_joined
	movq	_BRCMF_VIF_STATUS_CONNECTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	callq	_clear_bit
	movq	_BRCMF_VIF_STATUS_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	callq	_set_bit
	jmp	LBB0_17
LBB0_11:
	movq	%r12, %rdi
	callq	_brcmf_is_linkdown
	testq	%rax, %rax
	je	LBB0_20
## %bb.12:
	movq	_CONN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_brcmf_dbg
	movq	(%rbx), %rdi
	callq	_brcmf_is_ibssmode
	testq	%rax, %rax
	jne	LBB0_19
## %bb.13:
	movq	%r15, %r14
	movq	%r15, %rdi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_brcmf_bss_connect_done
	movq	(%rbx), %r13
	movq	%r12, %rdi
	callq	_brcmf_map_fw_linkdown_reason
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_brcmf_link_down
	movq	%r15, %rdi
	callq	_ndev_to_prof
	movl	%eax, %edi
	callq	_brcmf_init_prof
	movq	%r14, %rdi
	callq	_cfg_to_ndev
	cmpq	%rax, %r15
	je	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	callq	_complete
LBB0_15:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	jmp	LBB0_18
LBB0_16:
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movl	$1, %ecx
	callq	_brcmf_bss_connect_done
LBB0_17:
	movq	%rbx, %rdi
	movl	$1, %esi
LBB0_18:
	callq	_brcmf_net_setcarrier
LBB0_19:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_brcmf_is_nonetwork
	testq	%rax, %rax
	je	LBB0_19
## %bb.21:
	movq	(%rbx), %rdi
	callq	_brcmf_is_ibssmode
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movq	_BRCMF_VIF_STATUS_CONNECTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	callq	_clear_bit
	jmp	LBB0_19
LBB0_23:
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_brcmf_bss_connect_done
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCMF_E_DEAUTH,8,3             ## @BRCMF_E_DEAUTH
	.comm	_BRCMF_E_DEAUTH_IND,8,3         ## @BRCMF_E_DEAUTH_IND
	.comm	_BRCMF_E_DISASSOC_IND,8,3       ## @BRCMF_E_DISASSOC_IND
	.comm	_BRCMF_E_LINK,8,3               ## @BRCMF_E_LINK
	.comm	_CONN,4,2                       ## @CONN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Linkup\n"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_BRCMF_VIF_STATUS_CONNECTING,4,2 ## @BRCMF_VIF_STATUS_CONNECTING
	.comm	_BRCMF_VIF_STATUS_CONNECTED,4,2 ## @BRCMF_VIF_STATUS_CONNECTED
L_.str.1:                               ## @.str.1
	.asciz	"Linkdown\n"

	.no_dead_strip	_brcmf_notify_connect_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_notify_connect_status
_brcmf_notify_connect_status:           ; @brcmf_notify_connect_status
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x0, [x0, #16]
	ldr	x20, [x19, #24]
	ldr	x21, [x0]
	ldr	x24, [x19]
	ldr	x9, [x1]
Lloh0:
	adrp	x8, _BRCMF_E_DEAUTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BRCMF_E_DEAUTH@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x10, _BRCMF_E_DEAUTH_IND@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BRCMF_E_DEAUTH_IND@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _BRCMF_E_DISASSOC_IND@GOTPAGE
Lloh7:
	ldr	x11, [x11, _BRCMF_E_DISASSOC_IND@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x9, x8
	ccmp	x9, x10, #4, ne
	ccmp	x9, x11, #4, ne
	b.ne	LBB0_2
LBB0_1:
	ldr	w1, [x19, #8]
	ldr	x2, [x22, #8]
	bl	_brcmf_proto_delete_peer
	ldr	x8, [x19]
	b	LBB0_4
LBB0_2:
Lloh9:
	adrp	x8, _BRCMF_E_LINK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BRCMF_E_LINK@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x8]
	mov	x8, x24
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
	ldr	w9, [x22, #16]
	mov	x8, x24
	cbz	w9, LBB0_1
LBB0_4:
	mov	x0, x8
	bl	_brcmf_is_apmode
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	x3, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_brcmf_notify_connect_status_ap
LBB0_6:
	ldr	x0, [x19]
	mov	x1, x22
	bl	_brcmf_is_linkup
	cbz	x0, LBB0_9
; %bb.7:
Lloh12:
	adrp	x8, _CONN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CONN@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
	ldr	x0, [x19]
	bl	_brcmf_is_ibssmode
	cbz	x0, LBB0_14
; %bb.8:
	ldr	x2, [x22, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_brcmf_inform_ibss
	ldp	w1, w0, [x21, #4]
	bl	_ieee80211_get_channel
	mov	x21, x0
	ldr	w0, [x24, #4]
	ldr	x1, [x22, #8]
Lloh17:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	x1, [x22, #8]
Lloh20:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_cfg80211_ibss_joined
Lloh23:
	adrp	x8, _BRCMF_VIF_STATUS_CONNECTING@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BRCMF_VIF_STATUS_CONNECTING@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldr	x1, [x19]
	bl	_clear_bit
Lloh26:
	adrp	x8, _BRCMF_VIF_STATUS_CONNECTED@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BRCMF_VIF_STATUS_CONNECTED@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	ldr	x1, [x19]
	bl	_set_bit
	b	LBB0_15
LBB0_9:
	mov	x0, x22
	bl	_brcmf_is_linkdown
	cbz	x0, LBB0_18
; %bb.10:
Lloh29:
	adrp	x8, _CONN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CONN@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x1, l_.str.1@PAGE
Lloh33:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_brcmf_dbg
	ldr	x0, [x19]
	bl	_brcmf_is_ibssmode
	cbnz	x0, LBB0_17
; %bb.11:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	w3, #0
	bl	_brcmf_bss_connect_done
	ldr	x23, [x19]
	mov	x0, x22
	bl	_brcmf_map_fw_linkdown_reason
	mov	x1, x0
	mov	x0, x23
	bl	_brcmf_link_down
	mov	x0, x20
	bl	_ndev_to_prof
	bl	_brcmf_init_prof
	mov	x0, x21
	bl	_cfg_to_ndev
	cmp	x20, x0
	b.eq	LBB0_13
; %bb.12:
	mov	x0, x21
	bl	_complete
LBB0_13:
	mov	x0, x19
	mov	w1, #0
	b	LBB0_16
LBB0_14:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	w3, #1
	bl	_brcmf_bss_connect_done
LBB0_15:
	mov	x0, x19
	mov	w1, #1
LBB0_16:
	bl	_brcmf_net_setcarrier
LBB0_17:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_18:
	mov	x0, x21
	mov	x1, x22
	bl	_brcmf_is_nonetwork
	cbz	x0, LBB0_17
; %bb.19:
	ldr	x0, [x19]
	bl	_brcmf_is_ibssmode
	cbz	x0, LBB0_21
; %bb.20:
Lloh34:
	adrp	x8, _BRCMF_VIF_STATUS_CONNECTING@GOTPAGE
Lloh35:
	ldr	x8, [x8, _BRCMF_VIF_STATUS_CONNECTING@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	ldr	x1, [x19]
	bl	_clear_bit
	b	LBB0_17
LBB0_21:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	w3, #0
	bl	_brcmf_bss_connect_done
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCMF_E_DEAUTH,8,3             ; @BRCMF_E_DEAUTH
	.comm	_BRCMF_E_DEAUTH_IND,8,3         ; @BRCMF_E_DEAUTH_IND
	.comm	_BRCMF_E_DISASSOC_IND,8,3       ; @BRCMF_E_DISASSOC_IND
	.comm	_BRCMF_E_LINK,8,3               ; @BRCMF_E_LINK
	.comm	_CONN,4,2                       ; @CONN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Linkup\n"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_BRCMF_VIF_STATUS_CONNECTING,4,2 ; @BRCMF_VIF_STATUS_CONNECTING
	.comm	_BRCMF_VIF_STATUS_CONNECTED,4,2 ; @BRCMF_VIF_STATUS_CONNECTED
l_.str.1:                               ; @.str.1
	.asciz	"Linkdown\n"

	.no_dead_strip	_brcmf_notify_connect_status
.subsections_via_symbols
