	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfcsim_send
_nfcsim_send:                           ## @nfcsim_send
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rsi, %r15
	callq	_nfc_digital_get_drvdata
	movq	%rax, %rbx
	cmpl	$0, 48(%rax)
	je	LBB0_1
## %bb.2:
	movl	%r13d, 44(%rbx)
	movl	%r12d, 40(%rbx)
	movq	%r14, 32(%rbx)
	movq	%rbx, %rdi
	addq	$24, %rdi
	callq	_schedule_work
	movq	16(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_NFCSIM_DBG
	movq	%r15, %rdi
	callq	_dev_kfree_skb
	decq	16(%rbx)
	xorl	%r14d, %r14d
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_NFCSIM_ERR
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_6
LBB0_4:
	xorl	%r14d, %r14d
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:
	movl	12(%rbx), %edi
	movl	4(%rbx), %ecx
	movl	8(%rbx), %edx
	movq	%r15, %rsi
	callq	_nfcsim_link_set_skb
	leaq	-44(%rbp), %rdi
	movl	$1, %esi
	callq	_get_random_bytes
	movl	-44(%rbp), %edi
	andl	$7, %edi
	addl	$3, %edi
	movl	%edi, -44(%rbp)
	callq	_msecs_to_jiffies
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_schedule_delayed_work
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Device is down\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"dropping frame (out of %d)\n"

	.no_dead_strip	_nfcsim_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfcsim_send
_nfcsim_send:                           ; @nfcsim_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	bl	_nfc_digital_get_drvdata
	mov	x19, x0
	ldr	w8, [x0, #48]
	cbz	w8, LBB0_3
; %bb.1:
	stp	w22, w23, [x19, #40]
	add	x0, x19, #24
	str	x21, [x19, #32]
	bl	_schedule_work
	ldr	x2, [x19, #16]
	cbz	x2, LBB0_4
; %bb.2:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_NFCSIM_DBG
	mov	x0, x20
	bl	_dev_kfree_skb
	mov	w0, #0
	ldr	x8, [x19, #16]
	sub	x8, x8, #1
	str	x8, [x19, #16]
	b	LBB0_7
LBB0_3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_NFCSIM_ERR
Lloh4:
	adrp	x8, _ENODEV@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_4:
	cbz	x20, LBB0_6
; %bb.5:
	ldp	w2, w0, [x19, #8]
	ldr	w3, [x19, #4]
	mov	x1, x20
	bl	_nfcsim_link_set_skb
	add	x0, sp, #12
	mov	w1, #1
	bl	_get_random_bytes
	ldr	w8, [sp, #12]
	and	w8, w8, #0x7
	add	w0, w8, #3
	str	w0, [sp, #12]
	bl	_msecs_to_jiffies
	mov	x1, x0
	mov	x0, x19
	bl	_schedule_delayed_work
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Device is down\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"dropping frame (out of %d)\n"

	.no_dead_strip	_nfcsim_send
.subsections_via_symbols
