	.file	"extr_xenbusb_front.c_xenbusb_front_enumerate_type.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xenbusb_front_enumerate_type, @function
xenbusb_front_enumerate_type:
.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
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	device_get_softc@PLT
	mov	edi, DWORD PTR XST_NIL[rip]
	lea	rcx, 12[rsp]
	mov	rdx, r12
	mov	esi, DWORD PTR [rax]
	lea	r8, 16[rsp]
	call	xs_directory@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L1
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	je	.L3
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 16[rsp]
	mov	edx, ebx
	mov	rsi, r12
	mov	edi, ebp
	add	ebx, 1
	mov	rdx, QWORD PTR [rax+rdx*8]
	call	xenbusb_add_device@PLT
	cmp	DWORD PTR 12[rsp], ebx
	ja	.L4
.L3:
	mov	esi, DWORD PTR M_XENSTORE[rip]
	mov	rdi, QWORD PTR 16[rsp]
	call	free@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L9:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	xenbusb_front_enumerate_type, .-xenbusb_front_enumerate_type
	.comm	XST_NIL,4,4
	.comm	M_XENSTORE,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_xenbusb_front.c_xenbusb_front_enumerate_type.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xenbusb_front_enumerate_type, %function
xenbusb_front_enumerate_type:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L13
	sub	sp, sp, #28
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r6, r0
	bl	device_get_softc
	ldr	ip, .L13+4
	add	r3, sp, #12
	ldr	r1, [r0]
	mov	r2, r5
	str	r3, [sp]
	ldr	r0, [ip]
	add	r3, sp, #16
	bl	xs_directory
	subs	r7, r0, #0
	bne	.L1
	ldr	r3, [sp, #16]
	cmp	r3, #0
	beq	.L3
	mov	r4, r7
.L4:
	ldr	r3, [sp, #12]
	mov	r1, r5
	ldr	r2, [r3, r4, lsl #2]
	mov	r0, r6
	bl	xenbusb_add_device
	ldr	r3, [sp, #16]
	add	r4, r4, #1
	cmp	r3, r4
	bhi	.L4
.L3:
	ldr	r3, .L13+8
	ldr	r0, [sp, #12]
	ldr	r1, [r3]
	bl	free
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r7
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	XST_NIL
	.word	M_XENSTORE
	.size	xenbusb_front_enumerate_type, .-xenbusb_front_enumerate_type
	.comm	XST_NIL,4,4
	.comm	M_XENSTORE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
