	.file	"extr_helene.c_helene_attach_s.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Sony HELENE Sat attached on addr=%x at I2C adapter %p\n"
	.text
	.p2align 4
	.globl	helene_attach_s
	.type	helene_attach_s, @function
helene_attach_s:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	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
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	mov	edi, 32
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	eax, DWORD PTR 0[rbp]
	mov	QWORD PTR 8[r12], r13
	sar	eax
	mov	DWORD PTR [r12], eax
	mov	eax, DWORD PTR 12[rbp]
	mov	DWORD PTR 24[r12], eax
	mov	eax, DWORD PTR 8[rbp]
	mov	DWORD PTR 20[r12], eax
	mov	eax, DWORD PTR 4[rbp]
	mov	DWORD PTR 16[r12], eax
	mov	rax, QWORD PTR 16[rbx]
	test	rax, rax
	je	.L3
	mov	esi, 1
	mov	rdi, rbx
	call	rax
.L3:
	mov	rdi, r12
	call	helene_x_pon@PLT
	test	rax, rax
	jne	.L17
	mov	rax, QWORD PTR 16[rbx]
	test	rax, rax
	je	.L5
	xor	esi, esi
	mov	rdi, rbx
	call	rax
.L5:
	lea	rdi, 8[rbx]
	mov	edx, 4
	lea	rsi, helene_tuner_ops_s[rip]
	call	memcpy@PLT
	mov	rdi, QWORD PTR 8[r12]
	mov	QWORD PTR [rbx], r12
	lea	rsi, .LC0[rip]
	mov	edx, DWORD PTR [r12]
	mov	r12, rbx
	mov	rcx, rdi
	call	dev_info@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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
.L17:
	.cfi_restore_state
	mov	rdi, r12
	xor	r12d, r12d
	call	kfree@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	helene_attach_s, .-helene_attach_s
	.comm	helene_tuner_ops_s,4,4
	.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_helene.c_helene_attach_s.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Sony HELENE Sat attached on addr=%x at I2C adapter "
	.ascii	"%p\012\000"
	.text
	.align	2
	.global	helene_attach_s
	.syntax unified
	.arm
	.fpu softvfp
	.type	helene_attach_s, %function
helene_attach_s:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L18
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r5, r1
	mov	r0, #20
	ldr	r1, [r3]
	mov	r8, r2
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L1
	ldr	r3, [r5]
	ldr	r7, [r6, #8]
	asr	r3, r3, #1
	ldr	r1, [r5, #12]
	ldr	r2, [r5, #8]
	str	r3, [r4]
	ldr	r3, [r5, #4]
	cmp	r7, #0
	str	r8, [r4, #4]
	str	r1, [r4, #16]
	str	r2, [r4, #12]
	str	r3, [r4, #8]
	beq	.L3
	mov	r1, #1
	mov	r0, r6
	blx	r7
.L3:
	mov	r0, r4
	bl	helene_x_pon
	subs	r1, r0, #0
	bne	.L17
	ldr	r3, [r6, #8]
	cmp	r3, #0
	beq	.L5
	mov	r0, r6
	blx	r3
.L5:
	mov	r2, #4
	ldr	r1, .L18+4
	add	r0, r6, r2
	bl	memcpy
	ldr	r3, [r4, #4]
	ldr	r2, [r4]
	str	r4, [r6]
	mov	r0, r3
	ldr	r1, .L18+8
	mov	r4, r6
	bl	dev_info
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	mov	r0, r4
	bl	kfree
	mov	r4, #0
	b	.L1
.L19:
	.align	2
.L18:
	.word	GFP_KERNEL
	.word	helene_tuner_ops_s
	.word	.LC0
	.size	helene_attach_s, .-helene_attach_s
	.comm	helene_tuner_ops_s,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
