	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mthca_init_icm
_mthca_init_icm:                        ## @mthca_init_icm
	.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
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	leaq	-48(%rbp), %rdx
	movq	%rcx, %rsi
	callq	_mthca_SET_ICM_SIZE
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r13d
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_mthca_err
	jmp	LBB0_35
LBB0_2:
	shrq	$10, %rbx
	movq	-48(%rbp), %rcx
	shlq	$2, %rcx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_mthca_dbg
	movq	-48(%rbp), %rsi
	movq	_GFP_HIGHUSER@GOTPCREL(%rip), %rax
	movq	___GFP_NOWARN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	_mthca_alloc_icm
	movl	%eax, 4(%r12)
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_mthca_MAP_ICM_AUX
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r13d
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_mthca_err
	jmp	LBB0_34
LBB0_3:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_mthca_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_35
LBB0_6:
	movl	32(%r14), %esi
	movq	%r12, %rdi
	callq	_mthca_map_eq_icm
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %r13d
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_mthca_err
	jmp	LBB0_33
LBB0_8:
	movl	84(%r12), %ebx
	imull	80(%r12), %ebx
	xorl	%eax, %eax
	callq	_dma_get_cache_alignment
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ALIGN
	movl	84(%r12), %ebx
	movl	88(%r12), %ecx
	cltd
	idivl	%ebx
	movl	%eax, 80(%r12)
	movl	28(%r14), %esi
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movl	%ebx, %edx
	movl	%eax, %r8d
	movl	$1, %r9d
	callq	_mthca_alloc_icm_table
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movl	24(%r14), %esi
	movl	(%r15), %edx
	movl	92(%r12), %ecx
	movl	96(%r12), %r8d
	movl	$1, (%rsp)
	movq	%r12, %rdi
	movl	$1, %r9d
	callq	_mthca_alloc_icm_table
	movq	%rax, 16(%r12)
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movl	20(%r14), %esi
	movl	4(%r15), %edx
	movl	100(%r12), %ecx
	movl	104(%r12), %r8d
	movl	$0, (%rsp)
	movq	%r12, %rdi
	xorl	%r9d, %r9d
	callq	_mthca_alloc_icm_table
	movq	%rax, 32(%r12)
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movl	16(%r14), %esi
	movl	8(%r15), %edx
	movl	100(%r12), %ecx
	movl	104(%r12), %r8d
	movl	$0, (%rsp)
	movq	%r12, %rdi
	xorl	%r9d, %r9d
	callq	_mthca_alloc_icm_table
	movq	%rax, 40(%r12)
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movl	12(%r14), %esi
	movq	_MTHCA_RDB_ENTRY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	100(%r12), %eax
	movb	24(%r12), %cl
	shll	%cl, %eax
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_mthca_alloc_icm_table
	movq	%rax, 48(%r12)
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movl	8(%r14), %esi
	movl	12(%r15), %edx
	movl	108(%r12), %ecx
	movl	112(%r12), %r8d
	movl	$0, (%rsp)
	movq	%r12, %rdi
	xorl	%r9d, %r9d
	callq	_mthca_alloc_icm_table
	movq	%rax, 56(%r12)
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:
	movq	_MTHCA_FLAG_SRQ@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, (%r12)
	je	LBB0_23
## %bb.21:
	movl	4(%r14), %esi
	movl	16(%r15), %edx
	movl	116(%r12), %ecx
	movl	120(%r12), %r8d
	movl	$0, (%rsp)
	movq	%r12, %rdi
	xorl	%r9d, %r9d
	callq	_mthca_alloc_icm_table
	movq	%rax, 64(%r12)
	testq	%rax, %rax
	je	LBB0_22
LBB0_23:
	movl	(%r14), %esi
	movq	_MTHCA_MGM_ENTRY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	128(%r12), %ecx
	addl	124(%r12), %ecx
	movl	$0, (%rsp)
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	movl	%ecx, %r8d
	xorl	%r9d, %r9d
	callq	_mthca_alloc_icm_table
	movq	%rax, 72(%r12)
	testq	%rax, %rax
	jne	LBB0_35
