	.file	"extr_nixge.c_nixge_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"tx"
.LC1:
	.string	"could not find 'tx' irq"
.LC2:
	.string	"rx"
.LC3:
	.string	"could not find 'rx' irq"
.LC4:
	.string	"mdio"
.LC5:
	.string	"error registering mdio bus"
.LC6:
	.string	"not find \"phy-mode\" property\n"
.LC7:
	.string	"phy-handle"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC8:
	.string	"broken fixed-link specification\n"
	.section	.rodata.str1.1
.LC9:
	.string	"register_netdev() error (%i)\n"
	.text
	.p2align 4
	.type	nixge_probe, @function
nixge_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	edi, 72
	call	alloc_etherdev@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	test	rax, rax
	je	.L1
	mov	rbp, rax
	mov	rsi, rax
	mov	rdi, rbx
	call	platform_set_drvdata@PLT
	mov	rsi, rbx
	mov	rdi, rbp
	call	SET_NETDEV_DEV@PLT
	mov	eax, DWORD PTR NETIF_F_SG[rip]
	mov	rdi, rbx
	mov	DWORD PTR 0[rbp], 64
	mov	DWORD PTR 32[rbp], eax
	lea	rax, nixge_netdev_ops[rip]
	mov	QWORD PTR 24[rbp], rax
	lea	rax, nixge_ethtool_ops[rip]
	mov	QWORD PTR 16[rbp], rax
	mov	eax, DWORD PTR NIXGE_JUMBO_MTU[rip]
	mov	DWORD PTR 8[rbp], eax
	call	nixge_get_nvmem_address@PLT
	mov	r12, rax
	test	rax, rax
	je	.L4
	mov	rdi, rax
	call	is_valid_ether_addr@PLT
	test	rax, rax
	jne	.L41
.L4:
	mov	rdi, rbp
	call	eth_hw_addr_random@PLT
.L5:
	mov	rdi, rbp
	call	netdev_priv@PLT
	mov	ecx, DWORD PTR NAPI_POLL_WEIGHT[rip]
	mov	edx, DWORD PTR nixge_poll[rip]
	mov	rdi, rbp
	mov	QWORD PTR 24[rax], rbp
	lea	rsi, 56[rax]
	mov	r13, rax
	mov	QWORD PTR 64[rax], rbx
	call	netif_napi_add@PLT
	mov	rdi, rbx
	call	nixge_of_get_resources@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L42
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L42:
	.cfi_restore_state
	mov	rdi, rbp
	call	__nixge_hw_set_mac_address@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, rbx
	call	platform_get_irq_byname@PLT
	mov	QWORD PTR 0[r13], rax
	test	rax, rax
	js	.L43
	lea	rsi, .LC2[rip]
	mov	rdi, rbx
	call	platform_get_irq_byname@PLT
	mov	QWORD PTR 8[r13], rax
	test	rax, rax
	js	.L44
	mov	eax, DWORD PTR XAXIDMA_DFT_RX_THRESHOLD[rip]
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC4[rip]
	mov	DWORD PTR 52[r13], eax
	mov	eax, DWORD PTR XAXIDMA_DFT_TX_THRESHOLD[rip]
	mov	DWORD PTR 48[r13], eax
	call	of_get_child_by_name@PLT
	mov	r14, rax
	test	rax, rax
	je	.L8
	mov	rdi, r13
	mov	rsi, rax
	call	nixge_mdio_setup@PLT
	mov	rdi, r14
	mov	r12d, eax
	call	of_node_put@PLT
	test	r12d, r12d
	jne	.L45
.L8:
	mov	edi, DWORD PTR [rbx]
	call	of_get_phy_mode@PLT
	mov	QWORD PTR 40[r13], rax
	test	eax, eax
	js	.L46
	mov	edi, DWORD PTR [rbx]
	xor	edx, edx
	lea	rsi, .LC7[rip]
	call	of_parse_phandle@PLT
	mov	r14, rax
	test	rax, rax
	je	.L47
.L12:
	mov	QWORD PTR 32[r13], r14
	mov	rdi, QWORD PTR 24[r13]
	call	register_netdev@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L1
	mov	edx, eax
	mov	rdi, rbp
	lea	rsi, .LC9[rip]
	xor	eax, eax
	call	netdev_err@PLT
	mov	edi, DWORD PTR [rbx]
	call	of_phy_is_fixed_link@PLT
	test	rax, rax
	jne	.L48
