	.file	"extr_dwmac-stm32.c_stm32_dwmac_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"no of match data provided\n"
.LC1:
	.string	"Unable to parse OF data\n"
	.text
	.p2align 4
	.type	stm32_dwmac_probe, @function
stm32_dwmac_probe:
.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
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r13, 4[rsp]
	mov	rsi, r13
	call	stmmac_get_platform_resources@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L14
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	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
.L14:
	.cfi_restore_state
	mov	rdi, r14
	mov	rsi, r13
	call	stmmac_probe_config_dt@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L16
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 16
	mov	rdi, r14
	call	devm_kzalloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	r15, rax
	neg	r12d
	test	rax, rax
	je	.L5
	mov	rdi, r14
	call	of_device_get_match_data@PLT
	test	rax, rax
	je	.L17
	mov	QWORD PTR 8[r15], rax
	mov	rsi, r14
	mov	rdi, r15
	mov	QWORD PTR [r15], r14
	call	stm32_dwmac_parse_data@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L18
	mov	QWORD PTR 0[rbp], r15
	mov	rdi, rbp
	call	stm32_dwmac_init@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L5
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, r14
	call	stmmac_dvr_probe@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L1
	mov	rdi, r15
	call	stm32_dwmac_clk_disable@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rsi, rbp
	mov	rdi, r14
	call	stmmac_remove_config_dt@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, rbp
	call	PTR_ERR@PLT
	mov	r12d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	lea	rsi, .LC1[rip]
	mov	rdi, r14
	call	dev_err@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L17:
	lea	rsi, .LC0[rip]
	mov	rdi, r14
	call	dev_err@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L5
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	stm32_dwmac_probe, .-stm32_dwmac_probe
	.comm	GFP_KERNEL,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_dwmac-stm32.c_stm32_dwmac_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"no of match data provided\012\000"
	.align	2
.LC1:
	.ascii	"Unable to parse OF data\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stm32_dwmac_probe, %function
stm32_dwmac_probe:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L20
	sub	sp, sp, #12
	mov	r1, sp
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r5, r0
	bl	stmmac_get_platform_resources
	subs	r4, r0, #0
	beq	.L14
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L14:
	mov	r1, sp
	mov	r0, r5
	bl	stmmac_probe_config_dt
	mov	r6, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L16
	ldr	r3, .L20+4
	mov	r1, #8
	mov	r0, r5
	ldr	r2, [r3]
	bl	devm_kzalloc
	subs	r7, r0, #0
	beq	.L17
	mov	r0, r5
	bl	of_device_get_match_data
	cmp	r0, #0
	beq	.L18
	str	r0, [r7, #4]
	mov	r1, r5
	mov	r0, r7
	str	r5, [r7]
	bl	stm32_dwmac_parse_data
	subs	r4, r0, #0
	bne	.L19
	mov	r0, r6
	str	r7, [r6]
	bl	stm32_dwmac_init
	subs	r4, r0, #0
	bne	.L5
	mov	r2, sp
	mov	r1, r6
	mov	r0, r5
	bl	stmmac_dvr_probe
	subs	r4, r0, #0
	beq	.L1
	mov	r0, r7
	bl	stm32_dwmac_clk_disable
.L5:
	mov	r1, r6
	mov	r0, r5
	bl	stmmac_remove_config_dt
	b	.L1
.L16:
	mov	r0, r6
	bl	PTR_ERR
	mov	r4, r0
	b	.L1
.L17:
	ldr	r3, .L20+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L5
.L19:
	mov	r0, r5
	ldr	r1, .L20+12
	bl	dev_err
	b	.L5
.L18:
	mov	r0, r5
	ldr	r1, .L20+16
	bl	dev_err
	ldr	r3, .L20+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L5
.L15:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC2
	.word	GFP_KERNEL
	.word	ENOMEM
	.word	.LC1
	.word	.LC0
	.word	EINVAL
	.size	stm32_dwmac_probe, .-stm32_dwmac_probe
	.comm	GFP_KERNEL,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
