	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_ib_process_mad            ## -- Begin function mlx5_ib_process_mad
	.p2align	4, 0x90
_mlx5_ib_process_mad:                   ## @mlx5_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movq	32(%rbp), %r13
	movq	24(%rbp), %r14
	movq	16(%rbp), %rbx
	callq	_to_mdev
	movq	%rax, %r15
	movl	$1, %edi
	cmpq	$24, %rbx
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpq	$24, (%r13)
	setne	%dil
LBB0_2:
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_IB_MAD_RESULT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_5:
	movl	16(%r14), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	(%r15), %edi
	movq	_vport_counters@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_GEN
	testq	%rax, %rax
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	je	LBB0_8
## %bb.6:
	movq	(%r9), %rax
	movq	_IB_MGMT_CLASS_PERF_MGMT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	8(%r9), %rax
	movq	_IB_MGMT_METHOD_GET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.9:
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r9, %rdx
	movq	%r14, %rcx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_process_pma_cmd                ## TAILCALL
LBB0_8:
	movq	%r14, (%rsp)
	movq	%r12, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_process_mad
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_MAD_RESULT_FAILURE,4,2      ## @IB_MAD_RESULT_FAILURE
	.comm	_vport_counters,4,2             ## @vport_counters
	.comm	_IB_MGMT_CLASS_PERF_MGMT,8,3    ## @IB_MGMT_CLASS_PERF_MGMT
	.comm	_IB_MGMT_METHOD_GET,8,3         ## @IB_MGMT_METHOD_GET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_ib_process_mad            ; -- Begin function mlx5_ib_process_mad
	.p2align	2
_mlx5_ib_process_mad:                   ; @mlx5_ib_process_mad
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x7
	mov	x27, x6
	mov	x20, x5
	mov	x21, x4
	mov	x23, x3
	mov	x22, x2
	mov	x24, x1
	mov	x25, x0
	ldr	x28, [x29, #16]
	bl	_to_mdev
	mov	x26, x0
	cmp	x27, #24
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x28]
	cmp	x8, #24
	cset	w0, ne
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _IB_MAD_RESULT_FAILURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_MAD_RESULT_FAILURE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w0, #1
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_2
LBB0_4:
	ldr	w0, [x19, #16]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x26]
Lloh3:
	adrp	x8, _vport_counters@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vport_counters@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_MLX5_CAP_GEN
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _IB_MGMT_CLASS_PERF_MGMT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_MGMT_CLASS_PERF_MGMT@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x20, #8]
Lloh9:
	adrp	x9, _IB_MGMT_METHOD_GET@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IB_MGMT_METHOD_GET@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x26
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_process_pma_cmd
LBB0_8:
	mov	x0, x25
	mov	x1, x24
	mov	x2, x22
	mov	x3, x23
	mov	x4, x21
	mov	x5, x20
	mov	x6, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_process_mad
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_MAD_RESULT_FAILURE,4,2      ; @IB_MAD_RESULT_FAILURE
	.comm	_vport_counters,4,2             ; @vport_counters
	.comm	_IB_MGMT_CLASS_PERF_MGMT,8,3    ; @IB_MGMT_CLASS_PERF_MGMT
	.comm	_IB_MGMT_METHOD_GET,8,3         ; @IB_MGMT_METHOD_GET
.subsections_via_symbols
