	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ib_process_mad
_ib_process_mad:                        ## @ib_process_mad
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movl	%edx, %r13d
	movl	%esi, -80(%rbp)                 ## 4-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	%r13d, -76(%rbp)                ## 4-byte Spill
	movl	(%rbx), %r12d
	movl	4(%rbx), %ecx
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	movl	20(%rbx), %ecx
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movl	16(%rbx), %ecx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	28(%r15), %edi
	callq	_be64_to_cpu
	movl	%eax, %r14d
	movups	(%r15), %xmm0
	movaps	%xmm0, -112(%rbp)               ## 16-byte Spill
	movq	16(%r15), %rdi
	callq	_be16_to_cpu
	movq	%rax, 32(%rsp)
	movaps	-112(%rbp), %xmm0               ## 16-byte Reload
	movups	%xmm0, 16(%rsp)
	movl	%r14d, 8(%rsp)
	movl	%r12d, (%rsp)
	movl	-76(%rbp), %r13d                ## 4-byte Reload
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movl	-64(%rbp), %r8d                 ## 4-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_pr_debug
	movq	_IB_WC_GRH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.3:
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movl	12(%r12), %edi
	callq	_be64_to_cpu
	movl	%eax, %r14d
	movl	8(%r12), %edi
	callq	_be64_to_cpu
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_debug
	movl	4(%r12), %edi
	callq	_be64_to_cpu
	movl	%eax, %r14d
	movl	(%r12), %edi
	callq	_be64_to_cpu
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_4:
	movl	4(%rbx), %edi
	callq	_ib_lid_cpu16
	jmp	LBB0_6
LBB0_5:
	movq	_IB_LID_PERMISSIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_be16_to_cpu
LBB0_6:
	movq	8(%r15), %rcx
	movq	_IB_MGMT_METHOD_TRAP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_10
## %bb.7:
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_to_mdev
	movq	%rax, %rdi
	movl	%r13d, %esi
	movq	%r15, %rdx
	callq	_forward_trap
	movq	_IB_MAD_RESULT_SUCCESS@GOTPCREL(%rip), %rcx
	movq	_IB_MAD_RESULT_CONSUMED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	orl	(%rcx), %eax
	jmp	LBB0_24
LBB0_10:
	movq	(%r15), %rax
	movq	_IB_MGMT_CLASS_SUBN_LID_ROUTED@GOTPCREL(%rip), %rdx
	movq	_IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPCREL(%rip), %r14
	cmpq	(%rdx), %rax
	je	LBB0_18
## %bb.11:
	cmpq	(%r14), %rax
	je	LBB0_18
## %bb.12:
	movq	_IB_MGMT_CLASS_PERF_MGMT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_16
## %bb.13:
	movq	_MLX4_IB_VENDOR_CLASS1@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_16
## %bb.14:
	movq	_MLX4_IB_VENDOR_CLASS2@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_16
## %bb.15:
	movq	_IB_MGMT_CLASS_CONG_MGMT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_22
LBB0_16:
	movq	_IB_MGMT_METHOD_GET@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	cmpq	(%rax), %rcx
	je	LBB0_30
## %bb.17:
	movq	_IB_MGMT_METHOD_SET@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_22
	jmp	LBB0_30
LBB0_18:
	movq	_IB_MGMT_METHOD_GET@GOTPCREL(%rip), %rdx
	movq	_IB_MGMT_METHOD_SET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%rdx), %rcx
	je	LBB0_21
## %bb.19:
	cmpq	%rax, %rcx
	je	LBB0_21
## %bb.20:
	movq	_IB_MGMT_METHOD_TRAP_REPRESS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_22
LBB0_21:
	movq	16(%r15), %rdx
	movq	_IB_SMP_ATTR_SM_INFO@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_25
LBB0_22:
	movq	_IB_MAD_RESULT_SUCCESS@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %eax
LBB0_24:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	xorl	%r12d, %r12d
	cmpq	%rax, %rcx
	jne	LBB0_30
## %bb.26:
	movq	_IB_SMP_ATTR_PORT_INFO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_30
## %bb.27:
	leaq	-56(%rbp), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_ib_query_port
	testl	%eax, %eax
	je	LBB0_29
