	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_MAD_IFC_wrapper
_mlx4_MAD_IFC_wrapper:                  ## @mlx4_MAD_IFC_wrapper
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rcx), %rbx
	callq	_mlx4_priv
	cmpl	$1, 8(%rbx)
	jne	LBB0_29
## %bb.1:
	movq	%rax, %r12
	movq	16(%rbx), %rax
	movq	_IB_MGMT_CLASS_SUBN_LID_ROUTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_29
## %bb.2:
	cmpl	$1, 24(%rbx)
	jne	LBB0_29
## %bb.3:
	movq	32(%rbx), %rax
	movq	_IB_MGMT_METHOD_GET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_29
## %bb.4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdx
	movl	(%r15), %ecx
	movq	40(%rbx), %rax
	movq	_IB_SMP_ATTR_PKEY_TABLE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_16
## %bb.5:
	movq	(%rdx), %r15
	movl	48(%rbx), %edi
	movq	%rcx, %rbx
	callq	_be32_to_cpu
	movq	%rbx, %rcx
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.6:
	cmpl	(%r13), %ecx
	jle	LBB0_9
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_16:
	movq	_IB_SMP_ATTR_PORT_INFO@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_20
## %bb.17:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	4(%r15), %r9d
	movl	8(%r15), %r8d
	movq	_MLX4_CMD_TIME_CLASS_C@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MLX4_CMD_NATIVE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ebx
	movq	%r13, %rdi
	pushq	%rbx
	pushq	%rax
	movq	%rcx, %rbx
	callq	_mlx4_cmd_box
	addq	$16, %rsp
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_28
## %bb.18:
	movq	%r13, %rdi
	callq	_mlx4_master_func_num
	xorl	%r12d, %r12d
	cmpl	%r14d, %eax
	je	LBB0_28
