	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_init_cmpt_table
_mlx4_init_cmpt_table:                  ## @mlx4_init_cmpt_table
	.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
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_mlx4_priv
	movq	_MLX4_CMPT_TYPE_QP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	imull	%r15d, %edx
	movq	_MLX4_CMPT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movq	%rax, %r12
	addl	%r14d, %edx
	movl	8(%rbx), %r8d
	movq	16(%rbx), %rax
	movq	_MLX4_QP_REGION_FW@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r9d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r15d, %ecx
	pushq	$0
	pushq	$0
	callq	_mlx4_init_icm_table
	addq	$16, %rsp
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movq	_MLX4_CMPT_TYPE_SRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	imull	%r15d, %edx
	movq	_MLX4_CMPT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movl	%r14d, %eax
	leaq	4(%r12), %r14
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	addl	%eax, %edx
	movl	24(%rbx), %r8d
	movl	28(%rbx), %r9d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %ecx
	pushq	$0
	pushq	$0
	callq	_mlx4_init_icm_table
	addq	$16, %rsp
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	_MLX4_CMPT_TYPE_CQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	imull	%r15d, %edx
	movq	_MLX4_CMPT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	leaq	8(%r12), %r14
	addl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	movl	32(%rbx), %r8d
	movl	36(%rbx), %r9d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %ecx
	pushq	$0
	pushq	$0
	callq	_mlx4_init_icm_table
	addq	$16, %rsp
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r8d
	leaq	12(%r12), %rsi
	movq	_MLX4_CMPT_TYPE_EQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	imull	%r15d, %edx
	movq	_MLX4_CMPT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	addl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	movq	%rbx, %rdi
	movl	%r15d, %ecx
	movl	%r8d, %r9d
	pushq	$0
	pushq	$0
	callq	_mlx4_init_icm_table
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_mlx4_cleanup_icm_table
LBB0_6:
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_mlx4_cleanup_icm_table
LBB0_7:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_mlx4_cleanup_icm_table
LBB0_8:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%r13d, %r13d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_CMPT_TYPE_QP,4,2          ## @MLX4_CMPT_TYPE_QP
	.comm	_MLX4_CMPT_SHIFT,4,2            ## @MLX4_CMPT_SHIFT
	.comm	_MLX4_QP_REGION_FW,8,3          ## @MLX4_QP_REGION_FW
	.comm	_MLX4_CMPT_TYPE_SRQ,4,2         ## @MLX4_CMPT_TYPE_SRQ
	.comm	_MLX4_CMPT_TYPE_CQ,4,2          ## @MLX4_CMPT_TYPE_CQ
	.comm	_MLX4_CMPT_TYPE_EQ,4,2          ## @MLX4_CMPT_TYPE_EQ
	.no_dead_strip	_mlx4_init_cmpt_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_init_cmpt_table
_mlx4_init_cmpt_table:                  ; @mlx4_init_cmpt_table
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_mlx4_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _MLX4_CMPT_TYPE_QP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX4_CMPT_TYPE_QP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mul	w8, w8, w21
Lloh3:
	adrp	x26, _MLX4_CMPT_SHIFT@GOTPAGE
Lloh4:
	ldr	x26, [x26, _MLX4_CMPT_SHIFT@GOTPAGEOFF]
	ldr	w9, [x26]
	lsl	w8, w8, w9
	add	w2, w8, w22
	ldr	w4, [x19, #8]
	ldr	x8, [x19, #16]
Lloh5:
	adrp	x9, _MLX4_QP_REGION_FW@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MLX4_QP_REGION_FW@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w5, [x8, x9, lsl #2]
	mov	x0, x19
	mov	x1, x20
	mov	x3, x21
	mov	w6, #0
	mov	w7, #0
	bl	_mlx4_init_icm_table
	mov	x25, x0
	cbnz	w0, LBB0_7
; %bb.1:
	add	x23, x20, #4
Lloh8:
	adrp	x8, _MLX4_CMPT_TYPE_SRQ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MLX4_CMPT_TYPE_SRQ@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	mul	w8, w8, w21
	ldr	w9, [x26]
	lsl	w8, w8, w9
	add	w2, w8, w22
	ldp	w4, w5, [x19, #24]
	mov	x0, x19
	mov	x1, x23
	mov	x3, x21
	mov	w6, #0
	mov	w7, #0
	bl	_mlx4_init_icm_table
	mov	x25, x0
	cbnz	w0, LBB0_6
; %bb.2:
	add	x24, x20, #8
Lloh11:
	adrp	x8, _MLX4_CMPT_TYPE_CQ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MLX4_CMPT_TYPE_CQ@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	mul	w8, w8, w21
	ldr	w9, [x26]
	lsl	w8, w8, w9
	add	w2, w8, w22
	ldp	w4, w5, [x19, #32]
	mov	x0, x19
	mov	x1, x24
	mov	x3, x21
	mov	w6, #0
	mov	w7, #0
	bl	_mlx4_init_icm_table
	mov	x25, x0
	cbnz	w0, LBB0_5
; %bb.3:
	ldr	w4, [x19]
Lloh14:
	adrp	x8, _MLX4_CMPT_TYPE_EQ@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MLX4_CMPT_TYPE_EQ@GOTPAGEOFF]
	add	x1, x20, #12
Lloh16:
	ldr	w8, [x8]
	mul	w8, w8, w21
	ldr	w9, [x26]
	lsl	w8, w8, w9
	add	w2, w8, w22
	mov	x0, x19
	mov	x3, x21
	mov	x5, x4
	mov	w6, #0
	mov	w7, #0
	bl	_mlx4_init_icm_table
	mov	x25, x0
	cbz	w0, LBB0_7
; %bb.4:
	mov	x0, x19
	mov	x1, x24
	bl	_mlx4_cleanup_icm_table
LBB0_5:
	mov	x0, x19
	mov	x1, x23
	bl	_mlx4_cleanup_icm_table
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	bl	_mlx4_cleanup_icm_table
LBB0_7:
	mov	x0, x25
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_CMPT_TYPE_QP,4,2          ; @MLX4_CMPT_TYPE_QP
	.comm	_MLX4_CMPT_SHIFT,4,2            ; @MLX4_CMPT_SHIFT
	.comm	_MLX4_QP_REGION_FW,8,3          ; @MLX4_QP_REGION_FW
	.comm	_MLX4_CMPT_TYPE_SRQ,4,2         ; @MLX4_CMPT_TYPE_SRQ
	.comm	_MLX4_CMPT_TYPE_CQ,4,2          ; @MLX4_CMPT_TYPE_CQ
	.comm	_MLX4_CMPT_TYPE_EQ,4,2          ; @MLX4_CMPT_TYPE_EQ
	.no_dead_strip	_mlx4_init_cmpt_table
.subsections_via_symbols
