	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mthca_free_icms
_mthca_free_icms:                       ## @mthca_free_icms
	.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	%rdi, %rbx
	movl	36(%rdi), %esi
	callq	_mthca_free_icm_table
	movq	_MTHCA_FLAG_SRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movl	32(%rbx), %esi
	movq	%rbx, %rdi
	callq	_mthca_free_icm_table
LBB0_2:
	movl	28(%rbx), %esi
	movq	%rbx, %rdi
	callq	_mthca_free_icm_table
	movl	24(%rbx), %esi
	movq	%rbx, %rdi
	callq	_mthca_free_icm_table
	movl	20(%rbx), %esi
	movq	%rbx, %rdi
	callq	_mthca_free_icm_table
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	callq	_mthca_free_icm_table
	movl	12(%rbx), %esi
	movq	%rbx, %rdi
	callq	_mthca_free_icm_table
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	callq	_mthca_free_icm_table
	movq	%rbx, %rdi
	callq	_mthca_unmap_eq_icm
	movq	%rbx, %rdi
	callq	_mthca_UNMAP_ICM_AUX
	movl	4(%rbx), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mthca_free_icm                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MTHCA_FLAG_SRQ,4,2             ## @MTHCA_FLAG_SRQ
	.no_dead_strip	_mthca_free_icms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mthca_free_icms
_mthca_free_icms:                       ; @mthca_free_icms
	.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, x0
	ldr	w1, [x0, #36]
	bl	_mthca_free_icm_table
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _MTHCA_FLAG_SRQ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MTHCA_FLAG_SRQ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x19, #32]
	mov	x0, x19
	bl	_mthca_free_icm_table
LBB0_2:
	ldr	w1, [x19, #28]
	mov	x0, x19
	bl	_mthca_free_icm_table
	ldr	w1, [x19, #24]
	mov	x0, x19
	bl	_mthca_free_icm_table
	ldr	w1, [x19, #20]
	mov	x0, x19
	bl	_mthca_free_icm_table
	ldr	w1, [x19, #16]
	mov	x0, x19
	bl	_mthca_free_icm_table
	ldr	w1, [x19, #12]
	mov	x0, x19
	bl	_mthca_free_icm_table
	ldr	w1, [x19, #8]
	mov	x0, x19
	bl	_mthca_free_icm_table
	mov	x0, x19
	bl	_mthca_unmap_eq_icm
	mov	x0, x19
	bl	_mthca_UNMAP_ICM_AUX
	ldr	w1, [x19, #4]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mthca_free_icm
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MTHCA_FLAG_SRQ,4,2             ; @MTHCA_FLAG_SRQ
	.no_dead_strip	_mthca_free_icms
.subsections_via_symbols
