	.file	"extr_mv_pci_ctrl.c_mv_pcib_ctrl_add_child.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mv_pcib_ctrl_add_child, @function
mv_pcib_ctrl_add_child:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	device_add_child_ordered@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	esi, DWORD PTR M_DEVBUF[rip]
	mov	edx, DWORD PTR M_WAITOK[rip]
	mov	edi, 8
	or	edx, DWORD PTR M_ZERO[rip]
	call	malloc@PLT
	mov	DWORD PTR 4[rax], -1
	mov	rbp, rax
	mov	rdi, rax
	call	resource_list_init@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	device_set_ivars@PLT
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mv_pcib_ctrl_add_child, .-mv_pcib_ctrl_add_child
	.comm	M_ZERO,4,4
	.comm	M_WAITOK,4,4
	.comm	M_DEVBUF,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_mv_pci_ctrl.c_mv_pcib_ctrl_add_child.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mv_pcib_ctrl_add_child, %function
mv_pcib_ctrl_add_child:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	device_add_child_ordered
	subs	r4, r0, #0
	beq	.L1
	ldr	r2, .L8
	ldr	r3, .L8+4
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L8+8
	orr	r2, r1, r2
	mov	r0, #8
	ldr	r1, [r3]
	bl	malloc
	mvn	r3, #0
	mov	r5, r0
	str	r3, [r0, #4]
	bl	resource_list_init
	mov	r1, r5
	mov	r0, r4
	bl	device_set_ivars
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	M_WAITOK
	.word	M_ZERO
	.word	M_DEVBUF
	.size	mv_pcib_ctrl_add_child, .-mv_pcib_ctrl_add_child
	.comm	M_ZERO,4,4
	.comm	M_WAITOK,4,4
	.comm	M_DEVBUF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
