	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dr_icm_bucket_init
_dr_icm_bucket_init:                    ## @dr_icm_bucket_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	_DR_ICM_TYPE_STE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %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), %eax
	movl	%eax, 36(%rbx)
	movl	%edx, %edi
	callq	_mlx5dr_icm_pool_chunk_size_to_entries
	movl	%eax, 32(%rbx)
	movq	%r14, 24(%rbx)
	leaq	16(%rbx), %rdi
	callq	_mutex_init
	leaq	12(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	8(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	4(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_INIT_LIST_HEAD                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DR_ICM_TYPE_STE,8,3            ## @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	_dr_icm_bucket_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dr_icm_bucket_init
_dr_icm_bucket_init:                    ; @dr_icm_bucket_init
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _DR_ICM_TYPE_STE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DR_ICM_TYPE_STE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _DR_STE_SIZE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DR_STE_SIZE@GOTPAGEOFF]
Lloh5:
	adrp	x11, _DR_MODIFY_ACTION_SIZE@GOTPAGE
Lloh6:
	ldr	x11, [x11, _DR_MODIFY_ACTION_SIZE@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [x1, #36]
	mov	x0, x2
	bl	_mlx5dr_icm_pool_chunk_size_to_entries
	str	w0, [x19, #32]
	str	x20, [x19, #24]
	add	x0, x19, #16
	bl	_mutex_init
	add	x0, x19, #12
	bl	_INIT_LIST_HEAD
	add	x0, x19, #8
	bl	_INIT_LIST_HEAD
	add	x0, x19, #4
	bl	_INIT_LIST_HEAD
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_INIT_LIST_HEAD
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DR_ICM_TYPE_STE,8,3            ; @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	_dr_icm_bucket_init
.subsections_via_symbols
