	.file	"extr_r8a66597-hcd.c_free_usb_address.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"free_addr: addr=%d"
	.text
	.p2align 4
	.type	free_usb_address, @function
free_usb_address:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	je	.L11
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	lea	rdi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR [rsi]
	call	dbg@PLT
	mov	eax, DWORD PTR USB_STATE_DEFAULT[rip]
	mov	ecx, DWORD PTR [rbx]
	xor	esi, esi
	mov	rdi, QWORD PTR 8[rbx]
	mov	DWORD PTR 16[rbx], eax
	mov	eax, -2
	rol	eax, cl
	and	DWORD PTR 0[rbp], eax
	mov	DWORD PTR [rbx], 0
	call	dev_set_drvdata@PLT
	lea	rdi, 4[rbx]
	call	list_del@PLT
	mov	rdi, rbx
	call	kfree@PLT
	mov	edx, DWORD PTR 4[rbp]
	test	edx, edx
	jle	.L1
	mov	rax, QWORD PTR 8[rbp]
	sub	edx, 1
	lea	rdx, 8[rax+rdx*8]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	add	rax, 8
	cmp	rax, rdx
	je	.L1
.L5:
	cmp	QWORD PTR [rax], rbx
	jne	.L3
	mov	QWORD PTR [rax], 0
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore 3
	.cfi_restore 6
	ret
	.cfi_endproc
.LFE0:
	.size	free_usb_address, .-free_usb_address
	.comm	USB_STATE_DEFAULT,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_r8a66597-hcd.c_free_usb_address.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"free_addr: addr=%d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	free_usb_address, %function
free_usb_address:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r5, r1, #0
	popeq	{r4, r5, r6, pc}
	mov	r6, r0
	ldr	r1, [r5]
	ldr	r0, .L12
	bl	dbg
	mov	r1, #1
	mov	r4, #0
	ldr	r3, .L12+4
	ldr	r2, [r5]
	ldr	r0, [r3]
	ldr	r3, [r6]
	str	r0, [r5, #12]
	bic	r3, r3, r1, lsl r2
	str	r3, [r6]
	mov	r1, r4
	ldr	r0, [r5, #8]
	str	r4, [r5]
	bl	dev_set_drvdata
	add	r0, r5, #4
	bl	list_del
	mov	r0, r5
	bl	kfree
	ldr	ip, [r6, #4]
	cmp	ip, r4
	pople	{r4, r5, r6, pc}
	mov	r1, r4
	ldr	r3, [r6, #8]
	b	.L5
.L3:
	cmp	r1, ip
	popeq	{r4, r5, r6, pc}
.L5:
	ldr	r0, [r3]
	mov	r2, r3
	cmp	r0, r5
	add	r1, r1, #1
	add	r3, r3, #4
	bne	.L3
	mov	r3, #0
	str	r3, [r2]
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	USB_STATE_DEFAULT
	.size	free_usb_address, .-free_usb_address
	.comm	USB_STATE_DEFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
