	.file	"extr_driver.c_usb_driver_claim_interface.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	usb_driver_claim_interface
	.type	usb_driver_claim_interface, @function
usb_driver_claim_interface:
.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
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rsi, rsi
	je	.L5
	cmp	QWORD PTR 32[rsi], 0
	mov	rbx, rsi
	je	.L4
	mov	r12d, DWORD PTR EBUSY[rip]
	neg	r12d
.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
.L4:
	.cfi_restore_state
	mov	eax, DWORD PTR 24[rsi]
	test	eax, eax
	jne	.L16
.L5:
	mov	r12d, DWORD PTR ENODEV[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	lea	rax, 8[rdi]
	lea	r13, 32[rsi]
	mov	rbp, rdi
	mov	rdi, rbx
	mov	QWORD PTR 32[rsi], rax
	mov	rsi, rdx
	call	usb_set_intfdata@PLT
	mov	eax, DWORD PTR USB_INTERFACE_BOUND[rip]
	xor	esi, esi
	mov	rdi, r13
	mov	QWORD PTR 16[rbx], 0
	mov	DWORD PTR [rbx], eax
	call	pm_suspend_ignore_children@PLT
	cmp	QWORD PTR 0[rbp], 0
	mov	rdi, r13
	je	.L6
	call	pm_runtime_enable@PLT
.L7:
	mov	rdi, r13
	call	device_is_registered@PLT
	test	rax, rax
	jne	.L8
.L9:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	r12d, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	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
.L6:
	.cfi_restore_state
	call	pm_runtime_set_active@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, r13
	call	device_bind_driver@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L9
	mov	QWORD PTR 32[rbx], 0
	xor	esi, esi
	mov	rdi, rbx
	call	usb_set_intfdata@PLT
	mov	eax, DWORD PTR USB_INTERFACE_UNBOUND[rip]
	cmp	QWORD PTR 0[rbp], 0
	mov	QWORD PTR 8[rbx], 0
	mov	DWORD PTR [rbx], eax
	jne	.L17
.L10:
	mov	rdi, r13
	call	pm_runtime_set_suspended@PLT
	jmp	.L1
.L17:
	mov	rdi, r13
	call	pm_runtime_disable@PLT
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	usb_driver_claim_interface, .-usb_driver_claim_interface
	.comm	USB_INTERFACE_UNBOUND,4,4
	.comm	USB_INTERFACE_BOUND,4,4
	.comm	ENODEV,4,4
	.comm	EBUSY,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_driver.c_usb_driver_claim_interface.c"
	.text
	.align	2
	.global	usb_driver_claim_interface
	.syntax unified
	.arm
	.fpu softvfp
	.type	usb_driver_claim_interface, %function
usb_driver_claim_interface:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r4, r1, #0
	beq	.L5
	ldr	r5, [r4, #16]
	cmp	r5, #0
	beq	.L4
	ldr	r3, .L24
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L22
.L5:
	ldr	r3, .L24+4
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L22:
	mov	r6, r0
	add	r3, r0, #4
	mov	r1, r2
	str	r3, [r4, #16]
	mov	r0, r4
	bl	usb_set_intfdata
	ldr	r3, .L24+8
	add	r7, r4, #16
	ldr	r3, [r3]
	mov	r1, r5
	str	r3, [r4]
	mov	r0, r7
	str	r5, [r4, #8]
	bl	pm_suspend_ignore_children
	ldr	r3, [r6]
	mov	r0, r7
	cmp	r3, #0
	beq	.L6
	bl	pm_runtime_enable
.L7:
	mov	r0, r7
	bl	device_is_registered
	cmp	r0, #0
	bne	.L8
.L9:
	mov	r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	bl	pm_runtime_set_active
	b	.L7
.L8:
	mov	r0, r7
	bl	device_bind_driver
	subs	r5, r0, #0
	beq	.L9
	mov	r8, #0
	mov	r0, r4
	mov	r1, r8
	str	r8, [r4, #16]
	bl	usb_set_intfdata
	ldr	r3, .L24+12
	ldr	r2, [r6]
	ldr	r3, [r3]
	cmp	r2, r8
	stm	r4, {r3, r8}
	bne	.L23
.L10:
	mov	r0, r7
	bl	pm_runtime_set_suspended
	b	.L1
.L23:
	mov	r0, r7
	bl	pm_runtime_disable
	b	.L10
.L25:
	.align	2
.L24:
	.word	EBUSY
	.word	ENODEV
	.word	USB_INTERFACE_BOUND
	.word	USB_INTERFACE_UNBOUND
	.size	usb_driver_claim_interface, .-usb_driver_claim_interface
	.comm	USB_INTERFACE_UNBOUND,4,4
	.comm	USB_INTERFACE_BOUND,4,4
	.comm	ENODEV,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
