	.file	"extr_ad9389b.c_ad9389b_remove.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s removed @ 0x%x (%s)\n"
	.text
	.p2align 4
	.type	ad9389b_remove, @function
ad9389b_remove:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	i2c_get_clientdata@PLT
	mov	rdi, rax
	mov	rbx, rax
	call	get_ad9389b_state@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	r9d, DWORD PTR 0[rbp]
	mov	rdx, rbx
	mov	DWORD PTR [rax], -1
	mov	r12, rax
	mov	rax, QWORD PTR 8[rbp]
	lea	rcx, .LC0[rip]
	mov	r8d, DWORD PTR 16[rbp]
	mov	esi, DWORD PTR debug[rip]
	add	r9d, r9d
	mov	edi, 1
	mov	eax, DWORD PTR [rax]
	push	rax
	.cfi_def_cfa_offset 48
	call	v4l2_dbg@PLT
	mov	rdi, rbx
	xor	esi, esi
	call	ad9389b_s_stream@PLT
	xor	esi, esi
	mov	rdi, rbx
	call	ad9389b_s_audio_stream@PLT
	mov	rdi, rbx
	call	ad9389b_init_setup@PLT
	lea	rdi, 8[r12]
	call	cancel_delayed_work_sync@PLT
	mov	edi, DWORD PTR 4[r12]
	call	i2c_unregister_device@PLT
	mov	rdi, rbx
	call	v4l2_device_unregister_subdev@PLT
	lea	rdi, 4[rbx]
	call	media_entity_cleanup@PLT
	mov	edi, DWORD PTR [rbx]
	call	v4l2_ctrl_handler_free@PLT
	pop	rax
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rdx
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ad9389b_remove, .-ad9389b_remove
	.comm	debug,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_ad9389b.c_ad9389b_remove.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s removed @ 0x%x (%s)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ad9389b_remove, %function
ad9389b_remove:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #20
	mov	r5, r0
	bl	i2c_get_clientdata
	mov	r4, r0
	bl	get_ad9389b_state
	mvn	ip, #0
	mov	r7, r0
	mov	r6, r0
	ldr	r2, [r5, #4]
	ldr	r3, [r5]
	ldr	r0, [r2]
	ldr	r1, .L4
	ldr	r2, [r5, #8]
	lsl	r3, r3, #1
	str	ip, [r7], #8
	ldr	r1, [r1]
	stm	sp, {r2, r3}
	str	r0, [sp, #8]
	mov	r2, r4
	ldr	r3, .L4+4
	mov	r0, #1
	bl	v4l2_dbg
	mov	r0, r4
	mov	r1, #0
	bl	ad9389b_s_stream
	mov	r1, #0
	mov	r0, r4
	bl	ad9389b_s_audio_stream
	mov	r0, r4
	bl	ad9389b_init_setup
	mov	r0, r7
	bl	cancel_delayed_work_sync
	ldr	r0, [r6, #4]
	bl	i2c_unregister_device
	mov	r0, r4
	bl	v4l2_device_unregister_subdev
	add	r0, r4, #4
	bl	media_entity_cleanup
	ldr	r0, [r4]
	bl	v4l2_ctrl_handler_free
	mov	r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	.align	2
.L4:
	.word	debug
	.word	.LC0
	.size	ad9389b_remove, .-ad9389b_remove
	.comm	debug,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
