	.file	"extr_cfg80211.c_brcmf_notify_connect_status.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Linkup\n"
.LC1:
	.string	"Linkdown\n"
	.text
	.p2align 4
	.type	brcmf_notify_connect_status, @function
brcmf_notify_connect_status:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rdi, QWORD PTR 16[rdi]
	mov	rax, QWORD PTR [rsi]
	cmp	rax, QWORD PTR BRCMF_E_DEAUTH[rip]
	mov	r15, QWORD PTR 24[rbp]
	mov	r14, QWORD PTR [rdi]
	mov	rbx, QWORD PTR 0[rbp]
	je	.L2
	cmp	rax, QWORD PTR BRCMF_E_DEAUTH_IND[rip]
	je	.L2
	cmp	rax, QWORD PTR BRCMF_E_DISASSOC_IND[rip]
	je	.L2
	cmp	rax, QWORD PTR BRCMF_E_LINK[rip]
	mov	r8, rbx
	jne	.L3
	mov	eax, DWORD PTR 16[rsi]
	test	eax, eax
	jne	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdx, QWORD PTR 8[r12]
	mov	esi, DWORD PTR 8[rbp]
	call	brcmf_proto_delete_peer@PLT
	mov	r8, QWORD PTR 0[rbp]
.L3:
	mov	rdi, r8
	call	brcmf_is_apmode@PLT
	test	rax, rax
	je	.L4
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rcx, r13
	mov	rdx, r12
	mov	rsi, r15
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	rdi, r14
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	brcmf_notify_connect_status_ap@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rdi, QWORD PTR 0[rbp]
	mov	rsi, r12
	call	brcmf_is_linkup@PLT
	test	rax, rax
	je	.L5
	mov	edi, DWORD PTR CONN[rip]
	lea	rsi, .LC0[rip]
	call	brcmf_dbg@PLT
	mov	rdi, QWORD PTR 0[rbp]
	call	brcmf_is_ibssmode@PLT
	test	rax, rax
	jne	.L21
	mov	ecx, 1
	mov	rdx, r12
	mov	rsi, r15
	mov	rdi, r14
	call	brcmf_bss_connect_done@PLT
.L7:
	mov	esi, 1
	mov	rdi, rbp
	call	brcmf_net_setcarrier@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, r12
	call	brcmf_is_linkdown@PLT
	test	rax, rax
	je	.L9
	mov	edi, DWORD PTR CONN[rip]
	lea	rsi, .LC1[rip]
	call	brcmf_dbg@PLT
	mov	rdi, QWORD PTR 0[rbp]
	call	brcmf_is_ibssmode@PLT
	test	rax, rax
	jne	.L1
	xor	ecx, ecx
	mov	rdx, r12
	mov	rsi, r15
	mov	rdi, r14
	call	brcmf_bss_connect_done@PLT
	mov	rdi, r12
	call	brcmf_map_fw_linkdown_reason@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	esi, eax
	call	brcmf_link_down@PLT
	mov	rdi, r15
	call	ndev_to_prof@PLT
	mov	edi, eax
	call	brcmf_init_prof@PLT
	mov	rdi, r14
	call	cfg_to_ndev@PLT
	cmp	r15, rax
	je	.L11
	mov	rdi, r14
	call	complete@PLT
.L11:
	xor	esi, esi
	mov	rdi, rbp
	call	brcmf_net_setcarrier@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdx, QWORD PTR 8[r12]
	mov	rsi, r15
	mov	rdi, r14
	call	brcmf_inform_ibss@PLT
	mov	esi, DWORD PTR 4[r14]
	mov	edi, DWORD PTR 8[r14]
	call	ieee80211_get_channel@PLT
	mov	rsi, QWORD PTR 8[r12]
	mov	edi, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR ETH_ALEN[rip]
	mov	r13, rax
	call	memcpy@PLT
	mov	rsi, QWORD PTR 8[r12]
	mov	rdx, r13
	mov	rdi, r15
	mov	ecx, DWORD PTR GFP_KERNEL[rip]
	call	cfg80211_ibss_joined@PLT
	mov	rsi, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR BRCMF_VIF_STATUS_CONNECTING[rip]
	call	clear_bit@PLT
	mov	rsi, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR BRCMF_VIF_STATUS_CONNECTED[rip]
	call	set_bit@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rsi, r12
	mov	rdi, r14
	call	brcmf_is_nonetwork@PLT
	test	rax, rax
	je	.L1
	mov	rdi, QWORD PTR 0[rbp]
	call	brcmf_is_ibssmode@PLT
	test	rax, rax
	je	.L13
	mov	rsi, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR BRCMF_VIF_STATUS_CONNECTING[rip]
	call	clear_bit@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	xor	ecx, ecx
	mov	rdx, r12
	mov	rsi, r15
	mov	rdi, r14
	call	brcmf_bss_connect_done@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	brcmf_notify_connect_status, .-brcmf_notify_connect_status
	.comm	GFP_KERNEL,4,4
	.comm	ETH_ALEN,4,4
	.comm	CONN,4,4
	.comm	BRCMF_VIF_STATUS_CONNECTING,4,4
	.comm	BRCMF_VIF_STATUS_CONNECTED,4,4
	.comm	BRCMF_E_LINK,8,8
	.comm	BRCMF_E_DISASSOC_IND,8,8
	.comm	BRCMF_E_DEAUTH_IND,8,8
	.comm	BRCMF_E_DEAUTH,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cfg80211.c_brcmf_notify_connect_status.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Linkup\012\000"
	.align	2
.LC1:
	.ascii	"Linkdown\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	brcmf_notify_connect_status, %function