## %bb.28:
	xorl	%r12d, %r12d
	jmp	LBB0_30
LBB0_29:
	movl	-56(%rbp), %edi
	callq	_ib_lid_cpu16
	movq	%rax, %r12
LBB0_30:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_to_mdev
	movq	_IB_MAD_IGNORE_MKEY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	andl	%edx, %esi
	je	LBB0_32
## %bb.31:
	movq	_MLX4_MAD_IFC_IGNORE_MKEY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_32:
	movq	16(%rbp), %r8
	movq	_IB_MAD_IGNORE_BKEY@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	je	LBB0_34
## %bb.33:
	movq	_MLX4_MAD_IFC_IGNORE_BKEY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_34:
	movq	_MLX4_MAD_IFC_NET_VIEW@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	orl	%edx, %esi
	movq	%r8, (%rsp)
	movq	%rax, %rdi
	movl	%r13d, %edx
	movq	%rbx, %rcx
	movq	%r8, %rbx
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	%r15, %r9
	callq	_mlx4_MAD_IFC
	testl	%eax, %eax
	je	LBB0_36
## %bb.35:
	movq	_IB_MAD_RESULT_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_36:
	cmpl	$0, 24(%rbx)
	jne	LBB0_39
## %bb.37:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movq	%r15, %rdx
	movq	%r12, %rcx
	movq	%rbx, %r12
	callq	_smp_snoop
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_to_mdev
	movl	(%rax), %edi
	callq	_mlx4_is_slave
	testl	%eax, %eax
	jne	LBB0_39
## %bb.38:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_node_desc_override
	movq	%r12, %rbx
LBB0_39:
	movq	(%r15), %rax
	cmpq	(%r14), %rax
	jne	LBB0_41
## %bb.40:
	movl	$32768, %edi                    ## imm = 0x8000
	callq	_cpu_to_be16
	orl	%eax, 24(%rbx)
LBB0_41:
	movq	8(%r15), %rcx
	movq	_IB_MGMT_METHOD_TRAP_REPRESS@GOTPCREL(%rip), %rdx
	movq	_IB_MAD_RESULT_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_43
## %bb.42:
	movq	_IB_MAD_RESULT_CONSUMED@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_43:
	movq	_IB_MAD_RESULT_REPLY@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"received MAD: port:%d slid:%d sqpn:%d dlid_bits:%d dqpn:%d wc_flags:0x%x tid:%016llx cls:%x mtd:%x atr:%x\n"

	.comm	_IB_WC_GRH,4,2                  ## @IB_WC_GRH
L_.str.1:                               ## @.str.1
	.asciz	"sgid_hi:0x%016llx sgid_lo:0x%016llx\n"

