	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5dr_ste_build_ste_arr       ## -- Begin function mlx5dr_ste_build_ste_arr
	.p2align	4, 0x90
_mlx5dr_ste_build_ste_arr:              ## @mlx5dr_ste_build_ste_arr
	.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	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rdx
	movq	16(%rsi), %rax
	movq	(%rax), %r14
	movq	8(%rdi), %rax
	movq	(%rax), %r13
	movl	4(%rdi), %esi
	movq	%r13, %rdi
	movq	%r12, %rcx
	callq	_mlx5dr_ste_build_pre_check
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	cmpl	$0, (%r15)
	jle	LBB0_7
## %bb.2:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %r13
	xorl	%r14d, %r14d
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_DR_STE_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	(%rbx,%rcx,4), %rbx
	incl	%r14d
	cmpl	%eax, %r14d
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r13), %esi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_mlx5dr_ste_init
	movl	16(%r13), %esi
	movq	%rbx, %rdi
	callq	_mlx5dr_ste_set_bit_mask
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	*(%r13)
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %eax
	leal	-1(%rax), %ecx
	cmpl	%ecx, %r14d
	jge	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	24(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_ste_general@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_next_lu_type@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	36(%r13), %ecx
	movq	%rbx, %rsi
	callq	_MLX5_SET
	movl	(%r12), %edi
	movq	_byte_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	32(%r13), %ecx
	movq	%rbx, %rsi
	callq	_MLX5_SET
	movl	(%r15), %eax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ste_general,4,2                ## @ste_general
	.comm	_next_lu_type,4,2               ## @next_lu_type
	.comm	_byte_mask,4,2                  ## @byte_mask
	.comm	_DR_STE_SIZE,4,2                ## @DR_STE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5dr_ste_build_ste_arr       ; -- Begin function mlx5dr_ste_build_ste_arr
	.p2align	2
_mlx5dr_ste_build_ste_arr:              ; @mlx5dr_ste_build_ste_arr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x2, x0
	ldr	x8, [x1, #16]
	ldr	x24, [x8]
	ldr	x8, [x0, #8]
	ldr	x22, [x8]
	ldr	w1, [x0, #4]
	mov	x0, x22
	mov	x3, x20
	bl	_mlx5dr_ste_build_pre_check
	cbnz	w0, LBB0_8
; %bb.1:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	w25, #0
	ldr	x23, [x21, #8]
Lloh0:
	adrp	x26, _ste_general@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ste_general@GOTPAGEOFF]
Lloh2:
	adrp	x27, _DR_STE_SIZE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _DR_STE_SIZE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x9, [x27]
	add	x19, x19, x9, lsl #2
	add	w25, w25, #1
	cmp	w25, w8
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23, #12]
	ldr	w2, [x24]
	ldr	w3, [x22]
	mov	x0, x19
	bl	_mlx5dr_ste_init
	ldr	w1, [x23, #16]
	mov	x0, x19
	bl	_mlx5dr_ste_set_bit_mask
	ldr	x8, [x23]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	blr	x8
	cbnz	w0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21]
	sub	w9, w8, #1
	cmp	w25, w9
	b.ge	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x28, x23, #24
	ldr	w0, [x26]
Lloh4:
	adrp	x8, _next_lu_type@GOTPAGE
Lloh5:
	ldr	x8, [x8, _next_lu_type@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	ldr	w3, [x23, #36]
	mov	x1, x19
	bl	_MLX5_SET
	ldr	w0, [x26]
Lloh7:
	adrp	x8, _byte_mask@GOTPAGE
Lloh8:
	ldr	x8, [x8, _byte_mask@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	ldr	w3, [x23, #32]
	mov	x1, x19
	bl	_MLX5_SET
	ldr	w8, [x21]
	mov	x23, x28
	b	LBB0_3
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ste_general,4,2                ; @ste_general
	.comm	_next_lu_type,4,2               ; @next_lu_type
	.comm	_byte_mask,4,2                  ; @byte_mask
	.comm	_DR_STE_SIZE,4,2                ; @DR_STE_SIZE
.subsections_via_symbols