.L14:
	mov	rdi, r14
	call	of_node_put@PLT
.L11:
	mov	rdi, QWORD PTR 16[r13]
	test	rdi, rdi
	jne	.L49
.L9:
	mov	rdi, rbp
	call	free_netdev@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L41:
	mov	edi, DWORD PTR 4[rbp]
	mov	rsi, r12
	call	ether_addr_copy@PLT
	mov	rdi, r12
	call	kfree@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L44:
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	netdev_err@PLT
	mov	r12d, DWORD PTR 8[r13]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L43:
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	netdev_err@PLT
	mov	r12d, DWORD PTR 0[r13]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L46:
	lea	rsi, .LC6[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	netdev_err@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L47:
	mov	edi, DWORD PTR [rbx]
	call	of_phy_is_fixed_link@PLT
	test	rax, rax
	je	.L12
	mov	edi, DWORD PTR [rbx]
	call	of_phy_register_fixed_link@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L50
	mov	edi, DWORD PTR [rbx]
	call	of_node_get@PLT
	mov	r14, rax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L45:
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	netdev_err@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L49:
	call	mdiobus_unregister@PLT
	jmp	.L9
.L48:
	mov	edi, DWORD PTR [rbx]
	call	of_phy_deregister_fixed_link@PLT
	jmp	.L14
.L50:
	lea	rsi, .LC8[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	netdev_err@PLT
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	nixge_probe, .-nixge_probe
	.comm	nixge_poll,4,4
	.comm	nixge_netdev_ops,4,4
	.comm	nixge_ethtool_ops,4,4
	.comm	XAXIDMA_DFT_TX_THRESHOLD,4,4
	.comm	XAXIDMA_DFT_RX_THRESHOLD,4,4
	.comm	NIXGE_JUMBO_MTU,4,4
	.comm	NETIF_F_SG,4,4
	.comm	NAPI_POLL_WEIGHT,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,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_nixge.c_nixge_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"tx\000"
	.align	2
.LC1:
	.ascii	"could not find 'tx' irq\000"
	.align	2
.LC2:
	.ascii	"rx\000"
	.align	2
.LC3:
	.ascii	"could not find 'rx' irq\000"
	.align	2
.LC4:
	.ascii	"mdio\000"
	.align	2
.LC5:
	.ascii	"error registering mdio bus\000"
	.align	2
.LC6:
	.ascii	"not find \"phy-mode\" property\012\000"
	.align	2
.LC7:
	.ascii	"phy-handle\000"
	.align	2
.LC8:
	.ascii	"broken fixed-link specification\012\000"
	.align	2
.LC9:
	.ascii	"register_netdev() error (%i)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nixge_probe, %function
nixge_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r0, #40
	bl	alloc_etherdev
	subs	r4, r0, #0
	beq	.L41
	mov	r1, r4
	mov	r0, r5
	bl	platform_set_drvdata
	mov	r1, r5
	mov	r0, r4
	bl	SET_NETDEV_DEV
	mov	r1, #64
	ldr	r3, .L52
	ldr	r2, .L52+4
	ldr	r3, [r3]
	ldr	r0, [r2]
	str	r3, [r4, #20]
	ldr	r2, .L52+8
	ldr	r3, .L52+12
	str	r0, [r4, #8]
	str	r1, [r4]
	mov	r0, r5
	str	r2, [r4, #16]
	str	r3, [r4, #12]
	bl	nixge_get_nvmem_address
	subs	r6, r0, #0
	beq	.L4
	bl	is_valid_ether_addr
	cmp	r0, #0
	bne	.L42
.L4:
	mov	r0, r4
	bl	eth_hw_addr_random
.L5:
	mov	r0, r4
	bl	netdev_priv
	ldr	r3, .L52+16
	ldr	r2, .L52+20
	add	r1, r0, #32
	ldr	r3, [r3]
	ldr	r2, [r2]
	str	r4, [r0, #12]
	str	r5, [r0, #36]
	mov	r7, r0
	mov	r0, r4
	bl	netif_napi_add
	mov	r0, r5
	bl	nixge_of_get_resources
	subs	r6, r0, #0
	beq	.L43
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L43:
	mov	r0, r4
	bl	__nixge_hw_set_mac_address
	mov	r0, r5
	ldr	r1, .L52+24
	bl	platform_get_irq_byname
	cmp	r0, #0
	str	r0, [r7]
	blt	.L44
	mov	r0, r5
	ldr	r1, .L52+28
	bl	platform_get_irq_byname
	cmp	r0, #0
	str	r0, [r7, #4]
	blt	.L45
	ldr	r2, .L52+32
	ldr	r3, .L52+36
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, .L52+40
	ldr	r0, [r5]
	str	r2, [r7, #28]
	str	r3, [r7, #24]
	bl	of_get_child_by_name
	subs	r8, r0, #0
	beq	.L8
	mov	r1, r8
	mov	r0, r7
	bl	nixge_mdio_setup
	mov	r6, r0
	mov	r0, r8
	bl	of_node_put
	cmp	r6, #0
	bne	.L46
.L8:
	ldr	r0, [r5]
	bl	of_get_phy_mode
	cmp	r0, #0
	str	r0, [r7, #20]
	blt	.L47
	mov	r2, #0
	ldr	r1, .L52+44
	ldr	r0, [r5]
	bl	of_parse_phandle
	subs	r8, r0, #0
	beq	.L48
.L12:
	ldr	r0, [r7, #12]
	str	r8, [r7, #16]
	bl	register_netdev
	subs	r6, r0, #0
	beq	.L1
	mov	r2, r6
	ldr	r1, .L52+48
	mov	r0, r4
	bl	netdev_err
	ldr	r0, [r5]
	bl	of_phy_is_fixed_link
	cmp	r0, #0
	bne	.L49
.L14:
	mov	r0, r8
	bl	of_node_put
.L11:
	ldr	r0, [r7, #8]
	cmp	r0, #0
	bne	.L50
.L9:
	mov	r0, r4
	bl	free_netdev
	b	.L1
.L41:
	ldr	r3, .L52+52
	ldr	r6, [r3]
	rsb	r6, r6, #0
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L42:
	mov	r1, r6
	ldr	r0, [r4, #4]
	bl	ether_addr_copy
	mov	r0, r6
	bl	kfree
	b	.L5
.L45:
	mov	r0, r4
	ldr	r1, .L52+56
	bl	netdev_err
	ldr	r6, [r7, #4]
	b	.L1
.L44:
	mov	r0, r4
	ldr	r1, .L52+60
	bl	netdev_err
	ldr	r6, [r7]
	b	.L1
.L47:
	mov	r0, r4
	ldr	r1, .L52+64
	bl	netdev_err
	ldr	r3, .L52+68
	ldr	r6, [r3]
	rsb	r6, r6, #0
	b	.L11
.L48:
	ldr	r0, [r5]
	bl	of_phy_is_fixed_link
	cmp	r0, #0
	beq	.L12
	ldr	r0, [r5]
	bl	of_phy_register_fixed_link
	subs	r6, r0, #0
	blt	.L51
	ldr	r0, [r5]
	bl	of_node_get
	mov	r8, r0
	b	.L12
.L46:
	mov	r0, r4
	ldr	r1, .L52+72
	bl	netdev_err
	b	.L9
.L50:
	bl	mdiobus_unregister
	b	.L9
.L49:
	ldr	r0, [r5]
	bl	of_phy_deregister_fixed_link
	b	.L14
.L51:
	mov	r0, r4
	ldr	r1, .L52+76
	bl	netdev_err
	b	.L11
.L53:
	.align	2
.L52:
	.word	NETIF_F_SG
	.word	NIXGE_JUMBO_MTU
	.word	nixge_netdev_ops
	.word	nixge_ethtool_ops
	.word	NAPI_POLL_WEIGHT
	.word	nixge_poll
	.word	.LC0
	.word	.LC2
	.word	XAXIDMA_DFT_RX_THRESHOLD
	.word	XAXIDMA_DFT_TX_THRESHOLD
	.word	.LC4
	.word	.LC7
	.word	.LC9
	.word	ENOMEM
	.word	.LC3
	.word	.LC1
	.word	.LC6
	.word	EINVAL
	.word	.LC5
	.word	.LC8
	.size	nixge_probe, .-nixge_probe
	.comm	nixge_poll,4,4
	.comm	nixge_netdev_ops,4,4
	.comm	nixge_ethtool_ops,4,4
	.comm	XAXIDMA_DFT_TX_THRESHOLD,4,4
	.comm	XAXIDMA_DFT_RX_THRESHOLD,4,4
	.comm	NIXGE_JUMBO_MTU,4,4
	.comm	NETIF_F_SG,4,4
	.comm	NAPI_POLL_WEIGHT,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
