	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5dr_icm_pool_chunk_size_to_byte
_mlx5dr_icm_pool_chunk_size_to_byte:    ## @mlx5dr_icm_pool_chunk_size_to_byte
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_DR_ICM_TYPE_STE@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_DR_STE_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_DR_MODIFY_ACTION_SIZE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ebx
	callq	_mlx5dr_icm_pool_chunk_size_to_entries
	imull	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DR_ICM_TYPE_STE,4,2            ## @DR_ICM_TYPE_STE
	.comm	_DR_STE_SIZE,4,2                ## @DR_STE_SIZE
	.comm	_DR_MODIFY_ACTION_SIZE,4,2      ## @DR_MODIFY_ACTION_SIZE
	.no_dead_strip	_mlx5dr_icm_pool_chunk_size_to_byte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5dr_icm_pool_chunk_size_to_byte
_mlx5dr_icm_pool_chunk_size_to_byte:    ; @mlx5dr_icm_pool_chunk_size_to_byte
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _DR_ICM_TYPE_STE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DR_ICM_TYPE_STE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DR_STE_SIZE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DR_STE_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x10, _DR_MODIFY_ACTION_SIZE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _DR_MODIFY_ACTION_SIZE@GOTPAGEOFF]
	cmp	w8, w1
	csel	x8, x9, x10, eq
	ldr	w19, [x8]
	bl	_mlx5dr_icm_pool_chunk_size_to_entries
	mul	w0, w19, w0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DR_ICM_TYPE_STE,4,2            ; @DR_ICM_TYPE_STE
	.comm	_DR_STE_SIZE,4,2                ; @DR_STE_SIZE
	.comm	_DR_MODIFY_ACTION_SIZE,4,2      ; @DR_MODIFY_ACTION_SIZE
	.no_dead_strip	_mlx5dr_icm_pool_chunk_size_to_byte
.subsections_via_symbols
