	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2400m_rx                      ## -- Begin function i2400m_rx
	.p2align	4, 0x90
_i2400m_rx:                             ## @i2400m_rx
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_i2400m_dev
	movq	%rax, %r12
	movl	(%rbx), %r14d
	leaq	L_.str(%rip), %rdx
	movl	$4, %edi
	movq	%rax, %rsi
	movq	%r13, %rcx
	movq	%rbx, %r8
	movl	%r14d, %r9d
	callq	_d_fnstart
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r15
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_i2400m_rx_msg_hdr_check
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movl	8(%r15), %edi
	callq	_le16_to_cpu
	movl	%eax, %edx
	movq	_pld@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_struct_size
	movq	_I2400M_PL_ALIGN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_ALIGN
	movq	%rax, %r12
	cmpq	%r14, %rax
	jbe	LBB0_3
## %bb.18:
	leaq	L_.str.1(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	$4, %r8d
	movq	%r12, %r9
	movq	%rdi, %r12
	callq	_dev_err
	jmp	LBB0_17
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_17
LBB0_3:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	-1(%rax), %ecx
	movl	%eax, %eax
	shlq	$2, %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	%r13, %rdi
	callq	_i2400m_pld_size
	movq	%rax, %r14
	movq	(%r15), %rsi
	addq	%r13, %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_i2400m_rx_pl_descr_check
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$1, -56(%rbp)                   ## 4-byte Folded Reload
	sete	%al
	cmpq	%r13, -96(%rbp)                 ## 8-byte Folded Reload
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edx
	movq	(%r15), %rcx
	addq	%r13, %rcx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	8(%rsi), %r8
	addq	%r12, %r8
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_i2400m_rx_payload
	movq	_I2400M_PL_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ALIGN
	addq	%rax, %r12
	xorl	%eax, %eax
	callq	_cond_resched
	addq	$4, %r13
	cmpq	%r13, -88(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_5
LBB0_8:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree_skb
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	leaq	24(%r13), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, (%r13)
	cmpl	4(%r13), %eax
	jle	LBB0_10
## %bb.9:
	movl	%eax, 4(%r13)
LBB0_10:
	cmpl	8(%r13), %eax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jge	LBB0_12
## %bb.11:
	movl	%eax, 8(%r13)
LBB0_12:
	incl	28(%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, 12(%r13)
	cmpl	16(%r13), %eax
	jae	LBB0_14
## %bb.13:
	movl	%eax, 16(%r13)
LBB0_14:
	cmpl	20(%r13), %eax
	jbe	LBB0_16
## %bb.15:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 20(%r13)
LBB0_16:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_6:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
LBB0_17:
	movl	%ebx, (%rsp)
	leaq	L_.str.2(%rip), %rdx
	movl	$4, %edi
	movq	%r12, %rsi
	movq	%r13, %rcx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movl	%r14d, %r9d
	callq	_d_fnend
	movl	%ebx, %eax
	addq	$72, %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	"(i2400m %p skb %p [size %u])\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_pld,4,2                        ## @pld
	.comm	_I2400M_PL_ALIGN,4,2            ## @I2400M_PL_ALIGN
L_.str.1:                               ## @.str.1
	.asciz	"RX: HW BUG? message too short (%u bytes) for %u payload descriptors (%zu each, total %zu)\n"

L_.str.2:                               ## @.str.2
	.asciz	"(i2400m %p skb %p [size %u]) = %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2400m_rx                      ; -- Begin function i2400m_rx
	.p2align	2
_i2400m_rx:                             ; @i2400m_rx
	.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, x1
	mov	x20, x0
	bl	_i2400m_dev
	mov	x22, x0
	ldr	w21, [x19]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #4
	mov	x1, x22
	mov	x3, x20
	mov	x4, x19
	mov	x5, x21
	bl	_d_fnstart
	ldr	x25, [x19, #8]
	mov	x0, x20
	mov	x1, x25
	mov	x2, x21
	bl	_i2400m_rx_msg_hdr_check
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _EIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w23, w8
	ldr	w0, [x25, #8]
	bl	_le16_to_cpu
	mov	x24, x0
Lloh5:
	adrp	x8, _pld@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pld@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x25
	mov	x2, x24
	bl	_struct_size
Lloh8:
	adrp	x8, _I2400M_PL_ALIGN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _I2400M_PL_ALIGN@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_ALIGN
	mov	x26, x0
	cmp	x0, x21
	b.ls	LBB0_4
; %bb.2:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x2, x21
	mov	x3, x24
	mov	w4, #4
	mov	x5, x26
	bl	_dev_err
	b	LBB0_18
LBB0_3:
	mov	x23, x0
	b	LBB0_18
LBB0_4:
	str	x22, [sp]                       ; 8-byte Folded Spill
	cbz	w24, LBB0_8
; %bb.5:
	mov	x22, #0
	mov	w8, w24
	sub	w9, w24, #1
	lsl	x9, x9, #2
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	lsl	x28, x8, #2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	add	x0, x8, x22
	bl	_i2400m_pld_size
	mov	x27, x0
	ldr	x8, [x25]
	add	x1, x8, x22
	mov	x0, x20
	mov	x2, x26
	mov	x3, x21
	bl	_i2400m_rx_pl_descr_check
	mov	x23, x0
	tbnz	w0, #31, LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w24, #1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ccmp	x8, x22, #4, ne
	cset	w2, eq
	ldr	x8, [x25]
	add	x3, x8, x22
	ldr	x8, [x19, #8]
	add	x4, x8, x26
	mov	x0, x20
	mov	x1, x19
	bl	_i2400m_rx_payload
Lloh13:
	adrp	x8, _I2400M_PL_ALIGN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _I2400M_PL_ALIGN@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x27
	bl	_ALIGN
	add	x26, x0, x26
	bl	_cond_resched
	add	x22, x22, #4
	cmp	x28, x22
	b.ne	LBB0_6
LBB0_8:
	mov	x0, x19
	bl	_kfree_skb
	add	x25, x20, #24
	mov	x0, x25
	bl	_spin_lock_irqsave
	ldp	w8, w9, [x20]
	add	w8, w8, w24
	str	w8, [x20]
	cmp	w24, w9
	b.le	LBB0_10
; %bb.9:
	str	w24, [x20, #4]
LBB0_10:
	ldr	w8, [x20, #8]
	cmp	w24, w8
	b.ge	LBB0_12
; %bb.11:
	str	w24, [x20, #8]
LBB0_12:
	ldr	w8, [x20, #28]
	add	w8, w8, #1
	str	w8, [x20, #28]
	ldp	w8, w9, [x20, #12]
	add	w8, w8, w21
	str	w8, [x20, #12]
	cmp	w21, w9
	ldr	x22, [sp]                       ; 8-byte Folded Reload
	b.hs	LBB0_14
; %bb.13:
	str	w21, [x20, #16]
LBB0_14:
	ldr	w8, [x20, #20]
	cmp	w21, w8
	b.ls	LBB0_16
; %bb.15:
	str	w21, [x20, #20]
LBB0_16:
	mov	x0, x25
	bl	_spin_unlock_irqrestore
	b	LBB0_18
LBB0_17:
	ldr	x22, [sp]                       ; 8-byte Folded Reload
LBB0_18:
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w0, #4
	mov	x1, x22
	mov	x3, x20
	mov	x4, x19
	mov	x5, x21
	mov	x6, x23
	bl	_d_fnend
	mov	x0, x23
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(i2400m %p skb %p [size %u])\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_pld,4,2                        ; @pld
	.comm	_I2400M_PL_ALIGN,4,2            ; @I2400M_PL_ALIGN
l_.str.1:                               ; @.str.1
	.asciz	"RX: HW BUG? message too short (%u bytes) for %u payload descriptors (%zu each, total %zu)\n"

l_.str.2:                               ; @.str.2
	.asciz	"(i2400m %p skb %p [size %u]) = %d\n"

.subsections_via_symbols
