	.file	"extr_pn533.c_pn533_register_device.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"pn533"
	.text
	.p2align 4
	.globl	pn533_register_device
	.type	pn533_register_device, @function
pn533_register_device:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	rax, QWORD PTR 104[rsp]
	mov	r15, QWORD PTR 96[rsp]
	mov	DWORD PTR 24[rsp], edi
	mov	edi, 120
	mov	QWORD PTR 8[rsp], r9
	mov	QWORD PTR 16[rsp], rax
	mov	eax, DWORD PTR ENOMEM[rip]
	mov	DWORD PTR 28[rsp], eax
	call	kzalloc@PLT
	mov	edi, DWORD PTR ENOMEM[rip]
	mov	r9, QWORD PTR 8[rsp]
	neg	edi
	test	rax, rax
	je	.L11
	mov	rbp, rax
	test	r9, r9
	mov	QWORD PTR 112[rax], r13
	mov	QWORD PTR 104[rax], r12
	lea	rdi, 84[rbp]
	mov	QWORD PTR 96[rax], r15
	lea	rax, pn533_std_frame_ops[rip]
	cmove	r9, rax
	mov	eax, DWORD PTR 24[rsp]
	mov	DWORD PTR 0[rbp], ebx
	mov	QWORD PTR 24[rbp], r9
	mov	DWORD PTR 88[rbp], eax
	call	mutex_init@PLT
	mov	esi, DWORD PTR pn533_wq_cmd[rip]
	lea	rdi, 80[rbp]
	call	INIT_WORK@PLT
	mov	esi, DWORD PTR pn533_wq_cmd_complete[rip]
	lea	rdi, 76[rbp]
	call	INIT_WORK@PLT
	mov	esi, DWORD PTR pn533_wq_mi_recv[rip]
	lea	rdi, 72[rbp]
	call	INIT_WORK@PLT
	mov	esi, DWORD PTR pn533_wq_mi_send[rip]
	lea	rdi, 68[rbp]
	call	INIT_WORK@PLT
	mov	esi, DWORD PTR pn533_wq_tg_get_data[rip]
	lea	rdi, 64[rbp]
	call	INIT_WORK@PLT
	mov	esi, DWORD PTR pn533_wq_tm_mi_recv[rip]
	lea	rdi, 60[rbp]
	call	INIT_WORK@PLT
	mov	esi, DWORD PTR pn533_wq_tm_mi_send[rip]
	lea	rdi, 56[rbp]
	call	INIT_WORK@PLT
	mov	esi, DWORD PTR pn533_wq_poll[rip]
	lea	rdi, 52[rbp]
	call	INIT_DELAYED_WORK@PLT
	mov	esi, DWORD PTR pn533_wq_rf[rip]
	lea	rdi, 48[rbp]
	call	INIT_WORK@PLT
	xor	esi, esi
	lea	rdi, .LC0[rip]
	call	alloc_ordered_workqueue@PLT
	mov	QWORD PTR 8[rbp], rax
	test	rax, rax
	je	.L13
	mov	esi, DWORD PTR pn533_listen_mode_timer[rip]
	xor	edx, edx
	lea	rdi, 44[rbp]
	call	timer_setup@PLT
	lea	rdi, 40[rbp]
	call	skb_queue_head_init@PLT
	lea	rdi, 36[rbp]
	call	skb_queue_head_init@PLT
	lea	rdi, 32[rbp]
	call	INIT_LIST_HEAD@PLT
	mov	rax, QWORD PTR 24[rbp]
	mov	rdx, QWORD PTR PN533_CMD_DATAEXCH_HEAD_LEN[rip]
	mov	esi, r14d
	lea	rdi, pn533_nfc_ops[rip]
	mov	ecx, DWORD PTR [rax]
	add	rdx, QWORD PTR 8[rax]
	call	nfc_allocate_device@PLT
	mov	DWORD PTR 16[rbp], eax
	mov	edi, eax
	test	eax, eax
	jne	.L6
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
.L7:
	mov	rdi, QWORD PTR 8[rbp]
	call	destroy_workqueue@PLT
.L5:
	mov	rdi, rbp
	call	kfree@PLT
	mov	edi, r12d
.L11:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rsi, QWORD PTR 16[rsp]
	call	nfc_set_parent_dev@PLT
	mov	edi, DWORD PTR 16[rbp]
	mov	rsi, rbp
	call	nfc_set_drvdata@PLT
	mov	edi, DWORD PTR 16[rbp]
	call	nfc_register_device@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L14
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	r12d, DWORD PTR 28[rsp]
	neg	r12d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR 16[rbp]
	call	nfc_free_device@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	pn533_register_device, .-pn533_register_device
	.comm	pn533_wq_tm_mi_send,4,4
	.comm	pn533_wq_tm_mi_recv,4,4
	.comm	pn533_wq_tg_get_data,4,4
	.comm	pn533_wq_rf,4,4
	.comm	pn533_wq_poll,4,4
	.comm	pn533_wq_mi_send,4,4
	.comm	pn533_wq_mi_recv,4,4
	.comm	pn533_wq_cmd_complete,4,4
	.comm	pn533_wq_cmd,4,4
	.comm	pn533_std_frame_ops,16,16
	.comm	pn533_nfc_ops,4,4
	.comm	pn533_listen_mode_timer,4,4
	.comm	PN533_CMD_DATAEXCH_HEAD_LEN,8,8
	.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_pn533.c_pn533_register_device.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"pn533\000"
	.text
	.align	2
	.global	pn533_register_device
	.syntax unified
	.arm
	.fpu softvfp
	.type	pn533_register_device, %function
