	.file	"extr_vfio_amba.c_vfio_amba_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"vfio-amba-%08x"
	.text
	.p2align 4
	.type	vfio_amba_probe, @function
vfio_amba_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	mov	edi, 40
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	kzalloc@PLT
	test	rax, rax
	je	.L9
	mov	edx, DWORD PTR 4[r12]
	mov	edi, DWORD PTR GFP_KERNEL[rip]
	lea	rsi, .LC0[rip]
	mov	rbp, rax
	call	kasprintf@PLT
	mov	QWORD PTR 8[rbp], rax
	test	rax, rax
	je	.L11
	mov	eax, DWORD PTR VFIO_DEVICE_FLAGS_AMBA[rip]
	mov	QWORD PTR 32[rbp], r12
	mov	rsi, r12
	mov	rdi, rbp
	mov	DWORD PTR 28[rbp], eax
	mov	eax, DWORD PTR get_amba_resource[rip]
	mov	DWORD PTR 24[rbp], eax
	mov	eax, DWORD PTR get_amba_irq[rip]
	mov	DWORD PTR 20[rbp], eax
	mov	eax, DWORD PTR THIS_MODULE[rip]
	mov	DWORD PTR 0[rbp], 0
	mov	DWORD PTR 16[rbp], eax
	call	vfio_platform_probe_common@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L12
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, rbp
	call	kfree@PLT
.L9:
	mov	r12d, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbp]
	call	kfree@PLT
	mov	rdi, rbp
	call	kfree@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	vfio_amba_probe, .-vfio_amba_probe
	.comm	get_amba_resource,4,4
	.comm	get_amba_irq,4,4
	.comm	VFIO_DEVICE_FLAGS_AMBA,4,4
	.comm	THIS_MODULE,4,4
	.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_vfio_amba.c_vfio_amba_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"vfio-amba-%08x\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vfio_amba_probe, %function
vfio_amba_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L13
	mov	r5, r0
	ldr	r1, [r6]
	mov	r0, #28
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L9
	ldr	r0, [r6]
	ldr	r2, [r5, #4]
	ldr	r1, .L13+4
	bl	kasprintf
	cmp	r0, #0
	str	r0, [r4, #4]
	beq	.L11
	mov	r3, #0
	ldr	ip, .L13+8
	ldr	r0, .L13+12
	ldr	r1, .L13+16
	ldr	r2, .L13+20
	ldr	lr, [ip]
	ldr	r2, [r2]
	ldr	ip, [r0]
	ldr	r0, [r1]
	str	r5, [r4, #24]
	mov	r1, r5
	str	r0, [r4, #12]
	str	lr, [r4, #20]
	mov	r0, r4
	str	ip, [r4, #16]
	str	r2, [r4, #8]
	str	r3, [r4]
	bl	vfio_platform_probe_common
	subs	r5, r0, #0
	bne	.L12
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L11:
	mov	r0, r4
	bl	kfree
.L9:
	ldr	r3, .L13+24
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L12:
	ldr	r0, [r4, #4]
	bl	kfree
	mov	r0, r4
	bl	kfree
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	GFP_KERNEL
	.word	.LC0
	.word	VFIO_DEVICE_FLAGS_AMBA
	.word	get_amba_resource
	.word	get_amba_irq
	.word	THIS_MODULE
	.word	ENOMEM
	.size	vfio_amba_probe, .-vfio_amba_probe
	.comm	get_amba_resource,4,4
	.comm	get_amba_irq,4,4
	.comm	VFIO_DEVICE_FLAGS_AMBA,4,4
	.comm	THIS_MODULE,4,4
	.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
