	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_notify_connect_status_ap
_brcmf_notify_connect_status_ap:        ## @brcmf_notify_connect_status_ap
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	8(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %rbx
	movq	8(%rdx), %r14
	movq	_CONN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_brcmf_fweh_event_name
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	movq	%rbx, %rcx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movq	_BRCMF_E_LINK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_4
## %bb.1:
	movq	_BRCMF_E_REASON_LINK_BSSCFG_DIS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_4
## %bb.2:
	movq	%r13, %rdi
	callq	_cfg_to_ndev
	cmpq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	je	LBB0_4
## %bb.3:
	movq	_CONN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movq	%r13, %rdi
	callq	_complete
	jmp	LBB0_16
LBB0_4:
	movq	_BRCMF_E_ASSOC_IND@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	sete	%al
	movq	_BRCMF_E_REASSOC_IND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rbx
	sete	%cl
	orb	%al, %cl
	cmpb	$1, %cl
	jne	LBB0_12
## %bb.5:
	movq	_BRCMF_E_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_12
## %bb.6:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_7
## %bb.8:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.11:
	movq	%rax, %rbx
	movq	%r15, 8(%rax)
	movl	20(%r12), %eax
	movl	%eax, 4(%rbx)
	movl	_brcmf_notify_connect_status_ap.generation(%rip), %eax
	incl	%eax
	movl	%eax, _brcmf_notify_connect_status_ap.generation(%rip)
	movl	%eax, (%rbx)
	movl	16(%r12), %esi
	movl	(%r14), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_cfg80211_new_sta
	movq	%rbx, %rdi
	callq	_kfree
	xorl	%r15d, %r15d
	jmp	LBB0_16
LBB0_12:
	movq	_BRCMF_E_DISASSOC_IND@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpq	(%rax), %rbx
	je	LBB0_15
## %bb.13:
	movq	_BRCMF_E_DEAUTH_IND@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_15
## %bb.14:
	movq	_BRCMF_E_DEAUTH@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_16
LBB0_15:
	movl	16(%r12), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_cfg80211_del_sta
	jmp	LBB0_16
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_bphy_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_16:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_brcmf_notify_connect_status_ap.generation,4,2 ## @brcmf_notify_connect_status_ap.generation
	.comm	_CONN,4,2                       ## @CONN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"event %s (%u), reason %d\n"

	.comm	_BRCMF_E_LINK,8,3               ## @BRCMF_E_LINK
	.comm	_BRCMF_E_REASON_LINK_BSSCFG_DIS,8,3 ## @BRCMF_E_REASON_LINK_BSSCFG_DIS
L_.str.1:                               ## @.str.1
	.asciz	"AP mode link down\n"

	.comm	_BRCMF_E_ASSOC_IND,8,3          ## @BRCMF_E_ASSOC_IND
	.comm	_BRCMF_E_REASSOC_IND,8,3        ## @BRCMF_E_REASSOC_IND
	.comm	_BRCMF_E_STATUS_SUCCESS,8,3     ## @BRCMF_E_STATUS_SUCCESS
L_.str.2:                               ## @.str.2
	.asciz	"No IEs present in ASSOC/REASSOC_IND\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_BRCMF_E_DISASSOC_IND,8,3       ## @BRCMF_E_DISASSOC_IND
	.comm	_BRCMF_E_DEAUTH_IND,8,3         ## @BRCMF_E_DEAUTH_IND
	.comm	_BRCMF_E_DEAUTH,8,3             ## @BRCMF_E_DEAUTH
	.no_dead_strip	_brcmf_notify_connect_status_ap
.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_ap
_brcmf_notify_connect_status_ap:        ; @brcmf_notify_connect_status_ap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x24, x0
	ldr	x23, [x0, #8]
	ldp	x22, x26, [x2]
Lloh0:
	adrp	x27, _CONN@GOTPAGE
Lloh1:
	ldr	x27, [x27, _CONN@GOTPAGEOFF]
	ldr	w25, [x27]
	mov	x0, x22
	bl	_brcmf_fweh_event_name
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x26, [sp, #8]
	str	x0, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x25
	bl	_brcmf_dbg
Lloh4:
	adrp	x8, _BRCMF_E_LINK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BRCMF_E_LINK@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _BRCMF_E_REASON_LINK_BSSCFG_DIS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _BRCMF_E_REASON_LINK_BSSCFG_DIS@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x22, x8
	ccmp	x26, x9, #0, eq
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x24
	bl	_cfg_to_ndev
	cmp	x0, x19
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x27]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_brcmf_dbg
	mov	x0, x24
	bl	_complete
	b	LBB0_11
LBB0_3:
Lloh12:
	adrp	x8, _BRCMF_E_ASSOC_IND@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BRCMF_E_ASSOC_IND@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _BRCMF_E_REASSOC_IND@GOTPAGE
Lloh16:
	ldr	x9, [x9, _BRCMF_E_REASSOC_IND@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x22, x9
	ccmp	x22, x8, #4, ne
Lloh18:
	adrp	x8, _BRCMF_E_STATUS_SUCCESS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BRCMF_E_STATUS_SUCCESS@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ccmp	x26, x8, #0, eq
	b.eq	LBB0_8
; %bb.4:
Lloh21:
	adrp	x8, _BRCMF_E_DISASSOC_IND@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BRCMF_E_DISASSOC_IND@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x22, x8
	b.eq	LBB0_7
; %bb.5:
Lloh24:
	adrp	x8, _BRCMF_E_DEAUTH_IND@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BRCMF_E_DEAUTH_IND@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cmp	x22, x8
	b.eq	LBB0_7
; %bb.6:
Lloh27:
	adrp	x8, _BRCMF_E_DEAUTH@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BRCMF_E_DEAUTH@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_11
LBB0_7:
	ldr	w1, [x20, #16]
Lloh30:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_cfg80211_del_sta
	b	LBB0_11
LBB0_8:
	cbz	x21, LBB0_12
; %bb.9:
Lloh33:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh34:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_13
; %bb.10:
	mov	x22, x0
	str	x21, [x0, #8]
	adrp	x8, _brcmf_notify_connect_status_ap.generation@PAGE
	ldr	w9, [x8, _brcmf_notify_connect_status_ap.generation@PAGEOFF]
	add	w9, w9, #1
	str	w9, [x8, _brcmf_notify_connect_status_ap.generation@PAGEOFF]
	ldp	w1, w8, [x20, #16]
	stp	w9, w8, [x0]
	ldr	w3, [x23]
	mov	x0, x19
	mov	x2, x22
	bl	_cfg80211_new_sta
	mov	x0, x22
	bl	_kfree
LBB0_11:
	mov	w0, #0
	b	LBB0_15
LBB0_12:
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_bphy_err
Lloh37:
	adrp	x8, _EINVAL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh39:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	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
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_brcmf_notify_connect_status_ap.generation,4,2 ; @brcmf_notify_connect_status_ap.generation
	.comm	_CONN,4,2                       ; @CONN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"event %s (%u), reason %d\n"

	.comm	_BRCMF_E_LINK,8,3               ; @BRCMF_E_LINK
	.comm	_BRCMF_E_REASON_LINK_BSSCFG_DIS,8,3 ; @BRCMF_E_REASON_LINK_BSSCFG_DIS
l_.str.1:                               ; @.str.1
	.asciz	"AP mode link down\n"

	.comm	_BRCMF_E_ASSOC_IND,8,3          ; @BRCMF_E_ASSOC_IND
	.comm	_BRCMF_E_REASSOC_IND,8,3        ; @BRCMF_E_REASSOC_IND
	.comm	_BRCMF_E_STATUS_SUCCESS,8,3     ; @BRCMF_E_STATUS_SUCCESS
l_.str.2:                               ; @.str.2
	.asciz	"No IEs present in ASSOC/REASSOC_IND\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_BRCMF_E_DISASSOC_IND,8,3       ; @BRCMF_E_DISASSOC_IND
	.comm	_BRCMF_E_DEAUTH_IND,8,3         ; @BRCMF_E_DEAUTH_IND
	.comm	_BRCMF_E_DEAUTH,8,3             ; @BRCMF_E_DEAUTH
	.no_dead_strip	_brcmf_notify_connect_status_ap
.subsections_via_symbols
