	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_qp_attach_common          ## -- Begin function mlx4_qp_attach_common
	.p2align	4, 0x90
_mlx4_qp_attach_common:                 ## @mlx4_qp_attach_common
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -96(%rbp)                 ## 4-byte Spill
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, -116(%rbp)                ## 4-byte Spill
	movq	%rdx, %r15
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	movq	%rdi, %r13
	callq	_mlx4_priv
	movq	%rax, %r12
	movl	$-1, -44(%rbp)
	movl	20(%r15), %r14d
	movq	%r13, %rdi
	callq	_mlx4_alloc_cmd_mailbox
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.37:
	movq	%rbx, %rdi
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	(%rbx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_mutex_lock
	leaq	-44(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-100(%rbp), %r9
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	%r14d, %esi
	movq	%r15, %rdx
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %ecx
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, %r8
	callq	_find_entry
	testl	%eax, %eax
	movl	%r14d, %ebx
	je	LBB0_3
## %bb.2:
	movl	%eax, %r12d
	xorl	%edx, %edx
	xorl	%edi, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_24
LBB0_3:
	movq	%r15, %r13
	movl	-44(%rbp), %r15d
	cmpl	$-1, %r15d
	je	LBB0_5
## %bb.4:
	movq	%r13, %r12
	movl	%r15d, -92(%rbp)                ## 4-byte Spill
	movl	%ebx, %r15d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rdi
	callq	_be32_to_cpu
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movl	$0, %ecx
	testl	$16777215, %eax                 ## imm = 0xFFFFFF
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_9
	jmp	LBB0_8
LBB0_5:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	leaq	4(%r14), %rdi
	callq	_mlx4_bitmap_alloc
	movl	%eax, -44(%rbp)
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.7:
	movq	%r13, %r12
	movl	%r15d, -92(%rbp)                ## 4-byte Spill
	movl	%ebx, %r15d
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	addl	(%r13), %eax
	movl	%eax, -44(%rbp)
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
LBB0_8:
	movl	24(%rbx), %edi
	movq	%r12, %rsi
	movl	$16, %edx
	callq	_memcpy
	movl	$1, %ecx
LBB0_9:
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	8(%rbx), %rdi
	callq	_be32_to_cpu
	movl	%eax, %r12d
	andl	$16777215, %r12d                ## imm = 0xFFFFFF
	cmpl	4(%r13), %r12d
	jne	LBB0_10
## %bb.12:
	movl	-44(%rbp), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_mlx4_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%r15d, %ebx
	jmp	LBB0_24
LBB0_10:
	movl	%r12d, %r13d
	testl	%r12d, %r12d
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movl	-116(%rbp), %r15d               ## 4-byte Reload
	je	LBB0_16
## %bb.11:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	(%rax,%r14,8), %rdi
	callq	_be32_to_cpu
	movq	_MGM_QPN_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	cmpl	(%rbx), %eax
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_14 Depth=1
	incq	%r14
	cmpq	%r14, %r13
	jne	LBB0_14
LBB0_16:
	movq	_MGM_QPN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rbx), %eax
	movq	_MGM_BLCK_LB_BIT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edi
	shll	%cl, %edi
	testl	%r15d, %r15d
	cmovel	%r15d, %edi
	orl	%eax, %edi
	callq	_cpu_to_be32
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rcx
	movq	%rax, (%rcx,%r13,8)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	shll	$30, %eax
	leal	(%r12,%rax), %edi
	incl	%edi
	callq	_cpu_to_be32
	movq	%rax, 8(%rbx)
	movl	-44(%rbp), %esi
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	callq	_mlx4_WRITE_ENTRY
	movl	%eax, %r12d
	testl	%eax, %eax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_17
## %bb.18:
	cmpl	$-1, -92(%rbp)                  ## 4-byte Folded Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	jne	LBB0_19
## %bb.20:
	movl	-100(%rbp), %esi
	movq	%r13, %rdi
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdx
	callq	_mlx4_READ_ENTRY
	movl	$1, %edx
	testl	%eax, %eax
	jne	LBB0_22
## %bb.21:
	movl	-44(%rbp), %edi
	shll	$6, %edi
	callq	_cpu_to_be32
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	-100(%rbp), %esi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_mlx4_WRITE_ENTRY
	movl	$1, %edx
LBB0_22:
	movl	%eax, %r12d
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_mlx4_err
	xorl	%edi, %edi
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	movl	$1, %edx
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_24
LBB0_15:
	leaq	L_.str.2(%rip), %rsi
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_mlx4_dbg
	xorl	%r12d, %r12d
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_24
LBB0_17:
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_23
LBB0_19:
	movl	-48(%rbp), %esi                 ## 4-byte Reload
LBB0_23:
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
LBB0_24:
	movq	_MLX4_PROT_ETH@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_30
## %bb.25:
	movl	-44(%rbp), %ecx
	cmpl	$-1, %ecx
	je	LBB0_30
## %bb.26:
	movl	%edx, %ebx
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %r8d
	testl	%edi, %edi
	je	LBB0_28
## %bb.27:
	movq	%r13, %rdi
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	callq	_new_steering_entry
	jmp	LBB0_29
LBB0_28:
	movq	%r13, %rdi
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	callq	_existing_steering_entry
LBB0_29:
	movl	%eax, %r12d
	movl	%ebx, %edx
LBB0_30:
	testl	%edx, %edx
	je	LBB0_36
## %bb.31:
	testl	%r12d, %r12d
	je	LBB0_36
## %bb.32:
	movl	-44(%rbp), %edx
	cmpl	$-1, %edx
	je	LBB0_36
## %bb.33:
	movl	(%r13), %ecx
	movl	%edx, %esi
	subl	%ecx, %esi
	jge	LBB0_35
## %bb.34:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_mlx4_warn
	jmp	LBB0_36
LBB0_35:
	movq	%r14, %rdi
	addq	$4, %rdi
	movq	_MLX4_USE_RR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_mlx4_bitmap_free
LBB0_36:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	%r13, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	callq	_mlx4_free_cmd_mailbox
	movl	%r12d, %eax
	addq	$104, %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	"No AMGM entries left\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"MGM at index %x is full\n"

	.comm	_MGM_QPN_MASK,4,2               ## @MGM_QPN_MASK
L_.str.2:                               ## @.str.2
	.asciz	"QP %06x already a member of MGM\n"

	.comm	_MGM_BLCK_LB_BIT,4,2            ## @MGM_BLCK_LB_BIT
	.comm	_MLX4_PROT_ETH,4,2              ## @MLX4_PROT_ETH
L_.str.3:                               ## @.str.3
	.asciz	"Got AMGM index %d < %d\n"

	.comm	_MLX4_USE_RR,4,2                ## @MLX4_USE_RR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_qp_attach_common          ; -- Begin function mlx4_qp_attach_common
	.p2align	2
_mlx4_qp_attach_common:                 ; @mlx4_qp_attach_common
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x5
	mov	x25, x4
	mov	x27, x3
	mov	x22, x2
	mov	x24, x1
	mov	x19, x0
	bl	_mlx4_priv
	mov	x23, x0
	mov	w8, #-1
	str	w8, [sp, #44]
	ldr	w28, [x22, #20]
	mov	x0, x19
	bl	_mlx4_alloc_cmd_mailbox
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_PTR_ERR
LBB0_2:
	ldr	x26, [x21]
	mov	x0, x23
	bl	_mutex_lock
	add	x5, sp, #40
	add	x6, sp, #44
	mov	x0, x19
	str	w28, [sp, #36]                  ; 4-byte Folded Spill
	mov	x1, x28
	mov	x2, x22
	mov	x3, x25
	mov	x4, x21
	bl	_find_entry
	cbz	w0, LBB0_4
; %bb.3:
	mov	x28, x0
	mov	w22, #0
	mov	w9, #0
	b	LBB0_24
LBB0_4:
	ldr	w28, [sp, #44]
	cmn	w28, #1
	b.eq	LBB0_6
; %bb.5:
	str	w20, [sp, #24]                  ; 4-byte Folded Spill
	ldr	x0, [x26, #8]
	bl	_be32_to_cpu
	mov	w20, #0
	str	wzr, [sp, #32]                  ; 4-byte Folded Spill
	mov	w8, #0
	tst	w0, #0xffffff
	b.ne	LBB0_9
	b	LBB0_8
LBB0_6:
	add	x0, x23, #4
	bl	_mlx4_bitmap_alloc
	str	w0, [sp, #44]
	cmn	w0, #1
	b.eq	LBB0_20
; %bb.7:
	str	w20, [sp, #24]                  ; 4-byte Folded Spill
	ldr	w8, [x19]
	add	w8, w8, w0
	str	w8, [sp, #44]
	mov	x0, x26
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	mov	w20, #1
LBB0_8:
	ldr	w0, [x26, #24]
	mov	x1, x22
	mov	w2, #16
	bl	_memcpy
	mov	w8, #1
	str	w20, [sp, #32]                  ; 4-byte Folded Spill
LBB0_9:
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	ldr	x0, [x26, #8]
	bl	_be32_to_cpu
	and	w22, w0, #0xffffff
	ldr	w8, [x19, #4]
	cmp	w22, w8
	b.ne	LBB0_11
; %bb.10:
	ldr	w8, [sp, #44]
	str	x8, [sp]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mlx4_err
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w28, w8
	b	LBB0_22
LBB0_11:
	str	w28, [sp, #12]                  ; 4-byte Folded Spill
	str	x23, [sp, #16]                  ; 8-byte Folded Spill
Lloh5:
	adrp	x28, _MGM_QPN_MASK@GOTPAGE
Lloh6:
	ldr	x28, [x28, _MGM_QPN_MASK@GOTPAGEOFF]
	cbz	w22, LBB0_15
; %bb.12:
	mov	x23, #0
	lsl	x20, x22, #3
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26, #16]
	ldr	x0, [x8, x23]
	bl	_be32_to_cpu
	ldr	w8, [x28]
	and	w2, w8, w0
	ldr	w8, [x24]
	cmp	w2, w8
	b.eq	LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x23, #8
	cmp	x20, x23
	b.ne	LBB0_13
LBB0_15:
	ldr	w8, [x24]
	ldr	w9, [x28]
	and	w8, w9, w8
Lloh7:
	adrp	x9, _MGM_BLCK_LB_BIT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MGM_BLCK_LB_BIT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
	cmp	w27, #0
	csel	w9, wzr, w9, eq
	orr	w0, w8, w9
	bl	_cpu_to_be32
	ldr	x8, [x26, #16]
	str	x0, [x8, w22, uxtw #3]
	bfi	w22, w25, #30, #2
	add	w0, w22, #1
	bl	_cpu_to_be32
	str	x0, [x26, #8]
	ldr	w1, [sp, #44]
	mov	x0, x19
	mov	x2, x21
	bl	_mlx4_WRITE_ENTRY
	mov	x28, x0
	ldr	x23, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w20, [sp, #24]                  ; 4-byte Folded Reload
	cbnz	w0, LBB0_23
; %bb.16:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmn	w8, #1
	b.ne	LBB0_23
; %bb.17:
	ldr	w1, [sp, #40]
	mov	x0, x19
	mov	x2, x21
	bl	_mlx4_READ_ENTRY
	cbnz	w0, LBB0_19
; %bb.18:
	ldr	w8, [sp, #44]
	lsl	w0, w8, #6
	bl	_cpu_to_be32
	str	x0, [x26]
	ldr	w1, [sp, #40]
	mov	x0, x19
	mov	x2, x21
	bl	_mlx4_WRITE_ENTRY
LBB0_19:
	mov	x28, x0
	mov	w22, #1
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	b	LBB0_24
LBB0_20:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_mlx4_err
	mov	w9, #0
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w28, w8
	mov	w22, #1
	b	LBB0_24
LBB0_21:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_mlx4_dbg
	mov	w28, #0
	ldr	x23, [sp, #16]                  ; 8-byte Folded Reload
LBB0_22:
	ldr	w20, [sp, #24]                  ; 4-byte Folded Reload
LBB0_23:
	ldp	w9, w22, [sp, #28]              ; 8-byte Folded Reload
LBB0_24:
Lloh17:
	adrp	x8, _MLX4_PROT_ETH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MLX4_PROT_ETH@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w3, [sp, #44]
	cmp	w8, w25
	ccmn	w3, #1, #4, eq
	b.eq	LBB0_29
; %bb.25:
	ldr	w4, [x24]
	mov	x0, x19
	cbz	w9, LBB0_27
; %bb.26:
	ldr	w1, [sp, #36]                   ; 4-byte Folded Reload
	mov	x2, x20
	bl	_new_steering_entry
	b	LBB0_28
LBB0_27:
	ldr	w1, [sp, #36]                   ; 4-byte Folded Reload
	mov	x2, x20
	bl	_existing_steering_entry
LBB0_28:
	mov	x28, x0
LBB0_29:
	cbz	w22, LBB0_35
; %bb.30:
	cbz	w28, LBB0_35
; %bb.31:
	ldr	w2, [sp, #44]
	cmn	w2, #1
	b.eq	LBB0_35
; %bb.32:
	ldr	w3, [x19]
	subs	w1, w2, w3
	b.ge	LBB0_34
; %bb.33:
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_mlx4_warn
	b	LBB0_35
LBB0_34:
	add	x0, x23, #4
Lloh22:
	adrp	x8, _MLX4_USE_RR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MLX4_USE_RR@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	bl	_mlx4_bitmap_free
LBB0_35:
	mov	x0, x23
	bl	_mutex_unlock
	mov	x0, x19
	mov	x1, x21
	bl	_mlx4_free_cmd_mailbox
	mov	x0, x28
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No AMGM entries left\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"MGM at index %x is full\n"

	.comm	_MGM_QPN_MASK,4,2               ; @MGM_QPN_MASK
l_.str.2:                               ; @.str.2
	.asciz	"QP %06x already a member of MGM\n"

	.comm	_MGM_BLCK_LB_BIT,4,2            ; @MGM_BLCK_LB_BIT
	.comm	_MLX4_PROT_ETH,4,2              ; @MLX4_PROT_ETH
l_.str.3:                               ; @.str.3
	.asciz	"Got AMGM index %d < %d\n"

	.comm	_MLX4_USE_RR,4,2                ; @MLX4_USE_RR
.subsections_via_symbols
