	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2400mu_rxd
_i2400mu_rxd:                           ## @i2400mu_rxd
	.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	%rdi, %r13
	leaq	48(%rdi), %rbx
	movq	8(%rdi), %r14
	movq	56(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdx
	movl	$4, %edi
	movq	%r14, %rsi
	movq	%r13, %rcx
	callq	_d_fnstart
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	xorl	%edi, %edi
	cmpq	$0, 16(%r13)
	setne	%dil
	callq	_BUG_ON
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r13)
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	leaq	36(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	24(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	$50, %edi
	callq	_msleep
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	$2, %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_d_printf
	movl	40(%r13), %r15d
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movb	$1, %al
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_atomic_read
	movq	%rax, %rbx
	testq	%rax, %rax
	setne	%al
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	%al, %esi
	movl	%r15d, %edi
	callq	_wait_event_interruptible
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testq	%rax, %rax
	jne	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %ebx
	movl	$2, %edi
	movq	%r14, %rsi
	leaq	L_.str.2(%rip), %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_d_printf
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	___netdev_alloc_skb
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rbx
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_i2400mu_rx
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_PTR_ERR
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_atomic_dec
	testq	%r12, %r12
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	incl	32(%r13)
	addl	%eax, 28(%r13)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_i2400m_rx
	movl	%eax, %r15d
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r15d, %eax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_EDC_MAX_ERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EDC_ERROR_TIMEFRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_edc_inc
	testq	%rax, %rax
	jne	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_i2400mu_rx_size_maybe_shrink
	movq	%rbx, %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_kfree_skb
	movq	%rbx, %r12
	jmp	LBB0_1
LBB0_15:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	8(%r13), %rdi
	callq	_usb_queue_reset_device
LBB0_16:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	$0, 16(%r13)
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	leaq	L_.str.4(%rip), %rdx
	movl	$4, %edi
	movq	%r14, %rsi
	movq	%r13, %rcx
	movl	%r15d, %r8d
	callq	_d_fnend
	movl	%r15d, %eax
	addq	$40, %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	"(i2400mu %p)\n"

	.comm	_current,8,3                    ## @current
L_.str.1:                               ## @.str.1
	.asciz	"RX: waiting for messages\n"

L_.str.2:                               ## @.str.2
	.asciz	"RX: reading up to %d bytes\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.3:                               ## @.str.3
	.asciz	"RX: can't allocate skb [%d bytes]\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_EDC_MAX_ERRORS,4,2             ## @EDC_MAX_ERRORS
	.comm	_EDC_ERROR_TIMEFRAME,4,2        ## @EDC_ERROR_TIMEFRAME
L_.str.4:                               ## @.str.4
	.asciz	"(i2400mu %p) = %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"RX: maximum errors in received buffer exceeded; resetting device\n"

	.no_dead_strip	_i2400mu_rxd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2400mu_rxd
_i2400mu_rxd:                           ; @i2400mu_rxd
	.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
	mov	x19, x0
	add	x21, x0, #48
	ldr	x20, [x0, #8]
	ldr	x22, [x0, #56]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #4
	mov	x1, x20
	mov	x3, x19
	bl	_d_fnstart
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w0, ne
	bl	_BUG_ON
Lloh2:
	adrp	x8, _current@GOTPAGE
Lloh3:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	add	x23, x19, #36
	add	x8, x19, #24
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh5:
	adrp	x25, l_.str.1@PAGE
Lloh6:
	add	x25, x25, l_.str.1@PAGEOFF
Lloh7:
	adrp	x27, _GFP_KERNEL@GOTPAGE
Lloh8:
	ldr	x27, [x27, _GFP_KERNEL@GOTPAGEOFF]
Lloh9:
	adrp	x26, l_.str.2@PAGE
Lloh10:
	add	x26, x26, l_.str.2@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	str	x24, [sp]
	mov	x0, x20
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
	mov	w0, #50
	bl	_msleep
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #2
	mov	x1, x20
	mov	x2, x25
	bl	_d_printf
	ldr	w24, [x19, #40]
	bl	_kthread_should_stop
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x28, #0
	mov	w1, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_atomic_read
	mov	x28, x0
	cmp	x0, #0
	cset	w1, ne
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x24
	bl	_wait_event_interruptible
	bl	_kthread_should_stop
	cbnz	x0, LBB0_15
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	x28, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w24, [x19]
	str	x24, [sp]
	mov	w0, #2
	mov	x1, x20
	mov	x2, x26
	bl	_d_printf
	ldr	w2, [x27]
	mov	x0, x22
	mov	x1, x24
	bl	___netdev_alloc_skb
	cbz	x0, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x1, x0
	mov	x0, x19
	bl	_i2400mu_rx
	mov	x24, x0
	bl	_PTR_ERR
	mov	x28, x0
	mov	x0, x24
	bl	_IS_ERR
	cbnz	x0, LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_atomic_dec
	cbz	x24, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x24]
	cbz	x8, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldur	d0, [x19, #28]
	movi.2s	v1, #1
	mov.s	v1[0], w8
	add.2s	v0, v0, v1
	stur	d0, [x19, #28]
	mov	x0, x21
	mov	x1, x24
	bl	_i2400m_rx
Lloh13:
	adrp	x8, _EIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x28, x0
Lloh16:
	adrp	x8, _EDC_MAX_ERRORS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EDC_MAX_ERRORS@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _EDC_ERROR_TIMEFRAME@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EDC_ERROR_TIMEFRAME@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_edc_inc
	cbnz	x0, LBB0_17
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_i2400mu_rx_size_maybe_shrink
	b	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x24
	bl	_kfree_skb
	b	LBB0_2
LBB0_15:
	mov	w28, #0
LBB0_16:
	mov	x0, x21
	bl	_spin_lock_irqsave
	str	xzr, [x19, #16]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
Lloh22:
	adrp	x2, l_.str.4@PAGE
Lloh23:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w0, #4
	mov	x1, x20
	mov	x3, x19
	mov	x4, x28
	bl	_d_fnend
	mov	x0, x28
	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
LBB0_17:
Lloh24:
	adrp	x1, l_.str.5@PAGE
Lloh25:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #8]
	bl	_usb_queue_reset_device
	b	LBB0_16
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(i2400mu %p)\n"

	.comm	_current,8,3                    ; @current
l_.str.1:                               ; @.str.1
	.asciz	"RX: waiting for messages\n"

l_.str.2:                               ; @.str.2
	.asciz	"RX: reading up to %d bytes\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.3:                               ; @.str.3
	.asciz	"RX: can't allocate skb [%d bytes]\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_EDC_MAX_ERRORS,4,2             ; @EDC_MAX_ERRORS
	.comm	_EDC_ERROR_TIMEFRAME,4,2        ; @EDC_ERROR_TIMEFRAME
l_.str.4:                               ; @.str.4
	.asciz	"(i2400mu %p) = %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"RX: maximum errors in received buffer exceeded; resetting device\n"

	.no_dead_strip	_i2400mu_rxd
.subsections_via_symbols
