	.file	"extr_core.c_brcmf_netdev_open.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Enter, bsscfgidx=%d\n"
.LC1:
	.string	"failed bus is not ready\n"
.LC2:
	.string	"toe_ol"
.LC3:
	.string	"failed to bring up cfg80211\n"
	.text
	.p2align 4
	.type	brcmf_netdev_open, @function
brcmf_netdev_open:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	netdev_priv@PLT
	mov	edi, DWORD PTR TRACE[rip]
	lea	rsi, .LC0[rip]
	mov	r13, QWORD PTR 8[rax]
	mov	edx, DWORD PTR 4[rax]
	mov	rbp, rax
	mov	rbx, QWORD PTR 0[r13]
	call	brcmf_dbg@PLT
	mov	rax, QWORD PTR BRCMF_BUS_UP[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L2
	lea	rsi, .LC1[rip]
	mov	rdi, r13
	call	bphy_err@PLT
	mov	eax, DWORD PTR EAGAIN[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	esi, esi
	mov	rdi, rbp
	call	atomic_set@PLT
	lea	rdx, 4[rsp]
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	brcmf_fil_iovar_int_get@PLT
	mov	edx, DWORD PTR NETIF_F_IP_CSUM[rip]
	test	rax, rax
	mov	eax, DWORD PTR [r12]
	js	.L5
	mov	ecx, DWORD PTR 4[rsp]
	test	DWORD PTR TOE_TX_CSUM_OL[rip], ecx
	jne	.L15
.L5:
	not	edx
	and	eax, edx
.L6:
	mov	DWORD PTR [r12], eax
	mov	rdi, r12
	call	brcmf_cfg80211_up@PLT
	test	rax, rax
	jne	.L16
	mov	rdi, r12
	call	netif_carrier_off@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	or	eax, edx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	lea	rsi, .LC3[rip]
	mov	rdi, r13
	call	bphy_err@PLT
	mov	eax, DWORD PTR EIO[rip]
	neg	eax
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	brcmf_netdev_open, .-brcmf_netdev_open
	.comm	TRACE,4,4
	.comm	TOE_TX_CSUM_OL,4,4
	.comm	NETIF_F_IP_CSUM,4,4
	.comm	EIO,4,4
	.comm	EAGAIN,4,4
	.comm	BRCMF_BUS_UP,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_core.c_brcmf_netdev_open.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Enter, bsscfgidx=%d\012\000"
	.align	2
.LC1:
	.ascii	"failed bus is not ready\012\000"
	.align	2
.LC2:
	.ascii	"toe_ol\000"
	.align	2
.LC3:
	.ascii	"failed to bring up cfg80211\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	brcmf_netdev_open, %function
brcmf_netdev_open:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L16
	sub	sp, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r5, r0
	bl	netdev_priv
	ldr	r3, .L16+4
	ldmib	r0, {r2, r6}
	mov	r4, r0
	ldr	r1, .L16+8
	ldr	r0, [r3]
	ldr	r7, [r6]
	bl	brcmf_dbg
	ldr	r3, .L16+12
	ldr	r2, [r7]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L2
	mov	r0, r6
	ldr	r1, .L16+16
	bl	bphy_err
	ldr	r3, .L16+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	mov	r1, #0
	mov	r0, r4
	bl	atomic_set
	mov	r0, r4
	mov	r2, sp
	ldr	r1, .L16+24
	bl	brcmf_fil_iovar_int_get
	cmp	r0, #0
	blt	.L4
	ldr	r3, .L16+28
	ldr	r1, [sp]
	ldr	r2, [r3]
	ldr	r3, .L16+32
	tst	r1, r2
	ldr	r2, [r3]
	ldr	r3, [r5]
	orrne	r3, r3, r2
	bne	.L6
	b	.L5
.L4:
	ldr	r2, .L16+32
	ldr	r3, [r5]
	ldr	r2, [r2]
.L5:
	bic	r3, r3, r2
.L6:
	mov	r0, r5
	str	r3, [r5]
	bl	brcmf_cfg80211_up
	subs	r4, r0, #0
	bne	.L15
	mov	r0, r5
	bl	netif_carrier_off
	b	.L1
.L15:
	mov	r0, r6
	ldr	r1, .L16+36
	bl	bphy_err
	ldr	r3, .L16+40
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L14:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC4
	.word	TRACE
	.word	.LC0
	.word	BRCMF_BUS_UP
	.word	.LC1
	.word	EAGAIN
	.word	.LC2
	.word	TOE_TX_CSUM_OL
	.word	NETIF_F_IP_CSUM
	.word	.LC3
	.word	EIO
	.size	brcmf_netdev_open, .-brcmf_netdev_open
	.comm	TRACE,4,4
	.comm	TOE_TX_CSUM_OL,4,4
	.comm	NETIF_F_IP_CSUM,4,4
	.comm	EIO,4,4
	.comm	EAGAIN,4,4
	.comm	BRCMF_BUS_UP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
