	.file	"extr_i2c-s3c2410.c_s3c24xx_i2c_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"slave address 0x%02x\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"cannot meet bus frequency required\n"
	.section	.rodata.str1.1
.LC2:
	.string	"bus frequency set to %d KHz\n"
.LC3:
	.string	"S3C2410_IICCON=0x%02lx\n"
	.text
	.p2align 4
	.type	s3c24xx_i2c_init, @function
s3c24xx_i2c_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rdi, QWORD PTR [rdi]
	mov	r12, QWORD PTR S3C2410_IICCON_IRQEN[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	or	r12, QWORD PTR S3C2410_IICCON_ACKEN[rip]
	mov	rbp, QWORD PTR [rdi]
	mov	r13, QWORD PTR 8[rbp]
	test	r13, r13
	je	.L2
	call	to_platform_device@PLT
	mov	edi, eax
	call	r13
.L2:
	mov	edi, DWORD PTR 0[rbp]
	mov	rsi, QWORD PTR S3C2410_IICADD[rip]
	add	rsi, QWORD PTR 8[rbx]
	call	writeb@PLT
	mov	edx, DWORD PTR 0[rbp]
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	call	dev_info@PLT
	mov	rsi, QWORD PTR S3C2410_IICCON[rip]
	mov	rdi, r12
	add	rsi, QWORD PTR 8[rbx]
	call	writel@PLT
	lea	rsi, 4[rsp]
	mov	rdi, rbx
	call	s3c24xx_i2c_clockrate@PLT
	test	rax, rax
	jne	.L11
	mov	edx, DWORD PTR 4[rsp]
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC2[rip]
	call	dev_info@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	rdx, r12
	lea	rsi, .LC3[rip]
	call	dev_dbg@PLT
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 24
	.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
.L11:
	.cfi_restore_state
	mov	rsi, QWORD PTR S3C2410_IICCON[rip]
	xor	edi, edi
	add	rsi, QWORD PTR 8[rbx]
	call	writel@PLT
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	s3c24xx_i2c_init, .-s3c24xx_i2c_init
	.comm	S3C2410_IICCON_IRQEN,8,8
	.comm	S3C2410_IICCON_ACKEN,8,8
	.comm	S3C2410_IICCON,8,8
	.comm	S3C2410_IICADD,8,8
	.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_i2c-s3c2410.c_s3c24xx_i2c_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"slave address 0x%02x\012\000"
	.align	2
.LC1:
	.ascii	"cannot meet bus frequency required\012\000"
	.align	2
.LC2:
	.ascii	"bus frequency set to %d KHz\012\000"
	.align	2
.LC3:
	.ascii	"S3C2410_IICCON=0x%02lx\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c24xx_i2c_init, %function
s3c24xx_i2c_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	ldr	r0, [r0]
	ldr	r2, .L13
	ldr	r5, [r0]
	ldr	r3, .L13+4
	ldr	r7, [r5, #4]
	ldr	r6, [r2]
	ldr	r3, [r3]
	ldr	r2, .L13+8
	sub	sp, sp, #12
	cmp	r7, #0
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	orr	r6, r6, r3
	beq	.L2
	bl	to_platform_device
	blx	r7
.L2:
	ldr	r3, .L13+12
	ldr	r1, [r4, #4]
	ldr	r3, [r3]
	ldr	r0, [r5]
	add	r1, r1, r3
	ldr	r7, .L13+16
	bl	writeb
	ldr	r2, [r5]
	ldr	r1, .L13+20
	ldr	r0, [r4]
	bl	dev_info
	ldr	r3, [r7]
	ldr	r1, [r4, #4]
	mov	r0, r6
	add	r1, r1, r3
	bl	writel
	mov	r1, sp
	mov	r0, r4
	bl	s3c24xx_i2c_clockrate
	subs	r5, r0, #0
	bne	.L11
	ldr	r2, [sp]
	ldr	r1, .L13+24
	ldr	r0, [r4]
	bl	dev_info
	mov	r2, r6
	ldr	r0, [r4]
	ldr	r1, .L13+28
	bl	dev_dbg
.L1:
	ldr	r3, .L13+8
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	ldr	r3, [r7]
	ldr	r1, [r4, #4]
	mov	r0, #0
	add	r1, r1, r3
	bl	writel
	ldr	r0, [r4]
	ldr	r1, .L13+32
	bl	dev_err
	ldr	r3, .L13+36
	ldr	r0, [r3]
	rsb	r5, r0, #0
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	S3C2410_IICCON_IRQEN
	.word	S3C2410_IICCON_ACKEN
	.word	.LC4
	.word	S3C2410_IICADD
	.word	S3C2410_IICCON
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	.LC1
	.word	EINVAL
	.size	s3c24xx_i2c_init, .-s3c24xx_i2c_init
	.comm	S3C2410_IICCON_IRQEN,4,4
	.comm	S3C2410_IICCON_ACKEN,4,4
	.comm	S3C2410_IICCON,4,4
	.comm	S3C2410_IICADD,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
