	.file	"extr_ptp_pch.c_pch_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"could not enable the pci device\n"
	.align 8
.LC1:
	.string	"could not locate IO memory address\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"1588_regs"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"could not allocate register memory space\n"
	.align 8
.LC4:
	.string	"Could not get virtual address\n"
	.section	.rodata.str1.1
.LC5:
	.string	"failed to get irq %d\n"
.LC6:
	.string	"00:00:00:00:00:00"
	.section	.rodata.str1.8
	.align 8
.LC7:
	.string	"Invalid station address parameter\nModule loaded but station address not set correctly\n"
	.section	.rodata.str1.1
.LC8:
	.string	"probe failed(ret=0x%x)\n"
	.text
	.p2align 4
	.type	pch_probe, @function
pch_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
	mov	r13, rdi
	mov	edi, 48
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	kzalloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	test	rax, rax
	je	.L1
	mov	rdi, r13
	mov	rbp, rax
	call	pci_enable_device@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L23
	mov	esi, DWORD PTR IO_MEM_BAR[rip]
	mov	rdi, r13
	call	pci_resource_start@PLT
	mov	QWORD PTR 0[rbp], rax
	test	rax, rax
	je	.L24
	mov	esi, DWORD PTR IO_MEM_BAR[rip]
	mov	rdi, r13
	call	pci_resource_len@PLT
	mov	rdi, QWORD PTR 0[rbp]
	lea	rdx, .LC2[rip]
	mov	DWORD PTR 8[rbp], eax
	mov	esi, eax
	call	request_mem_region@PLT
	test	eax, eax
	je	.L25
	mov	esi, DWORD PTR 8[rbp]
	mov	rdi, QWORD PTR 0[rbp]
	call	ioremap@PLT
	mov	QWORD PTR 16[rbp], rax
	test	rax, rax
	je	.L26
	mov	eax, DWORD PTR ptp_pch_caps[rip]
	lea	rdi, 44[rbp]
	mov	rsi, r13
	mov	DWORD PTR 44[rbp], eax
	call	ptp_clock_register@PLT
	mov	DWORD PTR 24[rbp], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L27
	lea	r14, 28[rbp]
	mov	rdi, r14
	call	spin_lock_init@PLT
	mov	edi, DWORD PTR 4[r13]
	mov	ecx, DWORD PTR KBUILD_MODNAME[rip]
	mov	r8, rbp
	mov	edx, DWORD PTR IRQF_SHARED[rip]
	lea	rsi, isr[rip]
	call	request_irq@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L28
	mov	eax, DWORD PTR 4[r13]
	mov	QWORD PTR 32[rbp], r13
	mov	rsi, rbp
	mov	rdi, r13
	mov	DWORD PTR 40[rbp], eax
	call	pci_set_drvdata@PLT
	xor	esi, esi
	mov	rdi, r14
	call	spin_lock_irqsave@PLT
	mov	rdi, rbp
	call	pch_reset@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	edi, DWORD PTR DEFAULT_ADDEND[rip]
	lea	rsi, 12[rax]
	call	iowrite32@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	edi, 1
	lea	rsi, 8[rax]
	call	iowrite32@PLT
	mov	rax, QWORD PTR 16[rbp]
	xor	edi, edi
	lea	rsi, 4[rax]
	call	iowrite32@PLT
	mov	rsi, QWORD PTR 16[rbp]
	mov	edi, DWORD PTR PCH_TSE_TTIPEND[rip]
	call	iowrite32@PLT
	mov	rdi, rbp
	call	pch_eth_enable_set@PLT
	mov	edi, DWORD PTR pch_param[rip]
	lea	rsi, .LC6[rip]
	call	strcmp@PLT
	test	rax, rax
	jne	.L29
.L16:
	xor	esi, esi
	mov	rdi, r14
	call	spin_unlock_irqrestore@PLT
.L1:
	add	rsp, 8
	.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
.L23:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	xor	eax, eax
	call	dev_err@PLT
.L5:
	mov	rdi, rbp
	call	kfree@PLT
	mov	edx, r12d
	mov	rdi, r13
	xor	eax, eax
	lea	rsi, .LC8[rip]
	call	dev_err@PLT
	add	rsp, 8
	.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
