	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ehca_process_mad               ## -- Begin function ehca_process_mad
	.p2align	4, 0x90
_ehca_process_mad:                      ## @ehca_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.1:
	movq	%rcx, %r12
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	movq	%rdx, %rbx
	movq	%rdi, %r13
	cmpq	%rdx, (%rdi)
	jl	LBB0_3
## %bb.4:
	movq	%r9, %r15
	movq	(%r9), %rax
	movq	_IB_MGMT_CLASS_PERF_MGMT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.7:
	movq	%r8, %r14
	movq	16(%rbp), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r12), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_ehca_dbg
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	movq	%r15, %r8
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ehca_process_perf              ## TAILCALL
LBB0_3:
	movq	_IB_MAD_RESULT_FAILURE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_IB_MAD_RESULT_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_MAD_RESULT_FAILURE,4,2      ## @IB_MAD_RESULT_FAILURE
	.comm	_IB_MGMT_CLASS_PERF_MGMT,8,3    ## @IB_MGMT_CLASS_PERF_MGMT
	.comm	_IB_MAD_RESULT_SUCCESS,4,2      ## @IB_MAD_RESULT_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"port_num=%x src_qp=%x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ehca_process_mad               ; -- Begin function ehca_process_mad
	.p2align	2
_ehca_process_mad:                      ; @ehca_process_mad
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x2, LBB0_5
; %bb.1:
	mov	x22, x3
	cbz	x3, LBB0_5
; %bb.2:
	mov	x23, x2
	mov	x24, x0
	ldr	x8, [x0]
	cmp	x8, x2
	b.lt	LBB0_5
; %bb.3:
	mov	x20, x5
	ldr	x8, [x5]
Lloh0:
	adrp	x9, _IB_MGMT_CLASS_PERF_MGMT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_MGMT_CLASS_PERF_MGMT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	mov	x19, x6
	mov	x21, x4
	ldr	w3, [x22]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	mov	x2, x23
	bl	_ehca_dbg
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ehca_process_perf
LBB0_5:
Lloh5:
	adrp	x8, _IB_MAD_RESULT_FAILURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IB_MAD_RESULT_FAILURE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh7:
	adrp	x8, _IB_MAD_RESULT_SUCCESS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IB_MAD_RESULT_SUCCESS@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_MAD_RESULT_FAILURE,4,2      ; @IB_MAD_RESULT_FAILURE
	.comm	_IB_MGMT_CLASS_PERF_MGMT,8,3    ; @IB_MGMT_CLASS_PERF_MGMT
	.comm	_IB_MAD_RESULT_SUCCESS,4,2      ; @IB_MAD_RESULT_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"port_num=%x src_qp=%x"

.subsections_via_symbols