L_.str.2:                               ## @.str.2
	.asciz	"dgid_hi:0x%016llx dgid_lo:0x%016llx\n"

	.comm	_IB_LID_PERMISSIVE,8,3          ## @IB_LID_PERMISSIVE
	.comm	_IB_MGMT_METHOD_TRAP,8,3        ## @IB_MGMT_METHOD_TRAP
	.comm	_IB_MAD_RESULT_SUCCESS,4,2      ## @IB_MAD_RESULT_SUCCESS
	.comm	_IB_MAD_RESULT_CONSUMED,4,2     ## @IB_MAD_RESULT_CONSUMED
	.comm	_IB_MGMT_CLASS_SUBN_LID_ROUTED,8,3 ## @IB_MGMT_CLASS_SUBN_LID_ROUTED
	.comm	_IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE,8,3 ## @IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE
	.comm	_IB_MGMT_METHOD_GET,8,3         ## @IB_MGMT_METHOD_GET
	.comm	_IB_MGMT_METHOD_SET,8,3         ## @IB_MGMT_METHOD_SET
	.comm	_IB_MGMT_METHOD_TRAP_REPRESS,8,3 ## @IB_MGMT_METHOD_TRAP_REPRESS
	.comm	_IB_SMP_ATTR_SM_INFO,8,3        ## @IB_SMP_ATTR_SM_INFO
	.comm	_IB_MGMT_CLASS_PERF_MGMT,8,3    ## @IB_MGMT_CLASS_PERF_MGMT
	.comm	_MLX4_IB_VENDOR_CLASS1,8,3      ## @MLX4_IB_VENDOR_CLASS1
	.comm	_MLX4_IB_VENDOR_CLASS2,8,3      ## @MLX4_IB_VENDOR_CLASS2
	.comm	_IB_MGMT_CLASS_CONG_MGMT,8,3    ## @IB_MGMT_CLASS_CONG_MGMT
	.comm	_IB_SMP_ATTR_PORT_INFO,8,3      ## @IB_SMP_ATTR_PORT_INFO
	.comm	_IB_MAD_IGNORE_MKEY,4,2         ## @IB_MAD_IGNORE_MKEY
	.comm	_MLX4_MAD_IFC_IGNORE_MKEY,4,2   ## @MLX4_MAD_IFC_IGNORE_MKEY
	.comm	_IB_MAD_IGNORE_BKEY,4,2         ## @IB_MAD_IGNORE_BKEY
	.comm	_MLX4_MAD_IFC_IGNORE_BKEY,4,2   ## @MLX4_MAD_IFC_IGNORE_BKEY
	.comm	_MLX4_MAD_IFC_NET_VIEW,4,2      ## @MLX4_MAD_IFC_NET_VIEW
	.comm	_IB_MAD_RESULT_FAILURE,4,2      ## @IB_MAD_RESULT_FAILURE
	.comm	_IB_MAD_RESULT_REPLY,4,2        ## @IB_MAD_RESULT_REPLY
	.no_dead_strip	_ib_process_mad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ib_process_mad
_ib_process_mad:                        ; @ib_process_mad
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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, x6
	mov	x19, x5
	mov	x23, x4
	mov	x24, x3
	mov	x22, x2
	mov	x25, x1
	mov	x28, x0
	cbz	x3, LBB0_5