.L25:
	.cfi_restore_state
	lea	rsi, .LC3[rip]
	mov	rdi, r13
	call	dev_err@PLT
	mov	r12d, DWORD PTR EBUSY[rip]
	neg	r12d
.L9:
	mov	QWORD PTR 0[rbp], 0
.L7:
	mov	rdi, r13
	call	pci_disable_device@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L24:
	lea	rsi, .LC1[rip]
	mov	rdi, r13
	call	dev_err@PLT
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L27:
	mov	edi, DWORD PTR 24[rbp]
	call	PTR_ERR@PLT
	mov	r12d, eax
.L13:
	mov	rdi, QWORD PTR 16[rbp]
	call	iounmap@PLT
	mov	QWORD PTR 16[rbp], 0
.L11:
	mov	esi, DWORD PTR 8[rbp]
	mov	rdi, QWORD PTR 0[rbp]
	call	release_mem_region@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L29:
	mov	edi, DWORD PTR pch_param[rip]
	mov	rsi, r13
	call	pch_set_station_address@PLT
	test	rax, rax
	je	.L16
	lea	rsi, .LC7[rip]
	mov	rdi, r13
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L28:
	mov	edx, DWORD PTR 4[r13]
	mov	rdi, r13
	lea	rsi, .LC5[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	edi, DWORD PTR 24[rbp]
	call	ptp_clock_unregister@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L26:
	lea	rsi, .LC4[rip]
	mov	rdi, r13
	call	dev_err@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	pch_probe, .-pch_probe
	.comm	ptp_pch_caps,4,4
	.comm	pch_param,4,4
	.comm	isr,4,4
	.comm	PCH_TSE_TTIPEND,4,4
	.comm	KBUILD_MODNAME,4,4
	.comm	IRQF_SHARED,4,4
	.comm	IO_MEM_BAR,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.comm	EBUSY,4,4
	.comm	DEFAULT_ADDEND,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_ptp_pch.c_pch_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"could not enable the pci device\012\000"
	.align	2
.LC1:
	.ascii	"could not locate IO memory address\012\000"
	.align	2
.LC2:
	.ascii	"1588_regs\000"
	.align	2
.LC3:
	.ascii	"could not allocate register memory space\012\000"
	.align	2
.LC4:
	.ascii	"Could not get virtual address\012\000"
	.align	2
.LC5:
	.ascii	"failed to get irq %d\012\000"
	.align	2
.LC6:
	.ascii	"00:00:00:00:00:00\000"
	.align	2
.LC7:
	.ascii	"Invalid station address parameter\012Module loaded "
	.ascii	"but station address not set correctly\012\000"
	.align	2
.LC8:
	.ascii	"probe failed(ret=0x%x)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pch_probe, %function
pch_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L31
	mov	r6, r0
	ldr	r1, [r3]
	mov	r0, #32
	sub	sp, sp, #8
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L23
	mov	r0, r6
	bl	pci_enable_device
	subs	r5, r0, #0
	bne	.L24
	ldr	r5, .L31+4
	mov	r0, r6
	ldr	r1, [r5]
	bl	pci_resource_start
	cmp	r0, #0
	str	r0, [r4]
	beq	.L25
	ldr	r1, [r5]
	mov	r0, r6
	bl	pci_resource_len
	ldr	r2, .L31+8
	mov	r1, r0
	str	r0, [r4, #4]
	ldr	r0, [r4]
	bl	request_mem_region
	cmp	r0, #0
	beq	.L26
	ldm	r4, {r0, r1}
	bl	ioremap
	cmp	r0, #0
	str	r0, [r4, #8]
	beq	.L27
	mov	r0, r4
	ldr	r3, .L31+12
	mov	r1, r6
	ldr	r3, [r3]
	str	r3, [r0, #28]!
	bl	ptp_clock_register
	str	r0, [r4, #12]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L28
	add	r7, r4, #16
	mov	r0, r7
	bl	spin_lock_init
	ldr	r3, .L31+16
	ldr	r2, .L31+20
	str	r4, [sp]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, .L31+24
	ldr	r0, [r6, #4]
	bl	request_irq
	subs	r5, r0, #0
	bne	.L29
	ldr	r3, [r6, #4]
	mov	r1, r4
	str	r3, [r4, #24]
	mov	r0, r6
	str	r6, [r4, #20]
	bl	pci_set_drvdata
	mov	r1, #0
	mov	r0, r7
	bl	spin_lock_irqsave
	mov	r0, r4
	bl	pch_reset
	ldr	r3, .L31+28
	ldr	r1, [r4, #8]
	ldr	r0, [r3]
	add	r1, r1, #12
	bl	iowrite32
	ldr	r1, [r4, #8]
	mov	r0, #1
	add	r1, r1, #8
	bl	iowrite32
	ldr	r1, [r4, #8]
	mov	r0, r5
	add	r1, r1, #4
	bl	iowrite32
	ldr	r3, .L31+32
	ldr	r1, [r4, #8]
	ldr	r0, [r3]
	ldr	r8, .L31+36
	bl	iowrite32
	mov	r0, r4
	bl	pch_eth_enable_set
	ldr	r0, [r8]
	ldr	r1, .L31+40
	bl	strcmp
	cmp	r0, #0
	bne	.L30
.L16:
	mov	r0, r7
	mov	r1, #0
	bl	spin_unlock_irqrestore
	b	.L1
.L24:
	mov	r0, r6
	ldr	r1, .L31+44
	bl	dev_err
.L5:
	mov	r0, r4
	bl	kfree
	mov	r2, r5
	mov	r0, r6
	ldr	r1, .L31+48
	bl	dev_err
.L1:
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L23:
	ldr	r3, .L31+52
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L26:
	mov	r0, r6
	ldr	r1, .L31+56
	bl	dev_err
	ldr	r3, .L31+60
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L9:
	mov	r3, #0
	str	r3, [r4]
.L7:
	mov	r0, r6
	bl	pci_disable_device
	b	.L5
.L25:
	mov	r0, r6
	ldr	r1, .L31+64
	bl	dev_err
	ldr	r3, .L31+68
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L7
.L28:
	ldr	r0, [r4, #12]
	bl	PTR_ERR
	mov	r5, r0
.L13:
	ldr	r0, [r4, #8]
	bl	iounmap
	mov	r3, #0
	str	r3, [r4, #8]
.L11:
	ldm	r4, {r0, r1}
	bl	release_mem_region
	b	.L9
.L30:
	mov	r1, r6
	ldr	r0, [r8]
	bl	pch_set_station_address
	cmp	r0, #0
	beq	.L16
	mov	r0, r6
	ldr	r1, .L31+72
	bl	dev_err
	b	.L16
.L29:
	mov	r0, r6
	ldr	r2, [r6, #4]
	ldr	r1, .L31+76
	bl	dev_err
	ldr	r0, [r4, #12]
	bl	ptp_clock_unregister
	b	.L13
.L27:
	mov	r0, r6
	ldr	r1, .L31+80
	bl	dev_err
	ldr	r3, .L31+52
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L11
.L32:
	.align	2
.L31:
	.word	GFP_KERNEL
	.word	IO_MEM_BAR
	.word	.LC2
	.word	ptp_pch_caps
	.word	KBUILD_MODNAME
	.word	IRQF_SHARED
	.word	isr
	.word	DEFAULT_ADDEND
	.word	PCH_TSE_TTIPEND
	.word	pch_param
	.word	.LC6
	.word	.LC0
	.word	.LC8
	.word	ENOMEM
	.word	.LC3
	.word	EBUSY
	.word	.LC1
	.word	ENODEV
	.word	.LC7
	.word	.LC5
	.word	.LC4
	.size	pch_probe, .-pch_probe
	.comm	ptp_pch_caps,4,4
	.comm	pch_param,4,4
	.comm	isr,4,4
	.comm	PCH_TSE_TTIPEND,4,4
	.comm	KBUILD_MODNAME,4,4
	.comm	IRQF_SHARED,4,4
	.comm	IO_MEM_BAR,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.comm	EBUSY,4,4
	.comm	DEFAULT_ADDEND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