## %bb.19:
	movq	%rbx, %rsi
	movslq	%esi, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r15
	movq	_PORT_STATE_OFFSET@GOTPCREL(%rip), %rax
	movq	%r13, %rdi
	movslq	(%rax), %r13
	movl	$240, %ebx
	andl	(%r15,%r13,4), %ebx
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r14d, %edx
	callq	_vf_port_state
	orl	%ebx, %eax
	movl	%eax, (%r15,%r13,4)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movslq	%r14d, %rcx
	movq	(%rax,%rcx,8), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %eax
	movl	%eax, -80(%rbp)
	movq	_PORT_CAPABILITY_LOCATION_IN_SMP@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	shlq	$2, %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	(%rax), %rdi
	leaq	-80(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	jmp	LBB0_28
LBB0_20:
	movq	_IB_SMP_ATTR_GUID_INFO@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_25
## %bb.21:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rax
	addl	$7, %r14d
	testl	%eax, %eax
	movq	%r13, %r12
	movq	%rax, %r13
	cmovnsl	%eax, %r14d
	movl	%r14d, %edi
	sarl	$3, %edi
	callq	_cpu_to_be32
	movl	%eax, 48(%rbx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	8(%r15), %r8d
	movl	(%r15), %ecx
	movl	4(%r15), %r9d
	movq	_MLX4_CMD_TIME_CLASS_C@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MLX4_CMD_NATIVE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ebx
	movq	%r12, %rdi
	pushq	%rbx
	pushq	%rax
	callq	_mlx4_cmd_box
	addq	$16, %rsp
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_28
## %bb.22:
	andl	$-8, %r14d
	movq	%r13, %r12
	subl	%r14d, %r12d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_24
## %bb.23:
	movq	%r12, %rax
	movq	(%rbx), %rdi
	shll	$3, %eax
	cltq
	leaq	(%rdi,%rax,4), %rsi
	movl	$8, %edx
	callq	_memcpy
LBB0_24:
	movq	(%rbx), %rdi
	addq	$32, %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	jmp	LBB0_28
LBB0_9:
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	%r15, %rbx
	movq	8(%r13), %rax
	movl	(%rax,%rcx,4), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4, %esi
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	callq	_kcalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %r15
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%rax, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_get_full_pkey_table
	movq	%r12, %r13
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_15
## %bb.12:
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	shll	$5, %eax
	cmpl	$2147483616, %eax               ## imm = 0x7FFFFFE0
	je	LBB0_15
## %bb.13:
	movq	%rbx, %rsi
	movl	%eax, %ecx
	movslq	%r14d, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movslq	%ecx, %rbx
	addl	$32, %ecx
	movslq	%ecx, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movslq	(%rax,%rbx,4), %rax
	movl	(%r15,%rax,4), %edi
	movq	%rsi, %r14
	callq	_cpu_to_be16
	movq	%r14, %rsi
	leal	31(%rbx), %ecx
	testl	%ebx, %ebx
	cmovnsl	%ebx, %ecx
	andl	$-32, %ecx
	movl	%ebx, %edx
	subl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%eax, (%r14,%rcx,4)
	incq	%rbx
	cmpq	-64(%rbp), %rbx                 ## 8-byte Folded Reload
	jl	LBB0_14
LBB0_15:
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_28
LBB0_25:
	movq	_IB_SMP_ATTR_NODE_INFO@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_29
## %bb.26:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	4(%r15), %r9d
	movl	8(%r15), %r8d
	movq	_MLX4_CMD_TIME_CLASS_C@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MLX4_CMD_NATIVE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ebx
	movq	%r13, %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	pushq	%rbx
	pushq	%rax
	callq	_mlx4_cmd_box
	addq	$16, %rsp
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_28
## %bb.27:
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_mlx4_get_slave_node_guid
	movl	%eax, -76(%rbp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	addq	$48, %rdi
	leaq	-76(%rbp), %rsi
	movl	$8, %edx
	callq	_memcpy
	xorl	%r12d, %r12d
	jmp	LBB0_28
LBB0_29:
	movq	%r13, %r12
	movq	%r13, %rdi
	callq	_mlx4_master_func_num
	cmpl	%r14d, %eax
	jne	LBB0_30
LBB0_35:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	8(%r15), %r8d
	movl	(%r15), %ecx
	movl	4(%r15), %r9d
	movq	_MLX4_CMD_TIME_CLASS_C@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MLX4_CMD_NATIVE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ebx
	movq	%r12, %rdi
	pushq	%rbx
	pushq	%rax
	callq	_mlx4_cmd_box
	addq	$56, %rsp
	jmp	LBB0_36
LBB0_30:
	movq	%r14, %r13
	movq	16(%rbx), %r14
	movq	_IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_32
## %bb.31:
	movq	32(%rbx), %rcx
LBB0_34:
	movq	40(%rbx), %rdi
	movq	%rcx, %rbx
	callq	_be16_to_cpu
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	movq	%rbx, %rcx
	movq	%r14, %r8
	movl	%eax, %r9d
	callq	_mlx4_err
	movq	_EPERM@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_28:
	movl	%r12d, %eax
	addq	$40, %rsp
LBB0_36:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	movq	_IB_MGMT_CLASS_SUBN_LID_ROUTED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_35
## %bb.33:
	movq	32(%rbx), %rcx
	movq	_IB_MGMT_METHOD_SET@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_35
	jmp	LBB0_34
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_MGMT_CLASS_SUBN_LID_ROUTED,8,3 ## @IB_MGMT_CLASS_SUBN_LID_ROUTED
	.comm	_IB_MGMT_METHOD_GET,8,3         ## @IB_MGMT_METHOD_GET
	.comm	_IB_SMP_ATTR_PKEY_TABLE,8,3     ## @IB_SMP_ATTR_PKEY_TABLE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IB_SMP_ATTR_PORT_INFO,8,3      ## @IB_SMP_ATTR_PORT_INFO
	.comm	_MLX4_CMD_TIME_CLASS_C,4,2      ## @MLX4_CMD_TIME_CLASS_C
	.comm	_MLX4_CMD_NATIVE,4,2            ## @MLX4_CMD_NATIVE
	.comm	_PORT_STATE_OFFSET,4,2          ## @PORT_STATE_OFFSET
	.comm	_PORT_CAPABILITY_LOCATION_IN_SMP,4,2 ## @PORT_CAPABILITY_LOCATION_IN_SMP
	.comm	_IB_SMP_ATTR_GUID_INFO,8,3      ## @IB_SMP_ATTR_GUID_INFO
	.comm	_IB_SMP_ATTR_NODE_INFO,8,3      ## @IB_SMP_ATTR_NODE_INFO
	.comm	_IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE,8,3 ## @IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE
	.comm	_IB_MGMT_METHOD_SET,8,3         ## @IB_MGMT_METHOD_SET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"slave %d is trying to execute a Subnet MGMT MAD, class 0x%x, method 0x%x for attr 0x%x. Rejecting\n"

	.comm	_EPERM,4,2                      ## @EPERM
	.no_dead_strip	_mlx4_MAD_IFC_wrapper
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_MAD_IFC_wrapper
_mlx4_MAD_IFC_wrapper:                  ; @mlx4_MAD_IFC_wrapper
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x28, [x3, #8]
	bl	_mlx4_priv
	ldr	w8, [x28, #8]
	cmp	w8, #1
	b.ne	LBB0_27
; %bb.1:
	ldr	x8, [x28, #16]
Lloh0:
	adrp	x9, _IB_MGMT_CLASS_SUBN_LID_ROUTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_MGMT_CLASS_SUBN_LID_ROUTED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.2:
	ldr	w8, [x28, #24]
	cmp	w8, #1
	b.ne	LBB0_27
; %bb.3:
	ldr	x8, [x28, #32]
Lloh3:
	adrp	x9, _IB_MGMT_METHOD_GET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_MGMT_METHOD_GET@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.4:
	mov	x21, x0
	ldr	x27, [x22, #8]
	ldr	w26, [x24]
	sxtw	x25, w26
	ldr	x8, [x28, #40]
Lloh6:
	adrp	x9, _IB_SMP_ATTR_PKEY_TABLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_SMP_ATTR_PKEY_TABLE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
	ldr	x27, [x27]
	ldr	w0, [x28, #48]
	bl	_be32_to_cpu
	cmp	w26, #1
	b.lt	LBB0_7
; %bb.6:
	ldr	w8, [x20]
	cmp	w25, w8
	b.le	LBB0_18
LBB0_7:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_32
LBB0_8:
Lloh11:
	adrp	x9, _IB_SMP_ATTR_PORT_INFO@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IB_SMP_ATTR_PORT_INFO@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.9:
	ldr	w1, [x23]
	ldr	w2, [x22]
	ldp	w5, w4, [x24, #4]
Lloh14:
	adrp	x8, _MLX4_CMD_TIME_CLASS_C@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MLX4_CMD_TIME_CLASS_C@GOTPAGEOFF]
Lloh16:
	ldr	w6, [x8]
Lloh17:
	adrp	x8, _MLX4_CMD_NATIVE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MLX4_CMD_NATIVE@GOTPAGEOFF]
Lloh19:
	ldr	w7, [x8]
	mov	x0, x20
	mov	x3, x25
	bl	_mlx4_cmd_box
	mov	x22, x0
	cbnz	w0, LBB0_33
; %bb.10:
	mov	x0, x20
	bl	_mlx4_master_func_num
	cmp	w0, w19
	b.eq	LBB0_12
; %bb.11:
Lloh20:
	adrp	x8, _PORT_STATE_OFFSET@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PORT_STATE_OFFSET@GOTPAGEOFF]
	ldr	x22, [x27]
Lloh22:
	ldrsw	x8, [x8]
	lsl	x23, x8, #2
	ldr	w8, [x22, x23]
	and	w24, w8, #0xf0
	mov	x0, x20
	mov	x1, x25
	mov	x2, x19
	bl	_vf_port_state
	orr	w8, w24, w0
	str	w8, [x22, x23]
	ldr	x8, [x21, #8]
	ldr	x8, [x8, w19, sxtw #3]
	ldr	w8, [x8, x25, lsl #2]
	str	w8, [sp, #12]
	ldr	x8, [x27]
Lloh23:
	adrp	x9, _PORT_CAPABILITY_LOCATION_IN_SMP@GOTPAGE
Lloh24:
	ldr	x9, [x9, _PORT_CAPABILITY_LOCATION_IN_SMP@GOTPAGEOFF]
Lloh25:
	ldrsw	x9, [x9]
	add	x0, x8, x9, lsl #2
	add	x1, sp, #12
	mov	w2, #4
	bl	_memcpy
LBB0_12:
	mov	w22, #0
	b	LBB0_33
LBB0_13:
Lloh26:
	adrp	x9, _IB_SMP_ATTR_GUID_INFO@GOTPAGE
Lloh27:
	ldr	x9, [x9, _IB_SMP_ATTR_GUID_INFO@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.14:
	add	w8, w19, #7
	cmp	w19, #0
	csel	w8, w8, w19, lt
	asr	w21, w8, #3
	mov	x0, x21
	bl	_cpu_to_be32
	str	w0, [x28, #48]
	ldr	w1, [x23]
	ldr	w2, [x22]
	ldp	w5, w4, [x24, #4]
	ldr	w3, [x24]
Lloh29:
	adrp	x8, _MLX4_CMD_TIME_CLASS_C@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MLX4_CMD_TIME_CLASS_C@GOTPAGEOFF]
Lloh31:
	ldr	w6, [x8]
Lloh32:
	adrp	x8, _MLX4_CMD_NATIVE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MLX4_CMD_NATIVE@GOTPAGEOFF]
Lloh34:
	ldr	w7, [x8]
	mov	x0, x20
	bl	_mlx4_cmd_box
	mov	x22, x0
	cbnz	w0, LBB0_33
; %bb.15:
	subs	w8, w19, w21, lsl #3
	b.eq	LBB0_17
; %bb.16:
	ldr	x0, [x27]
	lsl	w8, w8, #3
	add	x1, x0, w8, sxtw #2
	mov	w2, #8
	bl	_memcpy
LBB0_17:
	ldr	x8, [x27]
	add	x0, x8, #32
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	mov	w22, #0
	b	LBB0_33
LBB0_18:
	mov	x28, x0
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x26, lsl #2]
Lloh35:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	w1, #4
	bl	_kcalloc
	cbz	x0, LBB0_36
; %bb.19:
	mov	x24, x0
	mov	x0, x20
	mov	x1, x25
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	bl	_get_full_pkey_table
	mov	x22, x0
	cbnz	w0, LBB0_23
; %bb.20:
	lsl	w8, w28, #5
	mov	w9, #2147483616
	cmp	w8, w9
	b.eq	LBB0_23
; %bb.21:
	sxtw	x19, w19
	add	w9, w8, #32
	sub	w20, w26, #1
	sxtw	x23, w8
	sxtw	x25, w9
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8, x19, lsl #3]
	ldr	x8, [x8, x20, lsl #3]
	ldrsw	x8, [x8, x23, lsl #2]
	ldr	w0, [x24, x8, lsl #2]
	bl	_cpu_to_be16
	negs	w8, w23
	and	w8, w8, #0x1f
	and	w9, w23, #0x1f
	csneg	w8, w9, w8, mi
	str	w0, [x27, w8, sxtw #2]
	add	x23, x23, #1
	cmp	x23, x25
	b.lt	LBB0_22
LBB0_23:
	mov	x0, x24
	bl	_kfree
	b	LBB0_33
LBB0_24:
Lloh38:
	adrp	x9, _IB_SMP_ATTR_NODE_INFO@GOTPAGE
Lloh39:
	ldr	x9, [x9, _IB_SMP_ATTR_NODE_INFO@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.25:
	ldr	w1, [x23]
	ldr	w2, [x22]
	ldp	w5, w4, [x24, #4]
Lloh41:
	adrp	x8, _MLX4_CMD_TIME_CLASS_C@GOTPAGE
Lloh42:
	ldr	x8, [x8, _MLX4_CMD_TIME_CLASS_C@GOTPAGEOFF]
Lloh43:
	ldr	w6, [x8]
Lloh44:
	adrp	x8, _MLX4_CMD_NATIVE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MLX4_CMD_NATIVE@GOTPAGEOFF]
Lloh46:
	ldr	w7, [x8]
	mov	x0, x20
	mov	x3, x26
	bl	_mlx4_cmd_box
	mov	x22, x0
	cbnz	w0, LBB0_33
; %bb.26:
	mov	x0, x20
	mov	x1, x19
	bl	_mlx4_get_slave_node_guid
	str	w0, [sp, #8]
	ldr	x8, [x27]
	add	x0, x8, #48
	add	x1, sp, #8
	mov	w2, #8
	bl	_memcpy
	b	LBB0_33
LBB0_27:
	mov	x0, x20
	bl	_mlx4_master_func_num
	cmp	w0, w19
	b.ne	LBB0_29
LBB0_28:
	ldr	w1, [x23]
	ldr	w2, [x22]
	ldp	w5, w4, [x24, #4]
	ldr	w3, [x24]
Lloh47:
	adrp	x8, _MLX4_CMD_TIME_CLASS_C@GOTPAGE
Lloh48:
	ldr	x8, [x8, _MLX4_CMD_TIME_CLASS_C@GOTPAGEOFF]
Lloh49:
	ldr	w6, [x8]
Lloh50:
	adrp	x8, _MLX4_CMD_NATIVE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _MLX4_CMD_NATIVE@GOTPAGEOFF]
Lloh52:
	ldr	w7, [x8]
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_mlx4_cmd_box
LBB0_29:
	ldr	x21, [x28, #16]
Lloh53:
	adrp	x8, _IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPAGE
Lloh54:
	ldr	x8, [x8, _IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
	cmp	x21, x8
	b.ne	LBB0_34
; %bb.30:
	ldr	x25, [x28, #32]
LBB0_31:
	ldr	x0, [x28, #40]
	bl	_be16_to_cpu
	mov	x5, x0
Lloh56:
	adrp	x1, l_.str@PAGE
Lloh57:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x25
	mov	x4, x21
	bl	_mlx4_err
Lloh58:
	adrp	x8, _EPERM@GOTPAGE
Lloh59:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
LBB0_32:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_33:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_34:
Lloh60:
	adrp	x8, _IB_MGMT_CLASS_SUBN_LID_ROUTED@GOTPAGE
Lloh61:
	ldr	x8, [x8, _IB_MGMT_CLASS_SUBN_LID_ROUTED@GOTPAGEOFF]
Lloh62:
	ldr	x8, [x8]
	cmp	x21, x8
	b.ne	LBB0_28
; %bb.35:
	ldr	x25, [x28, #32]
Lloh63:
	adrp	x8, _IB_MGMT_METHOD_SET@GOTPAGE
Lloh64:
	ldr	x8, [x8, _IB_MGMT_METHOD_SET@GOTPAGEOFF]
Lloh65:
	ldr	x8, [x8]
	cmp	x25, x8
	b.ne	LBB0_28
	b	LBB0_31
LBB0_36:
Lloh66:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh67:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_MGMT_CLASS_SUBN_LID_ROUTED,8,3 ; @IB_MGMT_CLASS_SUBN_LID_ROUTED
	.comm	_IB_MGMT_METHOD_GET,8,3         ; @IB_MGMT_METHOD_GET
	.comm	_IB_SMP_ATTR_PKEY_TABLE,8,3     ; @IB_SMP_ATTR_PKEY_TABLE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IB_SMP_ATTR_PORT_INFO,8,3      ; @IB_SMP_ATTR_PORT_INFO
	.comm	_MLX4_CMD_TIME_CLASS_C,4,2      ; @MLX4_CMD_TIME_CLASS_C
	.comm	_MLX4_CMD_NATIVE,4,2            ; @MLX4_CMD_NATIVE
	.comm	_PORT_STATE_OFFSET,4,2          ; @PORT_STATE_OFFSET
	.comm	_PORT_CAPABILITY_LOCATION_IN_SMP,4,2 ; @PORT_CAPABILITY_LOCATION_IN_SMP
	.comm	_IB_SMP_ATTR_GUID_INFO,8,3      ; @IB_SMP_ATTR_GUID_INFO
	.comm	_IB_SMP_ATTR_NODE_INFO,8,3      ; @IB_SMP_ATTR_NODE_INFO
	.comm	_IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE,8,3 ; @IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE
	.comm	_IB_MGMT_METHOD_SET,8,3         ; @IB_MGMT_METHOD_SET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"slave %d is trying to execute a Subnet MGMT MAD, class 0x%x, method 0x%x for attr 0x%x. Rejecting\n"

	.comm	_EPERM,4,2                      ; @EPERM
	.no_dead_strip	_mlx4_MAD_IFC_wrapper
.subsections_via_symbols