; %bb.1:
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w0, [x19, #28]
	ldr	w9, [x24, #20]
	str	x9, [sp, #80]                   ; 8-byte Folded Spill
	str	x20, [sp, #96]                  ; 8-byte Folded Spill
	ldr	w9, [x24, #16]
	str	x9, [sp, #64]                   ; 8-byte Folded Spill
	str	w25, [sp, #92]                  ; 4-byte Folded Spill
	ldr	w25, [x8]
	ldp	w21, w8, [x24]
	str	w8, [sp, #76]                   ; 4-byte Folded Spill
	bl	_be64_to_cpu
	mov	x27, x0
	mov	x20, x22
	mov	x26, x23
	ldp	x22, x23, [x19]
	ldr	x0, [x19, #16]
	bl	_be16_to_cpu
	stp	x23, x0, [sp, #48]
	mov	x23, x26
	stp	x27, x22, [sp, #32]
	mov	x22, x20
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	stp	x25, x21, [sp, #16]
	ldr	w25, [sp, #92]                  ; 4-byte Folded Reload
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	ldr	x20, [sp, #96]                  ; 8-byte Folded Reload
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	stp	x8, x9, [sp]
	mov	x1, x22
	ldr	w2, [sp, #76]                   ; 4-byte Folded Reload
	bl	_pr_debug
	ldr	w8, [x24]
Lloh2:
	adrp	x9, _IB_WC_GRH@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IB_WC_GRH@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x23, #12]
	bl	_be64_to_cpu
	mov	x26, x0
	ldr	w0, [x23, #8]
	bl	_be64_to_cpu
	mov	x2, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x26
	bl	_pr_debug
	ldr	w0, [x23, #4]
	bl	_be64_to_cpu
	mov	x26, x0
	ldr	w0, [x23]
	bl	_be64_to_cpu
	mov	x2, x0
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x26
	bl	_pr_debug
LBB0_4:
	ldr	w0, [x24, #4]
	bl	_ib_lid_cpu16
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _IB_LID_PERMISSIVE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IB_LID_PERMISSIVE@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	bl	_be16_to_cpu
LBB0_6:
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _IB_MGMT_METHOD_TRAP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IB_MGMT_METHOD_TRAP@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	x0, #0, #0, eq
	b.eq	LBB0_14
; %bb.7:
	ldr	x9, [x19]
Lloh15:
	adrp	x10, _IB_MGMT_CLASS_SUBN_LID_ROUTED@GOTPAGE
Lloh16:
	ldr	x10, [x10, _IB_MGMT_CLASS_SUBN_LID_ROUTED@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
Lloh18:
	adrp	x27, _IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPAGE
Lloh19:
	ldr	x27, [x27, _IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPAGEOFF]
	ldr	x11, [x27]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	b.ne	LBB0_17
; %bb.8:
Lloh20:
	adrp	x9, _IB_MGMT_METHOD_GET@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IB_MGMT_METHOD_GET@GOTPAGEOFF]
Lloh22:
	ldr	x10, [x9]
Lloh23:
	adrp	x9, _IB_MGMT_METHOD_SET@GOTPAGE
Lloh24:
	ldr	x9, [x9, _IB_MGMT_METHOD_SET@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
Lloh26:
	adrp	x11, _IB_MGMT_METHOD_TRAP_REPRESS@GOTPAGE
Lloh27:
	ldr	x11, [x11, _IB_MGMT_METHOD_TRAP_REPRESS@GOTPAGEOFF]
Lloh28:
	ldr	x11, [x11]
	cmp	x8, x10
	ccmp	x8, x9, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_20
; %bb.9:
	ldr	x10, [x19, #16]
Lloh29:
	adrp	x11, _IB_SMP_ATTR_SM_INFO@GOTPAGE
Lloh30:
	ldr	x11, [x11, _IB_SMP_ATTR_SM_INFO@GOTPAGEOFF]
Lloh31:
	ldr	x11, [x11]
	cmp	x10, x11
	b.eq	LBB0_20
; %bb.10:
	mov	x26, #0
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.11:
Lloh32:
	adrp	x8, _IB_SMP_ATTR_PORT_INFO@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IB_SMP_ATTR_PORT_INFO@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	cmp	x10, x8
	b.ne	LBB0_24
; %bb.12:
	sub	x2, x29, #88
	mov	x0, x28
	mov	x1, x22
	bl	_ib_query_port
	cbz	w0, LBB0_23
; %bb.13:
	mov	x26, #0
	b	LBB0_24
LBB0_14:
	mov	x0, x28
	bl	_to_mdev
	mov	x1, x22
	mov	x2, x19
	bl	_forward_trap
Lloh35:
	adrp	x8, _IB_MAD_RESULT_SUCCESS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _IB_MAD_RESULT_SUCCESS@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
LBB0_15:
Lloh38:
	adrp	x9, _IB_MAD_RESULT_CONSUMED@GOTPAGE
Lloh39:
	ldr	x9, [x9, _IB_MAD_RESULT_CONSUMED@GOTPAGEOFF]
LBB0_16:
	ldr	w9, [x9]
	orr	w0, w9, w8
	b	LBB0_22
LBB0_17:
Lloh40:
	adrp	x10, _IB_MGMT_CLASS_PERF_MGMT@GOTPAGE
Lloh41:
	ldr	x10, [x10, _IB_MGMT_CLASS_PERF_MGMT@GOTPAGEOFF]
Lloh42:
	adrp	x11, _MLX4_IB_VENDOR_CLASS1@GOTPAGE
Lloh43:
	ldr	x11, [x11, _MLX4_IB_VENDOR_CLASS1@GOTPAGEOFF]
Lloh44:
	ldr	x10, [x10]
Lloh45:
	ldr	x11, [x11]
Lloh46:
	adrp	x12, _MLX4_IB_VENDOR_CLASS2@GOTPAGE
Lloh47:
	ldr	x12, [x12, _MLX4_IB_VENDOR_CLASS2@GOTPAGEOFF]
Lloh48:
	adrp	x13, _IB_MGMT_CLASS_CONG_MGMT@GOTPAGE
Lloh49:
	ldr	x13, [x13, _IB_MGMT_CLASS_CONG_MGMT@GOTPAGEOFF]
Lloh50:
	ldr	x12, [x12]
Lloh51:
	ldr	x13, [x13]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	ccmp	x9, x12, #4, ne
	ccmp	x9, x13, #4, ne
	b.ne	LBB0_20
; %bb.18:
	mov	x26, #0
Lloh52:
	adrp	x9, _IB_MGMT_METHOD_GET@GOTPAGE
Lloh53:
	ldr	x9, [x9, _IB_MGMT_METHOD_GET@GOTPAGEOFF]
Lloh54:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_24
; %bb.19:
Lloh55:
	adrp	x9, _IB_MGMT_METHOD_SET@GOTPAGE
Lloh56:
	ldr	x9, [x9, _IB_MGMT_METHOD_SET@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_24
LBB0_20:
Lloh58:
	adrp	x8, _IB_MAD_RESULT_SUCCESS@GOTPAGE
Lloh59:
	ldr	x8, [x8, _IB_MAD_RESULT_SUCCESS@GOTPAGEOFF]
LBB0_21:
	ldr	w0, [x8]
LBB0_22:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_23:
	ldur	w0, [x29, #-88]
	bl	_ib_lid_cpu16
	mov	x26, x0
LBB0_24:
	mov	x0, x28
	bl	_to_mdev
Lloh60:
	adrp	x8, _IB_MAD_IGNORE_MKEY@GOTPAGE
Lloh61:
	ldr	x8, [x8, _IB_MAD_IGNORE_MKEY@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
Lloh63:
	adrp	x9, _MLX4_MAD_IFC_IGNORE_MKEY@GOTPAGE
Lloh64:
	ldr	x9, [x9, _MLX4_MAD_IFC_IGNORE_MKEY@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	tst	w8, w25
Lloh66:
	adrp	x8, _IB_MAD_IGNORE_BKEY@GOTPAGE
Lloh67:
	ldr	x8, [x8, _IB_MAD_IGNORE_BKEY@GOTPAGEOFF]
	csel	w9, wzr, w9, eq
Lloh68:
	ldr	w8, [x8]
Lloh69:
	adrp	x10, _MLX4_MAD_IFC_IGNORE_BKEY@GOTPAGE
Lloh70:
	ldr	x10, [x10, _MLX4_MAD_IFC_IGNORE_BKEY@GOTPAGEOFF]
Lloh71:
	ldr	w10, [x10]
	tst	w8, w25
	csel	w8, wzr, w10, eq
Lloh72:
	adrp	x10, _MLX4_MAD_IFC_NET_VIEW@GOTPAGE
Lloh73:
	ldr	x10, [x10, _MLX4_MAD_IFC_NET_VIEW@GOTPAGEOFF]
Lloh74:
	ldr	w10, [x10]
	orr	w9, w10, w9
	orr	w1, w9, w8
	mov	x2, x22
	mov	x3, x24
	mov	x4, x23
	mov	x5, x19
	mov	x6, x20
	bl	_mlx4_MAD_IFC
	cbz	w0, LBB0_26
; %bb.25:
Lloh75:
	adrp	x8, _IB_MAD_RESULT_FAILURE@GOTPAGE
Lloh76:
	ldr	x8, [x8, _IB_MAD_RESULT_FAILURE@GOTPAGEOFF]
	b	LBB0_21
LBB0_26:
	ldr	w8, [x20, #24]
	cbnz	w8, LBB0_29
; %bb.27:
	mov	x0, x28
	mov	x1, x22
	mov	x2, x19
	mov	x3, x26
	bl	_smp_snoop
	mov	x0, x28
	bl	_to_mdev
	ldr	w0, [x0]
	bl	_mlx4_is_slave
	cbnz	w0, LBB0_29
; %bb.28:
	mov	x0, x28
	mov	x1, x20
	bl	_node_desc_override
LBB0_29:
	ldr	x8, [x19]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_31
; %bb.30:
	mov	w0, #32768
	bl	_cpu_to_be16
	ldr	w8, [x20, #24]
	orr	w8, w8, w0
	str	w8, [x20, #24]
LBB0_31:
Lloh77:
	adrp	x8, _IB_MGMT_METHOD_TRAP_REPRESS@GOTPAGE
Lloh78:
	ldr	x8, [x8, _IB_MGMT_METHOD_TRAP_REPRESS@GOTPAGEOFF]
	ldr	x9, [x19, #8]
Lloh79:
	ldr	x10, [x8]
Lloh80:
	adrp	x8, _IB_MAD_RESULT_SUCCESS@GOTPAGE
Lloh81:
	ldr	x8, [x8, _IB_MAD_RESULT_SUCCESS@GOTPAGEOFF]
Lloh82:
	ldr	w8, [x8]
	cmp	x9, x10
	b.eq	LBB0_15
; %bb.32:
Lloh83:
	adrp	x9, _IB_MAD_RESULT_REPLY@GOTPAGE
Lloh84:
	ldr	x9, [x9, _IB_MAD_RESULT_REPLY@GOTPAGEOFF]
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh50
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh44
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh83, Lloh84
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"received MAD: port:%d slid:%d sqpn:%d dlid_bits:%d dqpn:%d wc_flags:0x%x tid:%016llx cls:%x mtd:%x atr:%x\n"

	.comm	_IB_WC_GRH,4,2                  ; @IB_WC_GRH
l_.str.1:                               ; @.str.1
	.asciz	"sgid_hi:0x%016llx sgid_lo:0x%016llx\n"

l_.str.2:                               ; @.str.2
	.asciz	"dgid_hi:0x%016llx dgid_lo:0x%016llx\n"

	.comm	_IB_LID_PERMISSIVE,8,3          ; @IB_LID_PERMISSIVE
	.comm	_IB_MGMT_METHOD_TRAP,8,3        ; @IB_MGMT_METHOD_TRAP
	.comm	_IB_MAD_RESULT_SUCCESS,4,2      ; @IB_MAD_RESULT_SUCCESS
	.comm	_IB_MAD_RESULT_CONSUMED,4,2     ; @IB_MAD_RESULT_CONSUMED
	.comm	_IB_MGMT_CLASS_SUBN_LID_ROUTED,8,3 ; @IB_MGMT_CLASS_SUBN_LID_ROUTED
	.comm	_IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE,8,3 ; @IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE
	.comm	_IB_MGMT_METHOD_GET,8,3         ; @IB_MGMT_METHOD_GET
	.comm	_IB_MGMT_METHOD_SET,8,3         ; @IB_MGMT_METHOD_SET
	.comm	_IB_MGMT_METHOD_TRAP_REPRESS,8,3 ; @IB_MGMT_METHOD_TRAP_REPRESS
	.comm	_IB_SMP_ATTR_SM_INFO,8,3        ; @IB_SMP_ATTR_SM_INFO
	.comm	_IB_MGMT_CLASS_PERF_MGMT,8,3    ; @IB_MGMT_CLASS_PERF_MGMT
	.comm	_MLX4_IB_VENDOR_CLASS1,8,3      ; @MLX4_IB_VENDOR_CLASS1
	.comm	_MLX4_IB_VENDOR_CLASS2,8,3      ; @MLX4_IB_VENDOR_CLASS2
	.comm	_IB_MGMT_CLASS_CONG_MGMT,8,3    ; @IB_MGMT_CLASS_CONG_MGMT
	.comm	_IB_SMP_ATTR_PORT_INFO,8,3      ; @IB_SMP_ATTR_PORT_INFO
	.comm	_IB_MAD_IGNORE_MKEY,4,2         ; @IB_MAD_IGNORE_MKEY
	.comm	_MLX4_MAD_IFC_IGNORE_MKEY,4,2   ; @MLX4_MAD_IFC_IGNORE_MKEY
	.comm	_IB_MAD_IGNORE_BKEY,4,2         ; @IB_MAD_IGNORE_BKEY
	.comm	_MLX4_MAD_IFC_IGNORE_BKEY,4,2   ; @MLX4_MAD_IFC_IGNORE_BKEY
	.comm	_MLX4_MAD_IFC_NET_VIEW,4,2      ; @MLX4_MAD_IFC_NET_VIEW
	.comm	_IB_MAD_RESULT_FAILURE,4,2      ; @IB_MAD_RESULT_FAILURE
	.comm	_IB_MAD_RESULT_REPLY,4,2        ; @IB_MAD_RESULT_REPLY
	.no_dead_strip	_ib_process_mad
.subsections_via_symbols