## %bb.24:
	leaq	L_.str.12(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_mthca_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	(%rbx), %eax
	testl	%eax, (%r12)
	je	LBB0_26
## %bb.25:
	movq	64(%r12), %rsi
	movq	%r12, %rdi
	callq	_mthca_free_icm_table
	jmp	LBB0_26
LBB0_9:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_mthca_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_32
LBB0_11:
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_mthca_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_31
LBB0_13:
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_mthca_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_30
LBB0_15:
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_mthca_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_29
LBB0_17:
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_mthca_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_28
LBB0_19:
	leaq	L_.str.10(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_mthca_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_27
LBB0_22:
	leaq	L_.str.11(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_mthca_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_26:
	movq	56(%r12), %rsi
	movq	%r12, %rdi
	callq	_mthca_free_icm_table
LBB0_27:
	movq	48(%r12), %rsi
	movq	%r12, %rdi
	callq	_mthca_free_icm_table
LBB0_28:
	movq	40(%r12), %rsi
	movq	%r12, %rdi
	callq	_mthca_free_icm_table
LBB0_29:
	movq	32(%r12), %rsi
	movq	%r12, %rdi
	callq	_mthca_free_icm_table
LBB0_30:
	movq	16(%r12), %rsi
	movq	%r12, %rdi
	callq	_mthca_free_icm_table
LBB0_31:
	movq	8(%r12), %rsi
	movq	%r12, %rdi
	callq	_mthca_free_icm_table
LBB0_32:
	negl	%r13d
	movq	%r12, %rdi
	callq	_mthca_unmap_eq_icm
LBB0_33:
	movq	%r12, %rdi
	callq	_mthca_UNMAP_ICM_AUX
LBB0_34:
	movl	4(%r12), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_mthca_free_icm
LBB0_35:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SET_ICM_SIZE command returned %d, aborting.\n"

L_.str.1:                               ## @.str.1
	.asciz	"%lld KB of HCA context requires %lld KB aux memory.\n"

	.comm	_GFP_HIGHUSER,4,2               ## @GFP_HIGHUSER
	.comm	___GFP_NOWARN,4,2               ## @__GFP_NOWARN
L_.str.2:                               ## @.str.2
	.asciz	"Couldn't allocate aux memory, aborting.\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.3:                               ## @.str.3
	.asciz	"MAP_ICM_AUX returned %d, aborting.\n"

L_.str.4:                               ## @.str.4
	.asciz	"Failed to map EQ context memory, aborting.\n"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to map MTT context memory, aborting.\n"

L_.str.6:                               ## @.str.6
	.asciz	"Failed to map MPT context memory, aborting.\n"

L_.str.7:                               ## @.str.7
	.asciz	"Failed to map QP context memory, aborting.\n"

L_.str.8:                               ## @.str.8
	.asciz	"Failed to map EQP context memory, aborting.\n"

	.comm	_MTHCA_RDB_ENTRY_SIZE,4,2       ## @MTHCA_RDB_ENTRY_SIZE
L_.str.9:                               ## @.str.9
	.asciz	"Failed to map RDB context memory, aborting\n"

L_.str.10:                              ## @.str.10
	.asciz	"Failed to map CQ context memory, aborting.\n"

	.comm	_MTHCA_FLAG_SRQ,4,2             ## @MTHCA_FLAG_SRQ
L_.str.11:                              ## @.str.11
	.asciz	"Failed to map SRQ context memory, aborting.\n"

	.comm	_MTHCA_MGM_ENTRY_SIZE,4,2       ## @MTHCA_MGM_ENTRY_SIZE
L_.str.12:                              ## @.str.12
	.asciz	"Failed to map MCG context memory, aborting.\n"

	.no_dead_strip	_mthca_init_icm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mthca_init_icm
_mthca_init_icm:                        ; @mthca_init_icm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x2, sp, #8
	mov	x1, x3
	bl	_mthca_SET_ICM_SIZE
	cbz	w0, LBB0_2
; %bb.1:
	mov	x22, x0
	str	x22, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_mthca_err
	b	LBB0_35
LBB0_2:
	lsr	x2, x23, #10
	ldr	x8, [sp, #8]
	lsl	x3, x8, #2
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mthca_dbg
Lloh4:
	adrp	x8, _GFP_HIGHUSER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_HIGHUSER@GOTPAGEOFF]
	ldr	x1, [sp, #8]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, ___GFP_NOWARN@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___GFP_NOWARN@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	mov	w3, #0
	bl	_mthca_alloc_icm
	str	w0, [x19, #4]
	cbz	w0, LBB0_5
; %bb.3:
	mov	x1, x0
	mov	x0, x19
	bl	_mthca_MAP_ICM_AUX
	cbz	w0, LBB0_6
; %bb.4:
	mov	x22, x0
	str	x22, [sp]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_mthca_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_34
LBB0_5:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_mthca_err
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_35
LBB0_6:
	ldr	w1, [x20, #32]
	mov	x0, x19
	bl	_mthca_map_eq_icm
	cbz	w0, LBB0_8
; %bb.7:
	mov	x22, x0
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_mthca_err
	b	LBB0_33
LBB0_8:
	ldp	w8, w9, [x19, #80]
	mul	w22, w9, w8
	bl	_dma_get_cache_alignment
	mov	x1, x0
	mov	x0, x22
	bl	_ALIGN
	ldp	w2, w3, [x19, #84]
	sdiv	w4, w0, w2
	str	w4, [x19, #80]
	ldr	w1, [x20, #28]
	mov	x0, x19
	mov	w5, #1
	mov	w6, #0
	bl	_mthca_alloc_icm_table
	str	x0, [x19, #8]
	cbz	x0, LBB0_19
; %bb.9:
	ldr	w1, [x20, #24]
	ldr	w2, [x21]
	ldp	w3, w4, [x19, #92]
	mov	x0, x19
	mov	w5, #1
	mov	w6, #1
	bl	_mthca_alloc_icm_table
	str	x0, [x19, #16]
	cbz	x0, LBB0_20
; %bb.10:
	ldr	w1, [x20, #20]
	ldr	w2, [x21, #4]
	ldp	w3, w4, [x19, #100]
	mov	x0, x19
	mov	w5, #0
	mov	w6, #0
	bl	_mthca_alloc_icm_table
	str	x0, [x19, #32]
	cbz	x0, LBB0_21
; %bb.11:
	ldr	w1, [x20, #16]
	ldr	w2, [x21, #8]
	ldp	w3, w4, [x19, #100]
	mov	x0, x19
	mov	w5, #0
	mov	w6, #0
	bl	_mthca_alloc_icm_table
	str	x0, [x19, #40]
	cbz	x0, LBB0_22
; %bb.12:
	ldr	w1, [x20, #12]
Lloh19:
	adrp	x8, _MTHCA_RDB_ENTRY_SIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MTHCA_RDB_ENTRY_SIZE@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	ldr	w8, [x19, #100]
	ldr	w9, [x19, #24]
	lsl	w3, w8, w9
	mov	x0, x19
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_mthca_alloc_icm_table
	str	x0, [x19, #48]
	cbz	x0, LBB0_23
; %bb.13:
	ldr	w1, [x20, #8]
	ldr	w2, [x21, #12]
	ldp	w3, w4, [x19, #108]
	mov	x0, x19
	mov	w5, #0
	mov	w6, #0
	bl	_mthca_alloc_icm_table
	str	x0, [x19, #56]
	cbz	x0, LBB0_24
; %bb.14:
	ldr	w8, [x19]
Lloh22:
	adrp	x23, _MTHCA_FLAG_SRQ@GOTPAGE
Lloh23:
	ldr	x23, [x23, _MTHCA_FLAG_SRQ@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:
	ldr	w1, [x20, #4]
	ldr	w2, [x21, #16]
	ldp	w3, w4, [x19, #116]
	mov	x0, x19
	mov	w5, #0
	mov	w6, #0
	bl	_mthca_alloc_icm_table
	str	x0, [x19, #64]
	cbz	x0, LBB0_25
LBB0_16:
	ldr	w1, [x20]
Lloh24:
	adrp	x8, _MTHCA_MGM_ENTRY_SIZE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MTHCA_MGM_ENTRY_SIZE@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	ldp	w8, w9, [x19, #124]
	add	w3, w9, w8
	mov	x0, x19
	mov	x4, x3
	mov	w5, #0
	mov	w6, #0
	bl	_mthca_alloc_icm_table
	mov	w22, #0
	str	x0, [x19, #72]
	cbnz	x0, LBB0_35
; %bb.17:
Lloh27:
	adrp	x1, l_.str.12@PAGE
Lloh28:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_mthca_err
Lloh29:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh31:
	ldr	w20, [x8]
	ldr	w8, [x19]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.18:
	ldr	x1, [x19, #64]
	mov	x0, x19
	bl	_mthca_free_icm_table
	b	LBB0_26
LBB0_19:
Lloh32:
	adrp	x1, l_.str.5@PAGE
Lloh33:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_mthca_err
Lloh34:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh36:
	ldr	w20, [x8]
	b	LBB0_32
LBB0_20:
Lloh37:
	adrp	x1, l_.str.6@PAGE
Lloh38:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_mthca_err
Lloh39:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh41:
	ldr	w20, [x8]
	b	LBB0_31
LBB0_21:
Lloh42:
	adrp	x1, l_.str.7@PAGE
Lloh43:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_mthca_err
Lloh44:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh46:
	ldr	w20, [x8]
	b	LBB0_30
LBB0_22:
Lloh47:
	adrp	x1, l_.str.8@PAGE
Lloh48:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_mthca_err
Lloh49:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh51:
	ldr	w20, [x8]
	b	LBB0_29
LBB0_23:
Lloh52:
	adrp	x1, l_.str.9@PAGE
Lloh53:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_mthca_err
Lloh54:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh56:
	ldr	w20, [x8]
	b	LBB0_28
LBB0_24:
Lloh57:
	adrp	x1, l_.str.10@PAGE
Lloh58:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_mthca_err
Lloh59:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh60:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh61:
	ldr	w20, [x8]
	b	LBB0_27
LBB0_25:
Lloh62:
	adrp	x1, l_.str.11@PAGE
Lloh63:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_mthca_err
Lloh64:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh65:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh66:
	ldr	w20, [x8]
LBB0_26:
	ldr	x1, [x19, #56]
	mov	x0, x19
	bl	_mthca_free_icm_table
LBB0_27:
	ldr	x1, [x19, #48]
	mov	x0, x19
	bl	_mthca_free_icm_table
LBB0_28:
	ldr	x1, [x19, #40]
	mov	x0, x19
	bl	_mthca_free_icm_table
LBB0_29:
	ldr	x1, [x19, #32]
	mov	x0, x19
	bl	_mthca_free_icm_table
LBB0_30:
	ldr	x1, [x19, #16]
	mov	x0, x19
	bl	_mthca_free_icm_table
LBB0_31:
	ldr	x1, [x19, #8]
	mov	x0, x19
	bl	_mthca_free_icm_table
LBB0_32:
	neg	w22, w20
	mov	x0, x19
	bl	_mthca_unmap_eq_icm
LBB0_33:
	mov	x0, x19
	bl	_mthca_UNMAP_ICM_AUX
LBB0_34:
	ldr	w1, [x19, #4]
	mov	x0, x19
	mov	w2, #0
	bl	_mthca_free_icm
LBB0_35:
	mov	x0, x22
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SET_ICM_SIZE command returned %d, aborting.\n"

l_.str.1:                               ; @.str.1
	.asciz	"%lld KB of HCA context requires %lld KB aux memory.\n"

	.comm	_GFP_HIGHUSER,4,2               ; @GFP_HIGHUSER
	.comm	___GFP_NOWARN,4,2               ; @__GFP_NOWARN
l_.str.2:                               ; @.str.2
	.asciz	"Couldn't allocate aux memory, aborting.\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.3:                               ; @.str.3
	.asciz	"MAP_ICM_AUX returned %d, aborting.\n"

l_.str.4:                               ; @.str.4
	.asciz	"Failed to map EQ context memory, aborting.\n"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to map MTT context memory, aborting.\n"

l_.str.6:                               ; @.str.6
	.asciz	"Failed to map MPT context memory, aborting.\n"

l_.str.7:                               ; @.str.7
	.asciz	"Failed to map QP context memory, aborting.\n"

l_.str.8:                               ; @.str.8
	.asciz	"Failed to map EQP context memory, aborting.\n"

	.comm	_MTHCA_RDB_ENTRY_SIZE,4,2       ; @MTHCA_RDB_ENTRY_SIZE
l_.str.9:                               ; @.str.9
	.asciz	"Failed to map RDB context memory, aborting\n"

l_.str.10:                              ; @.str.10
	.asciz	"Failed to map CQ context memory, aborting.\n"

	.comm	_MTHCA_FLAG_SRQ,4,2             ; @MTHCA_FLAG_SRQ
l_.str.11:                              ; @.str.11
	.asciz	"Failed to map SRQ context memory, aborting.\n"

	.comm	_MTHCA_MGM_ENTRY_SIZE,4,2       ; @MTHCA_MGM_ENTRY_SIZE
l_.str.12:                              ; @.str.12
	.asciz	"Failed to map MCG context memory, aborting.\n"

	.no_dead_strip	_mthca_init_icm
.subsections_via_symbols
