	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2400m_rx_setup                ## -- Begin function i2400m_rx_setup
	.p2align	4, 0x90
_i2400m_rx_setup:                       ## @i2400m_rx_setup
	.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	_i2400m_rx_reorder_disabled@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	cmpq	$0, (%rax)
	sete	%cl
	movl	%ecx, (%rdi)
	je	LBB0_1
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r15
	movq	_ENOMEM@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	_I2400M_RO_CIN@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	incl	%edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	(%r12), %edi
	incl	%edi
	movl	(%r13), %edx
	movl	$4, %esi
	callq	_kcalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	cmpl	$-1, (%r12)
	je	LBB0_7
## %bb.5:
	movq	%rax, %r13
	movq	8(%r15), %rdi
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	addq	%rbx, %rdi
	callq	___i2400m_roq_init
	movq	8(%r15), %rdi
	movq	%r13, (%rdi,%rbx)
	incq	%r14
	movl	(%r12), %eax
	incl	%eax
	addq	$8, %rbx
	addq	$4, %r13
	cmpq	%rax, %r14
	jb	LBB0_6
LBB0_7:
	addq	$16, %r15
	movq	%r15, %rdi
	callq	_kref_init
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_2:
	negl	%ebx
	jmp	LBB0_9
LBB0_8:
	xorl	%ebx, %ebx
	subl	(%r14), %ebx
	movq	8(%r15), %rdi
	callq	_kfree
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_i2400m_rx_reorder_disabled,8,3 ## @i2400m_rx_reorder_disabled
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_I2400M_RO_CIN,4,2              ## @I2400M_RO_CIN
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2400m_rx_setup                ; -- Begin function i2400m_rx_setup
	.p2align	2
_i2400m_rx_setup:                       ; @i2400m_rx_setup
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _i2400m_rx_reorder_disabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _i2400m_rx_reorder_disabled@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w9, eq
	str	w9, [x0]
	cbz	x8, LBB0_3
LBB0_1:
	mov	w20, #0
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x19, x0
Lloh3:
	adrp	x22, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ENOMEM@GOTPAGEOFF]
Lloh5:
	adrp	x21, _I2400M_RO_CIN@GOTPAGE
Lloh6:
	ldr	x21, [x21, _I2400M_RO_CIN@GOTPAGEOFF]
	ldr	w20, [x22]
	ldr	w8, [x21]
	add	w0, w8, #1
Lloh7:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh8:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w1, #8
	bl	_kcalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_9
; %bb.4:
	ldr	w8, [x21]
	add	w0, w8, #1
	ldr	w2, [x23]
	mov	w1, #4
	bl	_kcalloc
	cbz	x0, LBB0_10
; %bb.5:
	ldr	w8, [x21]
	cmn	w8, #1
	b.eq	LBB0_8
; %bb.6:
	mov	x20, x0
	mov	x22, #0
	mov	x23, #0
	ldr	x8, [x19, #8]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x8, x22
	bl	___i2400m_roq_init
	ldr	x8, [x19, #8]
	str	x20, [x8, x22]
	add	x23, x23, #1
	ldr	w9, [x21]
	add	w9, w9, #1
	add	x22, x22, #8
	add	x20, x20, #4
	cmp	x23, x9
	b.lo	LBB0_7
LBB0_8:
	add	x0, x19, #16
	bl	_kref_init
	b	LBB0_1
LBB0_9:
	neg	w20, w20
	b	LBB0_2
LBB0_10:
	ldr	w8, [x22]
	neg	w20, w8
	ldr	x0, [x19, #8]
	bl	_kfree
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_i2400m_rx_reorder_disabled,8,3 ; @i2400m_rx_reorder_disabled
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_I2400M_RO_CIN,4,2              ; @I2400M_RO_CIN
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