pn533_register_device:
	@ args = 16, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, .L15
	mov	r7, r3
	ldr	r3, [r9]
	sub	sp, sp, #20
	mov	r8, r1
	ldr	r1, .L15+4
	str	r3, [sp, #12]
	ldr	r3, [sp, #68]
	mov	r5, r0
	ldr	r1, [r1]
	mov	r0, #88
	ldr	fp, [sp, #56]
	ldr	r6, [sp, #60]
	ldr	r10, [sp, #64]
	str	r2, [sp, #4]
	str	r3, [sp, #8]
	bl	kzalloc
	subs	r4, r0, #0
	ldreq	r0, [r9]
	rsbeq	r0, r0, #0
	beq	.L11
	ldr	r2, .L15+8
	cmp	r6, #0
	moveq	r6, r2
	ldr	r3, [sp, #4]
	str	r7, [r4, #84]
	str	r3, [r4]
	str	fp, [r4, #80]
	str	r10, [r4, #76]
	str	r5, [r4, #72]
	str	r6, [r4, #12]
	add	r0, r4, #68
	bl	mutex_init
	ldr	r3, .L15+12
	add	r0, r4, #64
	ldr	r1, [r3]
	bl	INIT_WORK
	ldr	r3, .L15+16
	add	r0, r4, #60
	ldr	r1, [r3]
	bl	INIT_WORK
	ldr	r3, .L15+20
	add	r0, r4, #56
	ldr	r1, [r3]
	bl	INIT_WORK
	ldr	r3, .L15+24
	add	r0, r4, #52
	ldr	r1, [r3]
	bl	INIT_WORK
	ldr	r3, .L15+28
	add	r0, r4, #48
	ldr	r1, [r3]
	bl	INIT_WORK
	ldr	r3, .L15+32
	add	r0, r4, #44
	ldr	r1, [r3]
	bl	INIT_WORK
	ldr	r3, .L15+36
	add	r0, r4, #40
	ldr	r1, [r3]
	bl	INIT_WORK
	ldr	r3, .L15+40
	add	r0, r4, #36
	ldr	r1, [r3]
	bl	INIT_DELAYED_WORK
	ldr	r3, .L15+44
	add	r0, r4, #32
	ldr	r1, [r3]
	bl	INIT_WORK
	mov	r1, #0
	ldr	r0, .L15+48
	bl	alloc_ordered_workqueue
	cmp	r0, #0
	str	r0, [r4, #4]
	beq	.L13
	ldr	r3, .L15+52
	mov	r2, #0
	ldr	r1, [r3]
	add	r0, r4, #28
	bl	timer_setup
	add	r0, r4, #24
	bl	skb_queue_head_init
	add	r0, r4, #20
	bl	skb_queue_head_init
	add	r0, r4, #16
	bl	INIT_LIST_HEAD
	ldr	r3, [r4, #12]
	ldr	r2, .L15+56
	ldr	r0, [r3, #4]
	ldr	r2, [r2]
	mov	r1, r8
	add	r2, r0, r2
	ldr	r3, [r3]
	ldr	r0, .L15+60
	bl	nfc_allocate_device
	cmp	r0, #0
	str	r0, [r4, #8]
	bne	.L6
	ldr	r5, [r9]
	rsb	r5, r5, #0
.L7:
	ldr	r0, [r4, #4]
	bl	destroy_workqueue
.L5:
	mov	r0, r4
	bl	kfree
	mov	r0, r5
.L11:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	ERR_PTR
.L6:
	ldr	r1, [sp, #8]
	bl	nfc_set_parent_dev
	mov	r1, r4
	ldr	r0, [r4, #8]
	bl	nfc_set_drvdata
	ldr	r0, [r4, #8]
	bl	nfc_register_device
	subs	r5, r0, #0
	bne	.L14
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	ldr	r3, [sp, #12]
	rsb	r5, r3, #0
	b	.L5
.L14:
	ldr	r0, [r4, #8]
	bl	nfc_free_device
	b	.L7
.L16:
	.align	2
.L15:
	.word	ENOMEM
	.word	GFP_KERNEL
	.word	pn533_std_frame_ops
	.word	pn533_wq_cmd
	.word	pn533_wq_cmd_complete
	.word	pn533_wq_mi_recv
	.word	pn533_wq_mi_send
	.word	pn533_wq_tg_get_data
	.word	pn533_wq_tm_mi_recv
	.word	pn533_wq_tm_mi_send
	.word	pn533_wq_poll
	.word	pn533_wq_rf
	.word	.LC0
	.word	pn533_listen_mode_timer
	.word	PN533_CMD_DATAEXCH_HEAD_LEN
	.word	pn533_nfc_ops
	.size	pn533_register_device, .-pn533_register_device
	.comm	pn533_wq_tm_mi_send,4,4
	.comm	pn533_wq_tm_mi_recv,4,4
	.comm	pn533_wq_tg_get_data,4,4
	.comm	pn533_wq_rf,4,4
	.comm	pn533_wq_poll,4,4
	.comm	pn533_wq_mi_send,4,4
	.comm	pn533_wq_mi_recv,4,4
	.comm	pn533_wq_cmd_complete,4,4
	.comm	pn533_wq_cmd,4,4
	.comm	pn533_std_frame_ops,8,4
	.comm	pn533_nfc_ops,4,4
	.comm	pn533_listen_mode_timer,4,4
	.comm	PN533_CMD_DATAEXCH_HEAD_LEN,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
