	.file	"extr_bbc_i2c.c_bbc_i2c_attach.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"reg"
	.text
	.p2align 4
	.globl	bbc_i2c_attach
	.type	bbc_i2c_attach, @function
bbc_i2c_attach:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	mov	edi, 24
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	QWORD PTR 16[rax], r13
	mov	edi, DWORD PTR 0[rbp]
	xor	edx, edx
	lea	rsi, .LC0[rip]
	mov	QWORD PTR 8[rax], rbp
	call	of_get_property@PLT
	test	rax, rax
	je	.L9
	mov	edx, DWORD PTR [rax]
	mov	rsi, rbp
	mov	rdi, r13
	mov	DWORD PTR 4[r12], edx
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR [r12], eax
	call	claim_device@PLT
.L1:
	mov	rax, r12
	pop	rbp
	.cfi_remember_state
	.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
.L9:
	.cfi_restore_state
	mov	rdi, r12
	xor	r12d, r12d
	call	kfree@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	bbc_i2c_attach, .-bbc_i2c_attach
	.comm	GFP_KERNEL,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_bbc_i2c.c_bbc_i2c_attach.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"reg\000"
	.text
	.align	2
	.global	bbc_i2c_attach
	.syntax unified
	.arm
	.fpu softvfp
	.type	bbc_i2c_attach, %function
bbc_i2c_attach:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	mov	r5, r1
	mov	r0, #16
	ldr	r1, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L1
	mov	r2, #0
	ldr	r1, .L10+4
	ldr	r0, [r5]
	str	r7, [r4, #12]
	str	r5, [r4, #8]
	bl	of_get_property
	subs	r6, r0, #0
	beq	.L9
	ldr	r3, [r6]
	mov	r1, r5
	str	r3, [r4, #4]
	ldr	r3, [r6, #4]
	mov	r0, r7
	str	r3, [r4]
	bl	claim_device
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r0, r4
	bl	kfree
	mov	r4, r6
	b	.L1
.L11:
	.align	2
.L10:
	.word	GFP_KERNEL
	.word	.LC0
	.size	bbc_i2c_attach, .-bbc_i2c_attach
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
