	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5dr_send_postsend_formatted_htbl ## -- Begin function mlx5dr_send_postsend_formatted_htbl
	.p2align	4, 0x90
_mlx5dr_send_postsend_formatted_htbl:   ## @mlx5dr_send_postsend_formatted_htbl
	.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
	movl	%ecx, %r15d
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	16(%rsi), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	leaq	-64(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	leaq	-48(%rbp), %r8
	leaq	-44(%rbp), %r9
	callq	_dr_get_tbl_copy_details
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.1:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	cmpl	$0, -44(%rbp)
	jle	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	movq	_DR_STE_SIZE@GOTPCREL(%rip), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	cmpl	-44(%rbp), %ebx
	jge	LBB0_6
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edx
	movl	%edx, %eax
	imull	%ebx, %eax
	movslq	%eax, %rdi
	shlq	$2, %rdi
	addq	-64(%rbp), %rdi
	movq	%r13, %rsi
	callq	_memcpy
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_DR_STE_SIZE_REDUCED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %eax
	imull	%ebx, %eax
	movslq	%eax, %rdi
	shlq	$2, %rdi
	addq	(%r12), %rdi
	movq	%r13, %rsi
	callq	_memcpy
	jmp	LBB0_3
LBB0_6:
	cmpl	$0, -48(%rbp)
	jle	LBB0_11
## %bb.7:
	xorl	%ebx, %ebx
	movq	_DR_STE_SIZE@GOTPCREL(%rip), %r13
	leaq	-112(%rbp), %r15
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	-52(%rbp), %ecx
	movl	%ecx, %eax
	cltd
	idivl	(%r13)
	imull	%ebx, %eax
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -96(%rbp)
	movq	-64(%rbp), %rdx
	movq	%rdx, -104(%rbp)
	movl	%ecx, -96(%rbp)
	addl	8(%r12), %eax
	movl	%eax, %edi
	callq	_mlx5dr_ste_get_mr_addr
	movl	%eax, -108(%rbp)
	movq	16(%r12), %rax
	movl	4(%rax), %eax
	movl	%eax, -112(%rbp)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_dr_postsend_icm_data
	testl	%eax, %eax
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incl	%ebx
	cmpl	-48(%rbp), %ebx
	jl	LBB0_8
LBB0_11:
	xorl	%r14d, %r14d
	jmp	LBB0_13
LBB0_12:
	movl	%eax, %r14d
LBB0_13:
	movq	-64(%rbp), %rdi
	callq	_kfree
LBB0_14:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DR_STE_SIZE,4,2                ## @DR_STE_SIZE
	.comm	_DR_STE_SIZE_REDUCED,4,2        ## @DR_STE_SIZE_REDUCED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5dr_send_postsend_formatted_htbl ; -- Begin function mlx5dr_send_postsend_formatted_htbl
	.p2align	2
_mlx5dr_send_postsend_formatted_htbl:   ; @mlx5dr_send_postsend_formatted_htbl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #16]
	ldr	w8, [x8]
	str	w8, [sp, #60]
	add	x2, sp, #40
	add	x3, sp, #60
	add	x4, sp, #56
	add	x5, sp, #52
	bl	_dr_get_tbl_copy_details
	mov	x23, x0
	cbnz	w0, LBB0_13
; %bb.1:
	ldr	w8, [sp, #52]
Lloh0:
	adrp	x24, _DR_STE_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _DR_STE_SIZE@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	w23, #0
Lloh2:
	adrp	x25, _DR_STE_SIZE_REDUCED@GOTPAGE
Lloh3:
	ldr	x25, [x25, _DR_STE_SIZE_REDUCED@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #1
	ldr	w8, [sp, #52]
	cmp	w23, w8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #40]
	ldr	w2, [x24]
	mul	w9, w2, w23
	add	x0, x8, w9, sxtw #2
	mov	x1, x22
	bl	_memcpy
	cbz	w21, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	ldr	w2, [x25]
	mul	w9, w2, w23
	add	x0, x8, w9, sxtw #2
	mov	x1, x22
	bl	_memcpy
	b	LBB0_3
LBB0_6:
	ldr	w8, [sp, #56]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.7:
	mov	w21, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #60]
	ldr	w9, [x24]
	sdiv	w9, w8, w9
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #8]
	stur	q0, [sp, #24]
	ldr	x10, [sp, #40]
	str	x10, [sp, #16]
	str	w8, [sp, #24]
	ldr	w8, [x19, #8]
	madd	w0, w9, w21, w8
	bl	_mlx5dr_ste_get_mr_addr
	str	w0, [sp, #12]
	ldr	x8, [x19, #16]
	ldr	w8, [x8, #4]
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_dr_postsend_icm_data
	cbnz	w0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w21, w21, #1
	ldr	w8, [sp, #56]
	cmp	w21, w8
	b.lt	LBB0_8
LBB0_10:
	mov	w23, #0
	b	LBB0_12
LBB0_11:
	mov	x23, x0
LBB0_12:
	ldr	x0, [sp, #40]
	bl	_kfree
LBB0_13:
	mov	x0, x23
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_DR_STE_SIZE,4,2                ; @DR_STE_SIZE
	.comm	_DR_STE_SIZE_REDUCED,4,2        ; @DR_STE_SIZE_REDUCED
.subsections_via_symbols
