	.file	"extr_card.c_pnp_add_card_device.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%02x:%02x.%02x"
	.text
	.p2align 4
	.globl	pnp_add_card_device
	.type	pnp_add_card_device, @function
pnp_add_card_device:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rax, 8[rdi]
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	ecx, DWORD PTR 4[rdi]
	mov	QWORD PTR 32[rsi], rax
	lea	rdi, 32[rsi]
	mov	rax, QWORD PTR 24[rsi]
	mov	r8d, DWORD PTR 16[rsi]
	mov	QWORD PTR 40[rsi], 0
	lea	rsi, .LC0[rip]
	mov	edx, DWORD PTR [rax]
	call	dev_set_name@PLT
	lea	rdi, pnp_lock[rip]
	call	mutex_lock@PLT
	mov	QWORD PTR 8[rbp], r12
	mov	rsi, r12
	mov	rdi, rbp
	call	list_add_tail@PLT
	lea	rdi, pnp_lock[rip]
	call	mutex_unlock@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pnp_add_card_device, .-pnp_add_card_device
	.comm	pnp_lock,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_card.c_pnp_add_card_device.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%02x:%02x.%02x\000"
	.text
	.align	2
	.global	pnp_add_card_device
	.syntax unified
	.arm
	.fpu softvfp
	.type	pnp_add_card_device, %function
pnp_add_card_device:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r1
	mov	r6, #0
	mov	r5, r0
	ldr	r2, [r1, #12]
	ldr	r3, [r1, #8]
	sub	sp, sp, #12
	add	r1, r0, #8
	ldr	r2, [r2]
	ldr	r7, .L4
	str	r1, [r4, #16]
	str	r3, [sp]
	ldr	r3, [r0, #4]
	ldr	r1, .L4+4
	str	r6, [r4, #20]
	add	r0, r4, #16
	bl	dev_set_name
	mov	r0, r7
	bl	mutex_lock
	mov	r1, r5
	mov	r0, r4
	str	r5, [r4, #4]
	bl	list_add_tail
	mov	r0, r7
	bl	mutex_unlock
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	.align	2
.L4:
	.word	pnp_lock
	.word	.LC0
	.size	pnp_add_card_device, .-pnp_add_card_device
	.comm	pnp_lock,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
