	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qedr_process_mad               ## -- Begin function qedr_process_mad
	.p2align	4, 0x90
_qedr_process_mad:                      ## @qedr_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	callq	_get_qedr_dev
	movq	_QEDR_MSG_GSI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	28(%rbx), %ecx
	movl	24(%rbx), %r8d
	movl	20(%rbx), %r9d
	movl	16(%rbx), %r10d
	movl	12(%rbx), %r11d
	movl	8(%rbx), %r14d
	movl	(%rbx), %r15d
	movl	4(%rbx), %ebx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	pushq	%r15
	pushq	%rbx
	pushq	%r14
	pushq	%r11
	pushq	%r10
	callq	_DP_DEBUG
	addq	$48, %rsp
	movq	_IB_MAD_RESULT_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QEDR_MSG_GSI,4,2               ## @QEDR_MSG_GSI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"QEDR_PROCESS_MAD in_mad %x %x %x %x %x %x %x %x\n"

	.comm	_IB_MAD_RESULT_SUCCESS,4,2      ## @IB_MAD_RESULT_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qedr_process_mad               ; -- Begin function qedr_process_mad
	.p2align	2
_qedr_process_mad:                      ; @qedr_process_mad
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x5
	bl	_get_qedr_dev
Lloh0:
	adrp	x8, _QEDR_MSG_GSI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QEDR_MSG_GSI@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldp	w4, w3, [x19, #24]
	ldp	w6, w5, [x19, #16]
	ldp	w8, w7, [x19, #8]
	ldp	w10, w9, [x19]
	stp	w9, w10, [sp, #4]
	str	w8, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_DP_DEBUG
Lloh5:
	adrp	x8, _IB_MAD_RESULT_SUCCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IB_MAD_RESULT_SUCCESS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QEDR_MSG_GSI,4,2               ; @QEDR_MSG_GSI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"QEDR_PROCESS_MAD in_mad %x %x %x %x %x %x %x %x\n"

	.comm	_IB_MAD_RESULT_SUCCESS,4,2      ; @IB_MAD_RESULT_SUCCESS
.subsections_via_symbols
