	.file	"extr_atmel-i2c.c_atmel_i2c_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"I2C_FUNC_I2C not supported\n"
.LC1:
	.string	"clock-frequency"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"failed to read clock-frequency property\n"
	.align 8
.LC3:
	.string	"%d exceeds maximum supported clock frequency (1MHz)\n"
	.text
	.p2align 4
	.globl	atmel_i2c_probe
	.type	atmel_i2c_probe, @function
atmel_i2c_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, 8[rdi]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR I2C_FUNC_I2C[rip]
	mov	rdi, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	i2c_check_functionality@PLT
	test	eax, eax
	je	.L11
	mov	rdi, QWORD PTR 0[rbp]
	call	i2c_acpi_find_bus_speed@PLT
	mov	QWORD PTR [rsp], rax
	test	rax, rax
	je	.L12
	cmp	rax, 1000000
	jg	.L13
.L6:
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 24
	mov	rdi, r13
	call	devm_kmalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L14
	mov	QWORD PTR 16[rax], rbp
	lea	rdi, 12[rax]
	call	mutex_init@PLT
	mov	rdi, QWORD PTR [rsp]
	call	atmel_i2c_wake_token_sz@PLT
	mov	edi, DWORD PTR 4[r12]
	mov	edx, 4
	xor	esi, esi
	mov	DWORD PTR 8[r12], eax
	call	memset@PLT
	mov	rdi, r12
	xor	esi, esi
	call	atomic_set@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	i2c_set_clientdata@PLT
	mov	rdi, rbp
	call	device_sanity_check@PLT
	mov	r12d, eax
.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 32
	mov	eax, r12d
	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
.L12:
	.cfi_restore_state
	mov	rdi, QWORD PTR 0[rbp]
	mov	rdx, rsp
	lea	rsi, .LC1[rip]
	call	device_property_read_u32@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L5
	mov	rax, QWORD PTR [rsp]
	cmp	rax, 1000000
	jle	.L6
.L13:
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	mov	rdi, r13
	xor	eax, eax
	call	dev_err@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	call	dev_err@PLT
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rsi, .LC2[rip]
	mov	rdi, r13
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	atmel_i2c_probe, .-atmel_i2c_probe
	.comm	I2C_FUNC_I2C,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,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_atmel-i2c.c_atmel_i2c_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"I2C_FUNC_I2C not supported\012\000"
	.align	2
.LC1:
	.ascii	"clock-frequency\000"
	.align	2
.LC2:
	.ascii	"failed to read clock-frequency property\012\000"
	.align	2
.LC3:
	.ascii	"%d exceeds maximum supported clock frequency (1MHz)"
	.ascii	"\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	atmel_i2c_probe
	.syntax unified
	.arm
	.fpu softvfp
	.type	atmel_i2c_probe, %function
atmel_i2c_probe:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	ldr	r3, .L16
	sub	sp, sp, #8
	ldr	r1, [r3]
	ldr	r3, .L16+4
	mov	r4, r0
	ldr	r0, [r6], #4
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	i2c_check_functionality
	cmp	r0, #0
	beq	.L11
	ldr	r0, [r4]
	bl	i2c_acpi_find_bus_speed
	cmp	r0, #0
	str	r0, [sp]
	beq	.L12
	ldr	r3, .L16+8
	cmp	r0, r3
	bgt	.L13
.L6:
	ldr	r3, .L16+12
	mov	r0, r6
	mov	r1, #20
	ldr	r2, [r3]
	bl	devm_kmalloc
	subs	r5, r0, #0
	beq	.L14
	str	r4, [r5, #16]
	add	r0, r5, #12
	bl	mutex_init
	ldr	r0, [sp]
	bl	atmel_i2c_wake_token_sz
	mov	r2, #4
	str	r0, [r5, #8]
	mov	r1, #0
	ldr	r0, [r5, #4]
	bl	memset
	mov	r1, #0
	mov	r0, r5
	bl	atomic_set
	mov	r1, r5
	mov	r0, r4
	bl	i2c_set_clientdata
	mov	r0, r4
	bl	device_sanity_check
	mov	r5, r0
.L1:
	ldr	r3, .L16+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L12:
	mov	r2, sp
	ldr	r1, .L16+16
	ldr	r0, [r4]
	bl	device_property_read_u32
	subs	r5, r0, #0
	bne	.L5
	ldr	r0, [sp]
	ldr	r3, .L16+8
	cmp	r0, r3
	ble	.L6
.L13:
	mov	r2, r0
	ldr	r1, .L16+20
	mov	r0, r6
	bl	dev_err
	ldr	r3, .L16+24
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L11:
	mov	r0, r6
	ldr	r1, .L16+28
	bl	dev_err
	ldr	r3, .L16+32
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L14:
	ldr	r3, .L16+36
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L5:
	mov	r0, r6
	ldr	r1, .L16+40
	bl	dev_err
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	I2C_FUNC_I2C
	.word	.LC4
	.word	1000000
	.word	GFP_KERNEL
	.word	.LC1
	.word	.LC3
	.word	EINVAL
	.word	.LC0
	.word	ENODEV
	.word	ENOMEM
	.word	.LC2
	.size	atmel_i2c_probe, .-atmel_i2c_probe
	.comm	I2C_FUNC_I2C,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
