	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qib_process_mad                ## -- Begin function qib_process_mad
	.p2align	4, 0x90
_qib_process_mad:                       ## @qib_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movl	%edx, %r13d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	32(%rbp), %r12
	movq	24(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %r15
	movl	%edx, %esi
	callq	_to_iport
	movq	%rax, %rdi
	callq	_ppd_from_ibp
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %edi
	cmpq	$4, %r15
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpq	$4, (%r12)
	setne	%dil
LBB0_2:
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_IB_MAD_RESULT_FAILURE@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%r14), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_10
## %bb.5:
	cmpl	$130, %eax
	je	LBB0_11
## %bb.6:
	cmpl	$131, %eax
	jne	LBB0_12
## %bb.7:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_12
## %bb.8:
	movq	_qib_cc_table_size@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_12
## %bb.9:
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movq	%r14, %rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_process_cc                     ## TAILCALL
LBB0_10:
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movq	%r14, %rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_process_subn                   ## TAILCALL
LBB0_12:
	movq	_IB_MAD_RESULT_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	%r14, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_process_perf                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_MAD_RESULT_FAILURE,4,2      ## @IB_MAD_RESULT_FAILURE
	.comm	_qib_cc_table_size,4,2          ## @qib_cc_table_size
	.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	_qib_process_mad                ; -- Begin function qib_process_mad
	.p2align	2
_qib_process_mad:                       ; @qib_process_mad
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x7
	mov	x25, x6
	mov	x20, x5
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x26, [x29, #16]
	mov	x1, x2
	bl	_to_iport
	bl	_ppd_from_ibp
	mov	x24, x0
	cmp	x25, #4
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x26]
	cmp	x8, #4
	cset	w0, ne
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _IB_MAD_RESULT_FAILURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_MAD_RESULT_FAILURE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w0, #1
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_2
LBB0_5:
	ldr	w8, [x20]
	sub	w9, w8, #128
	cmp	w9, #2
	b.lo	LBB0_11
; %bb.6:
	cmp	w8, #130
	b.eq	LBB0_13
; %bb.7:
	cmp	w8, #131
	b.ne	LBB0_12
; %bb.8:
	ldr	w8, [x24]
	cbz	w8, LBB0_12
; %bb.9:
Lloh2:
	adrp	x8, _qib_cc_table_size@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qib_cc_table_size@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbz	w8, LBB0_12
; %bb.10:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_process_cc
LBB0_11:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_process_subn
LBB0_12:
Lloh5:
	adrp	x8, _IB_MAD_RESULT_SUCCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IB_MAD_RESULT_SUCCESS@GOTPAGEOFF]
	b	LBB0_3
LBB0_13:
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_process_perf
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_MAD_RESULT_FAILURE,4,2      ; @IB_MAD_RESULT_FAILURE
	.comm	_qib_cc_table_size,4,2          ; @qib_cc_table_size
	.comm	_IB_MAD_RESULT_SUCCESS,4,2      ; @IB_MAD_RESULT_SUCCESS
.subsections_via_symbols
