	.file	"extr_stub_main.c_match_busid_show.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s "
	.text
	.p2align 4
	.type	match_busid_show, @function
match_busid_show:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	rdi, busid_table_lock[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, r12
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	spin_lock@PLT
	mov	edx, DWORD PTR MAX_BUSID[rip]
	test	edx, edx
	jle	.L2
	xor	ebx, ebx
	lea	r13, .LC0[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	rdi, 8
	add	rbx, 1
	call	spin_unlock@PLT
	cmp	DWORD PTR MAX_BUSID[rip], ebx
	jle	.L2
.L4:
	mov	rdi, QWORD PTR busid_table[rip]
	mov	r14, rbx
	sal	r14, 4
	add	rdi, r14
	add	rdi, 8
	call	spin_lock@PLT
	mov	rdi, QWORD PTR busid_table[rip]
	add	rdi, r14
	mov	rdx, QWORD PTR [rdi]
	cmp	BYTE PTR [rdx], 0
	je	.L3
	mov	rdi, rbp
	mov	rsi, r13
	xor	eax, eax
	call	sprintf@PLT
	mov	rdi, QWORD PTR busid_table[rip]
	cdqe
	add	rbp, rax
	add	rdi, r14
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	lea	rdi, busid_table_lock[rip]
	call	spin_unlock@PLT
	mov	eax, 10
	mov	WORD PTR 0[rbp], ax
	lea	rax, 1[rbp]
	pop	rbx
	.cfi_def_cfa_offset 40
	sub	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	match_busid_show, .-match_busid_show
	.comm	busid_table_lock,4,4
	.comm	busid_table,8,8
	.comm	MAX_BUSID,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_stub_main.c_match_busid_show.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s \000"
	.align	2
.LC1:
	.ascii	"\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	match_busid_show, %function
match_busid_show:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r1
	ldr	r7, .L12
	ldr	r0, .L12+4
	bl	spin_lock
	ldr	r3, [r7]
	mov	r6, r8
	cmp	r3, #0
	ble	.L2
	mov	r4, #0
	ldr	r10, .L12+8
	ldr	r9, .L12+12
	b	.L4
.L3:
	add	r0, r0, #4
	bl	spin_unlock
	ldr	r3, [r7]
	cmp	r3, r4
	ble	.L2
.L4:
	ldr	r0, [r10]
	lsl	r5, r4, #3
	add	r0, r0, r4, lsl #3
	add	r0, r0, #4
	bl	spin_lock
	ldr	r0, [r10]
	ldr	r2, [r0, r4, lsl #3]
	add	r4, r4, #1
	ldrb	r3, [r2]	@ zero_extendqisi2
	add	r0, r0, r5
	cmp	r3, #0
	beq	.L3
	mov	r0, r6
	mov	r1, r9
	bl	sprintf
	ldr	r3, [r10]
	add	r6, r6, r0
	add	r0, r3, r5
	b	.L3
.L2:
	ldr	r0, .L12+4
	bl	spin_unlock
	mov	r2, #2
	mov	r0, r6
	ldr	r1, .L12+16
	bl	memcpy
	add	r0, r6, #1
	sub	r0, r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	.align	2
.L12:
	.word	MAX_BUSID
	.word	busid_table_lock
	.word	busid_table
	.word	.LC0
	.word	.LC1
	.size	match_busid_show, .-match_busid_show
	.comm	busid_table_lock,4,4
	.comm	busid_table,4,4
	.comm	MAX_BUSID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
