	.file	"extr_composite.c_composite_bind.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"userspace failed to provide iSerialNumber\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%s ready\n"
	.text
	.p2align 4
	.type	composite_bind, @function
composite_bind:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	mov	rdi, rsi
	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
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	to_cdriver@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 40
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	rbx, rax
	call	kzalloc@PLT
	neg	r12d
	test	rax, rax
	je	.L1
	mov	rbp, rax
	lea	rdi, 32[rax]
	call	spin_lock_init@PLT
	mov	QWORD PTR 24[rbp], r13
	mov	rsi, rbp
	mov	rdi, r13
	call	set_gadget_data@PLT
	lea	rdi, 20[rbp]
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 16[rbp]
	call	INIT_LIST_HEAD@PLT
	mov	rsi, rbp
	mov	rdi, rbx
	call	composite_dev_prepare@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L4
	mov	rdi, rbp
	call	[QWORD PTR [rbx]]
	test	eax, eax
	js	.L10
	cmp	QWORD PTR 8[rbp], 0
	je	.L8
	mov	esi, DWORD PTR 0[r13]
	mov	rdi, rbp
	call	composite_os_desc_req_prepare@PLT
	test	eax, eax
	je	.L8
.L10:
	mov	r12d, eax
.L4:
	xor	esi, esi
	mov	rdi, r13
	call	__composite_unbind@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L8:
	.cfi_restore_state
	mov	esi, DWORD PTR 24[rbx]
	mov	rdi, rbp
	call	update_unchanged_dev_desc@PLT
	cmp	QWORD PTR 16[rbx], 0
	je	.L7
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	je	.L13
.L7:
	mov	edx, DWORD PTR 8[rbx]
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	call	INFO@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L13:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	WARNING@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	composite_bind, .-composite_bind
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_composite.c_composite_bind.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"userspace failed to provide iSerialNumber\012\000"
	.align	2
.LC1:
	.ascii	"%s ready\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	composite_bind, %function
composite_bind:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	mov	r0, r1
	bl	to_cdriver
	ldr	r2, .L14
	ldr	r3, .L14+4
	mov	r6, r0
	ldr	r1, [r2]
	mov	r0, #24
	ldr	r5, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	rsbeq	r5, r5, #0
	beq	.L1
	add	r0, r4, #20
	bl	spin_lock_init
	mov	r1, r4
	mov	r0, r7
	str	r7, [r4, #16]
	bl	set_gadget_data
	add	r0, r4, #12
	bl	INIT_LIST_HEAD
	add	r0, r4, #8
	bl	INIT_LIST_HEAD
	mov	r1, r4
	mov	r0, r6
	bl	composite_dev_prepare
	subs	r5, r0, #0
	bne	.L4
	mov	r0, r4
	ldr	r3, [r6]
	blx	r3
	cmp	r0, #0
	blt	.L10
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L8
	mov	r0, r4
	ldr	r1, [r7]
	bl	composite_os_desc_req_prepare
	cmp	r0, #0
	beq	.L8
.L10:
	mov	r5, r0
.L4:
	mov	r0, r7
	mov	r1, #0
	bl	__composite_unbind
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r0, r4
	ldr	r1, [r6, #12]
	bl	update_unchanged_dev_desc
	ldr	r3, [r6, #8]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L13
.L7:
	mov	r0, r4
	ldr	r2, [r6, #4]
	ldr	r1, .L14+8
	bl	INFO
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	mov	r0, r4
	ldr	r1, .L14+12
	bl	WARNING
	b	.L7
.L15:
	.align	2
.L14:
	.word	GFP_KERNEL
	.word	ENOMEM
	.word	.LC1
	.word	.LC0
	.size	composite_bind, .-composite_bind
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
