	.file	"extr_bcm63xx_enet.c_bcm_enet_ioctl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bcm_enet_ioctl, @function
bcm_enet_ioctl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	netdev_priv@PLT
	cmp	QWORD PTR 8[rax], 0
	je	.L2
	mov	rbx, rax
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 56
	.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
.L3:
	.cfi_restore_state
	mov	rdi, r13
	call	if_mii@PLT
	mov	edi, DWORD PTR [rbx]
	mov	edx, r12d
	mov	esi, eax
	call	phy_mii_ioctl@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR bcm_enet_mdio_read_mii[rip]
	mov	rdi, r13
	mov	QWORD PTR 24[rsp], rbp
	mov	QWORD PTR 8[rsp], 0
	mov	DWORD PTR 20[rsp], eax
	mov	eax, DWORD PTR bcm_enet_mdio_write_mii[rip]
	mov	DWORD PTR 16[rsp], eax
	movabs	rax, 133143986239
	mov	QWORD PTR [rsp], rax
	call	if_mii@PLT
	mov	rdi, rsp
	xor	ecx, ecx
	mov	edx, r12d
	mov	esi, eax
	call	generic_mii_ioctl@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bcm_enet_ioctl, .-bcm_enet_ioctl
	.comm	bcm_enet_mdio_write_mii,4,4
	.comm	bcm_enet_mdio_read_mii,4,4
	.comm	ENODEV,4,4
	.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_bcm63xx_enet.c_bcm_enet_ioctl.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bcm_enet_ioctl, %function
bcm_enet_ioctl:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L9
	sub	sp, sp, #36
	mov	r7, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	mov	r5, r0
	bl	netdev_priv
	ldr	r4, [r0, #4]
	cmp	r4, #0
	beq	.L2
	ldr	r4, [r0]
	cmp	r4, #0
	bne	.L3
	ldr	r3, .L9+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L3:
	mov	r0, r7
	bl	if_mii
	mov	r2, r6
	mov	r1, r0
	mov	r0, r4
	bl	phy_mii_ioctl
	b	.L1
.L2:
	mov	r2, #63
	mov	r3, #31
	ldr	r0, .L9+8
	ldr	r1, .L9+12
	ldr	ip, [r0]
	ldr	r1, [r1]
	mov	r0, r7
	stmib	sp, {r2, r3}
	str	r1, [sp, #16]
	str	r5, [sp, #24]
	str	r4, [sp, #12]
	str	ip, [sp, #20]
	bl	if_mii
	mov	r3, r4
	mov	r1, r0
	mov	r2, r6
	add	r0, sp, #4
	bl	generic_mii_ioctl
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	ENODEV
	.word	bcm_enet_mdio_read_mii
	.word	bcm_enet_mdio_write_mii
	.size	bcm_enet_ioctl, .-bcm_enet_ioctl
	.comm	bcm_enet_mdio_write_mii,4,4
	.comm	bcm_enet_mdio_read_mii,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