brcmf_notify_connect_status:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	ldr	r3, .L24
	mov	r5, r1
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	r0, [r0, #8]
	cmp	r1, r3
	mov	r6, r2
	ldr	r7, [r0]
	ldr	r8, [r4, #12]
	ldr	r9, [r4]
	beq	.L2
	ldr	r3, .L24+4
	ldr	r3, [r3]
	cmp	r1, r3
	beq	.L2
	ldr	r3, .L24+8
	ldr	r3, [r3]
	cmp	r1, r3
	beq	.L2
	ldr	r3, .L24+12
	ldr	r3, [r3]
	cmp	r1, r3
	beq	.L21
.L15:
	mov	r0, r9
	bl	brcmf_is_apmode
	cmp	r0, #0
	bne	.L22
.L4:
	mov	r1, r5
	ldr	r0, [r4]
	bl	brcmf_is_linkup
	cmp	r0, #0
	beq	.L5
	ldr	r3, .L24+16
	ldr	r1, .L24+20
	ldr	r0, [r3]
	bl	brcmf_dbg
	ldr	r0, [r4]
	bl	brcmf_is_ibssmode
	cmp	r0, #0
	bne	.L23
	mov	r2, r5
	mov	r1, r8
	mov	r0, r7
	mov	r3, #1
	bl	brcmf_bss_connect_done
.L7:
	mov	r0, r4
	mov	r1, #1
	bl	brcmf_net_setcarrier
.L1:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L21:
	ldr	r3, [r5, #8]
	cmp	r3, #0
	bne	.L15
.L2:
	ldr	r2, [r5, #4]
	ldr	r1, [r4, #4]
	bl	brcmf_proto_delete_peer
	ldr	r0, [r4]
	bl	brcmf_is_apmode
	cmp	r0, #0
	beq	.L4
.L22:
	mov	r3, r6
	mov	r2, r5
	mov	r1, r8
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	brcmf_notify_connect_status_ap
.L5:
	mov	r0, r5
	bl	brcmf_is_linkdown
	cmp	r0, #0
	beq	.L9
	ldr	r3, .L24+16
	ldr	r1, .L24+24
	ldr	r0, [r3]
	bl	brcmf_dbg
	ldr	r0, [r4]
	bl	brcmf_is_ibssmode
	subs	r3, r0, #0
	bne	.L1
	mov	r2, r5
	mov	r1, r8
	mov	r0, r7
	bl	brcmf_bss_connect_done
	mov	r0, r5
	ldr	r5, [r4]
	bl	brcmf_map_fw_linkdown_reason
	mov	r1, r0
	mov	r0, r5
	bl	brcmf_link_down
	mov	r0, r8
	bl	ndev_to_prof
	bl	brcmf_init_prof
	mov	r0, r7
	bl	cfg_to_ndev
	cmp	r8, r0
	beq	.L11
	mov	r0, r7
	bl	complete
.L11:
	mov	r0, r4
	mov	r1, #0
	bl	brcmf_net_setcarrier
	b	.L1
.L23:
	ldr	r2, [r5, #4]
	mov	r1, r8
	mov	r0, r7
	bl	brcmf_inform_ibss
	ldr	r1, [r7, #4]
	ldr	r0, [r7, #8]
	bl	ieee80211_get_channel
	mov	r6, r0
	ldr	r3, .L24+28
	ldr	r1, [r5, #4]
	ldr	r2, [r3]
	ldr	r0, [r9, #4]
	bl	memcpy
	ldr	r3, .L24+32
	mov	r2, r6
	ldr	r1, [r5, #4]
	mov	r0, r8
	ldr	r3, [r3]
	bl	cfg80211_ibss_joined
	ldr	r3, .L24+36
	ldr	r1, [r4]
	ldr	r0, [r3]
	bl	clear_bit
	ldr	r3, .L24+40
	ldr	r1, [r4]
	ldr	r0, [r3]
	bl	set_bit
	b	.L7
.L9:
	mov	r1, r5
	mov	r0, r7
	bl	brcmf_is_nonetwork
	cmp	r0, #0
	beq	.L1
	ldr	r0, [r4]
	bl	brcmf_is_ibssmode
	subs	r3, r0, #0
	beq	.L13
	ldr	r3, .L24+36
	ldr	r1, [r4]
	ldr	r0, [r3]
	bl	clear_bit
	b	.L1
.L13:
	mov	r2, r5
	mov	r1, r8
	mov	r0, r7
	bl	brcmf_bss_connect_done
	b	.L1
.L25:
	.align	2
.L24:
	.word	BRCMF_E_DEAUTH
	.word	BRCMF_E_DEAUTH_IND
	.word	BRCMF_E_DISASSOC_IND
	.word	BRCMF_E_LINK
	.word	CONN
	.word	.LC0
	.word	.LC1
	.word	ETH_ALEN
	.word	GFP_KERNEL
	.word	BRCMF_VIF_STATUS_CONNECTING
	.word	BRCMF_VIF_STATUS_CONNECTED
	.size	brcmf_notify_connect_status, .-brcmf_notify_connect_status
	.comm	GFP_KERNEL,4,4
	.comm	ETH_ALEN,4,4
	.comm	CONN,4,4
	.comm	BRCMF_VIF_STATUS_CONNECTING,4,4
	.comm	BRCMF_VIF_STATUS_CONNECTED,4,4
	.comm	BRCMF_E_LINK,4,4
	.comm	BRCMF_E_DISASSOC_IND,4,4
	.comm	BRCMF_E_DEAUTH_IND,4,4
	.comm	BRCMF_E_DEAUTH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
