	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pn533_register_device          ## -- Begin function pn533_register_device
	.p2align	4, 0x90
_pn533_register_device:                 ## @pn533_register_device
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movq	24(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %r12
	movq	_ENOMEM@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$120, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, 112(%rax)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 104(%rbx)
	movq	%r12, 96(%rbx)
	testq	%r13, %r13
	jne	LBB0_4
## %bb.3:
	movq	_pn533_std_frame_ops@GOTPCREL(%rip), %r13
LBB0_4:
	movq	%r13, 24(%rbx)
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 88(%rbx)
	leaq	84(%rbx), %rdi
	callq	_mutex_init
	leaq	80(%rbx), %rdi
	movq	_pn533_wq_cmd@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	76(%rbx), %rdi
	movq	_pn533_wq_cmd_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	72(%rbx), %rdi
	movq	_pn533_wq_mi_recv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	68(%rbx), %rdi
	movq	_pn533_wq_mi_send@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	64(%rbx), %rdi
	movq	_pn533_wq_tg_get_data@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	60(%rbx), %rdi
	movq	_pn533_wq_tm_mi_recv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	56(%rbx), %rdi
	movq	_pn533_wq_tm_mi_send@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	52(%rbx), %rdi
	movq	_pn533_wq_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	48(%rbx), %rdi
	movq	_pn533_wq_rf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_alloc_ordered_workqueue
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	movq	_ENOMEM@GOTPCREL(%rip), %r15
	je	LBB0_5
## %bb.6:
	leaq	44(%rbx), %rdi
	movq	_pn533_listen_mode_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_timer_setup
	leaq	40(%rbx), %rdi
	callq	_skb_queue_head_init
	leaq	36(%rbx), %rdi
	callq	_skb_queue_head_init
	movq	%rbx, %rdi
	addq	$32, %rdi
	callq	_INIT_LIST_HEAD
	movq	24(%rbx), %rax
	movq	_PN533_CMD_DATAEXCH_HEAD_LEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	addq	8(%rax), %rdx
	movl	(%rax), %ecx
	movq	_pn533_nfc_ops@GOTPCREL(%rip), %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_nfc_allocate_device
	movl	%eax, 16(%rbx)
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	%eax, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_nfc_set_parent_dev
	movl	16(%rbx), %edi
	movq	%rbx, %rsi
	callq	_nfc_set_drvdata
	movl	16(%rbx), %edi
	callq	_nfc_register_device
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	movl	%eax, %r14d
	movl	16(%rbx), %edi
	callq	_nfc_free_device
	jmp	LBB0_10
LBB0_1:
	xorl	%r14d, %r14d
	subl	(%r15), %r14d
	jmp	LBB0_12
LBB0_5:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	negl	%r14d
	jmp	LBB0_11
LBB0_7:
	subl	(%r15), %r14d
LBB0_10:
	movq	8(%rbx), %rdi
	callq	_destroy_workqueue
LBB0_11:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_12:
	movl	%r14d, %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_13:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_pn533_std_frame_ops,16,3       ## @pn533_std_frame_ops
	.comm	_pn533_wq_cmd,4,2               ## @pn533_wq_cmd
	.comm	_pn533_wq_cmd_complete,4,2      ## @pn533_wq_cmd_complete
	.comm	_pn533_wq_mi_recv,4,2           ## @pn533_wq_mi_recv
	.comm	_pn533_wq_mi_send,4,2           ## @pn533_wq_mi_send
	.comm	_pn533_wq_tg_get_data,4,2       ## @pn533_wq_tg_get_data
	.comm	_pn533_wq_tm_mi_recv,4,2        ## @pn533_wq_tm_mi_recv
	.comm	_pn533_wq_tm_mi_send,4,2        ## @pn533_wq_tm_mi_send
	.comm	_pn533_wq_poll,4,2              ## @pn533_wq_poll
	.comm	_pn533_wq_rf,4,2                ## @pn533_wq_rf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pn533"

	.comm	_pn533_listen_mode_timer,4,2    ## @pn533_listen_mode_timer
	.comm	_pn533_nfc_ops,4,2              ## @pn533_nfc_ops
	.comm	_PN533_CMD_DATAEXCH_HEAD_LEN,8,3 ## @PN533_CMD_DATAEXCH_HEAD_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pn533_register_device          ; -- Begin function pn533_register_device
	.p2align	2
_pn533_register_device:                 ; @pn533_register_device
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x7, [sp, #8]                    ; 8-byte Folded Spill
	mov	x25, x6
	mov	x22, x5
	mov	x26, x4
	mov	x27, x3
	mov	x23, x2
	mov	x21, x1
	mov	x24, x0
Lloh0:
	adrp	x28, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x28, [x28, _ENOMEM@GOTPAGEOFF]
	ldr	w20, [x28]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #120
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	stp	x26, x27, [x0, #104]
	str	x25, [x0, #96]
Lloh5:
	adrp	x8, _pn533_std_frame_ops@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pn533_std_frame_ops@GOTPAGEOFF]
	cmp	x22, #0
	csel	x8, x8, x22, eq
	str	x8, [x0, #24]
	str	w23, [x0]
	str	w24, [x0, #88]
	add	x0, x0, #84
	bl	_mutex_init
	add	x0, x19, #80
Lloh7:
	adrp	x8, _pn533_wq_cmd@GOTPAGE
Lloh8:
	ldr	x8, [x8, _pn533_wq_cmd@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #76
Lloh10:
	adrp	x8, _pn533_wq_cmd_complete@GOTPAGE
Lloh11:
	ldr	x8, [x8, _pn533_wq_cmd_complete@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #72
Lloh13:
	adrp	x8, _pn533_wq_mi_recv@GOTPAGE
Lloh14:
	ldr	x8, [x8, _pn533_wq_mi_recv@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #68
Lloh16:
	adrp	x8, _pn533_wq_mi_send@GOTPAGE
Lloh17:
	ldr	x8, [x8, _pn533_wq_mi_send@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #64
Lloh19:
	adrp	x8, _pn533_wq_tg_get_data@GOTPAGE
Lloh20:
	ldr	x8, [x8, _pn533_wq_tg_get_data@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #60
Lloh22:
	adrp	x8, _pn533_wq_tm_mi_recv@GOTPAGE
Lloh23:
	ldr	x8, [x8, _pn533_wq_tm_mi_recv@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #56
Lloh25:
	adrp	x8, _pn533_wq_tm_mi_send@GOTPAGE
Lloh26:
	ldr	x8, [x8, _pn533_wq_tm_mi_send@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #52
Lloh28:
	adrp	x8, _pn533_wq_poll@GOTPAGE
Lloh29:
	ldr	x8, [x8, _pn533_wq_poll@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x0, x19, #48
Lloh31:
	adrp	x8, _pn533_wq_rf@GOTPAGE
Lloh32:
	ldr	x8, [x8, _pn533_wq_rf@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	bl	_INIT_WORK
Lloh34:
	adrp	x0, l_.str@PAGE
Lloh35:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
	bl	_alloc_ordered_workqueue
	str	x0, [x19, #8]
	cbz	x0, LBB0_6
; %bb.2:
	add	x0, x19, #44
Lloh36:
	adrp	x8, _pn533_listen_mode_timer@GOTPAGE
Lloh37:
	ldr	x8, [x8, _pn533_listen_mode_timer@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	add	x0, x19, #40
	bl	_skb_queue_head_init
	add	x0, x19, #36
	bl	_skb_queue_head_init
	add	x0, x19, #32
	bl	_INIT_LIST_HEAD
	ldr	x8, [x19, #24]
	ldr	x9, [x8, #8]
Lloh39:
	adrp	x10, _PN533_CMD_DATAEXCH_HEAD_LEN@GOTPAGE
Lloh40:
	ldr	x10, [x10, _PN533_CMD_DATAEXCH_HEAD_LEN@GOTPAGEOFF]
Lloh41:
	ldr	x10, [x10]
	add	x2, x10, x9
	ldr	w3, [x8]
Lloh42:
	adrp	x0, _pn533_nfc_ops@GOTPAGE
Lloh43:
	ldr	x0, [x0, _pn533_nfc_ops@GOTPAGEOFF]
	mov	x1, x21
	bl	_nfc_allocate_device
	str	w0, [x19, #16]
	cbz	w0, LBB0_7
; %bb.3:
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_nfc_set_parent_dev
	ldr	w0, [x19, #16]
	mov	x1, x19
	bl	_nfc_set_drvdata
	ldr	w0, [x19, #16]
	bl	_nfc_register_device
	cbz	w0, LBB0_11
; %bb.4:
	mov	x20, x0
	ldr	w0, [x19, #16]
	bl	_nfc_free_device
	b	LBB0_8
LBB0_5:
	ldr	w8, [x28]
	neg	w20, w8
	b	LBB0_10
LBB0_6:
	neg	w20, w20
	b	LBB0_9
LBB0_7:
	ldr	w8, [x28]
	neg	w20, w8
LBB0_8:
	ldr	x0, [x19, #8]
	bl	_destroy_workqueue
LBB0_9:
	mov	x0, x19
	bl	_kfree
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_ERR_PTR
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_pn533_std_frame_ops,16,3       ; @pn533_std_frame_ops
	.comm	_pn533_wq_cmd,4,2               ; @pn533_wq_cmd
	.comm	_pn533_wq_cmd_complete,4,2      ; @pn533_wq_cmd_complete
	.comm	_pn533_wq_mi_recv,4,2           ; @pn533_wq_mi_recv
	.comm	_pn533_wq_mi_send,4,2           ; @pn533_wq_mi_send
	.comm	_pn533_wq_tg_get_data,4,2       ; @pn533_wq_tg_get_data
	.comm	_pn533_wq_tm_mi_recv,4,2        ; @pn533_wq_tm_mi_recv
	.comm	_pn533_wq_tm_mi_send,4,2        ; @pn533_wq_tm_mi_send
	.comm	_pn533_wq_poll,4,2              ; @pn533_wq_poll
	.comm	_pn533_wq_rf,4,2                ; @pn533_wq_rf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pn533"

	.comm	_pn533_listen_mode_timer,4,2    ; @pn533_listen_mode_timer
	.comm	_pn533_nfc_ops,4,2              ; @pn533_nfc_ops
	.comm	_PN533_CMD_DATAEXCH_HEAD_LEN,8,3 ; @PN533_CMD_DATAEXCH_HEAD_LEN
.subsections_via_symbols
