	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_init_rx_desc
_mlx4_en_init_rx_desc:                  ## @mlx4_en_init_rx_desc
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	8(%rsi), %rdi
	movl	(%rsi), %eax
	imull	%eax, %edx
	movslq	%edx, %rbx
	movl	(%r13), %r12d
	testl	%r12d, %r12d
	jle	LBB0_4
## %bb.1:
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	movl	(%rax,%r15,4), %edi
	callq	_cpu_to_be32
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12,%rbx,8), %rcx
	movq	%rax, 16(%rcx,%r14)
	movq	8(%r13), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be32
	movq	(%r12,%rbx,8), %rcx
	movq	%rax, 8(%rcx,%r14)
	incq	%r15
	movslq	(%r13), %r12
	addq	$24, %r14
	cmpq	%r12, %r15
	jl	LBB0_2
## %bb.3:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_4:
	cltq
	addq	$-8, %rax
	movq	_DS_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	movq	%rbx, %r15
	movq	%rdi, %rbx
	shrq	$32, %rdx
	je	LBB0_5
## %bb.6:
	xorl	%edx, %edx
	divq	%rcx
	movq	%rax, %r14
	cmpl	%r14d, %r12d
	jl	LBB0_8
	jmp	LBB0_10
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %r14d
	cmpl	%r14d, %r12d
	jge	LBB0_10
LBB0_8:
	movq	%rbx, %r13
	movslq	%r12d, %rax
	movq	(%rbx,%r15,8), %rcx
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %rbx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, 16(%rcx,%rbx)
	movq	_MLX4_EN_MEMTYPE_PAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be32
	movq	(%r13,%r15,8), %rcx
	movq	%rax, 8(%rcx,%rbx)
	movq	$0, (%rcx,%rbx)
	addq	$24, %rbx
	incl	%r12d
	cmpl	%r14d, %r12d
	jne	LBB0_9
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DS_SIZE,4,2                    ## @DS_SIZE
	.comm	_MLX4_EN_MEMTYPE_PAD,4,2        ## @MLX4_EN_MEMTYPE_PAD
	.no_dead_strip	_mlx4_en_init_rx_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_init_rx_desc
_mlx4_en_init_rx_desc:                  ; @mlx4_en_init_rx_desc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x21, [x1, #8]
	ldr	w8, [x1]
	mul	w9, w8, w2
	sxtw	x22, w9
	ldr	w23, [x0]
	cmp	w23, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x24, #0
	mov	x25, #0
	lsl	x26, x22, #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	w0, [x8, x25, lsl #2]
	bl	_cpu_to_be32
	ldr	x8, [x21, x26]
	add	x8, x8, x24
	str	x0, [x8, #16]
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_cpu_to_be32
	ldr	x8, [x21, x26]
	add	x8, x8, x24
	str	x0, [x8, #8]
	add	x25, x25, #1
	ldrsw	x23, [x20]
	add	x24, x24, #24
	cmp	x25, x23
	b.lt	LBB0_2
; %bb.3:
	ldr	w8, [x19]
LBB0_4:
	sxtw	x8, w8
	sub	x8, x8, #8
Lloh0:
	adrp	x9, _DS_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DS_SIZE@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	udiv	x19, x8, x9
	cmp	w23, w19
	b.ge	LBB0_7
; %bb.5:
	ldr	x8, [x21, x22, lsl #3]
	mov	w9, #24
	smull	x20, w23, w9
Lloh3:
	adrp	x24, _MLX4_EN_MEMTYPE_PAD@GOTPAGE
Lloh4:
	ldr	x24, [x24, _MLX4_EN_MEMTYPE_PAD@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x20
	str	xzr, [x8, #16]
	ldr	w0, [x24]
	bl	_cpu_to_be32
	ldr	x8, [x21, x22, lsl #3]
	add	x9, x8, x20
	stp	xzr, x0, [x9]
	add	x20, x20, #24
	add	w23, w23, #1
	cmp	w23, w19
	b.ne	LBB0_6
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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DS_SIZE,4,2                    ; @DS_SIZE
	.comm	_MLX4_EN_MEMTYPE_PAD,4,2        ; @MLX4_EN_MEMTYPE_PAD
	.no_dead_strip	_mlx4_en_init_rx_desc
.subsections_via_symbols
