	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cc_query_status_via            ## -- Begin function cc_query_status_via
	.p2align	4, 0x90
_cc_query_status_via:                   ## @cc_query_status_via
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, -68(%rbp)
	movups	%xmm0, -84(%rbp)
	movl	$0, -52(%rbp)
	movq	%rsi, %rdi
	callq	_portid2str
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_DEBUG
	movq	_IB_MAD_METHOD_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movl	%r12d, -64(%rbp)
	movl	%r14d, -60(%rbp)
	movq	_IB_CC_ATTR_CONGESTION_LOG@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	movq	_IB_CC_DATA_OFFS@GOTPCREL(%rip), %rax
	cmoveq	_IB_CC_LOG_DATA_OFFS@GOTPCREL(%rip), %rax
	movq	_IB_CC_DATA_SZ@GOTPCREL(%rip), %rcx
	cmoveq	_IB_CC_LOG_DATA_SZ@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, -88(%rbp)
	movl	(%rax), %eax
	movl	(%rcx), %ecx
	movl	%ecx, -68(%rbp)
	movl	%eax, -72(%rbp)
	movq	_IB_CC_CLASS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movl	24(%rbp), %eax
	movl	%eax, -80(%rbp)
	movl	$1, (%rbx)
	cmpq	$0, 8(%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_IB_DEFAULT_QP1_QKEY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
LBB0_2:
	leaq	-88(%rbp), %rsi
	movq	16(%rbp), %rdi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%r15, %r8
	callq	_mad_rpc
	testq	%r13, %r13
	je	LBB0_4
## %bb.3:
	movl	-84(%rbp), %ecx
	movl	%ecx, (%r13)
LBB0_4:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"attr 0x%x mod 0x%x route %s"

	.comm	_IB_MAD_METHOD_GET,4,2          ## @IB_MAD_METHOD_GET
	.comm	_IB_CC_ATTR_CONGESTION_LOG,4,2  ## @IB_CC_ATTR_CONGESTION_LOG
	.comm	_IB_CC_LOG_DATA_SZ,4,2          ## @IB_CC_LOG_DATA_SZ
	.comm	_IB_CC_LOG_DATA_OFFS,4,2        ## @IB_CC_LOG_DATA_OFFS
	.comm	_IB_CC_DATA_SZ,4,2              ## @IB_CC_DATA_SZ
	.comm	_IB_CC_DATA_OFFS,4,2            ## @IB_CC_DATA_OFFS
	.comm	_IB_CC_CLASS,4,2                ## @IB_CC_CLASS
	.comm	_IB_DEFAULT_QP1_QKEY,8,3        ## @IB_DEFAULT_QP1_QKEY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cc_query_status_via            ; -- Begin function cc_query_status_via
	.p2align	2
_cc_query_status_via:                   ; @cc_query_status_via
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x23, x7
	mov	x20, x6
	mov	x19, x5
	mov	x24, x4
	mov	x25, x3
	mov	x26, x2
	mov	x22, x1
	mov	x21, x0
	str	wzr, [sp, #44]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #28]
	stur	q0, [sp, #12]
	mov	x0, x1
	bl	_portid2str
	mov	x3, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x26
	mov	x2, x25
	bl	_DEBUG
Lloh2:
	adrp	x8, _IB_MAD_METHOD_GET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IB_MAD_METHOD_GET@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	stp	w25, w8, [sp, #36]
	str	w26, [sp, #32]
	str	w24, [sp, #8]
Lloh5:
	adrp	x8, _IB_CC_ATTR_CONGESTION_LOG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IB_CC_ATTR_CONGESTION_LOG@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _IB_CC_LOG_DATA_OFFS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IB_CC_LOG_DATA_OFFS@GOTPAGEOFF]
Lloh10:
	adrp	x10, _IB_CC_DATA_OFFS@GOTPAGE
Lloh11:
	ldr	x10, [x10, _IB_CC_DATA_OFFS@GOTPAGEOFF]
	cmp	w8, w26
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _IB_CC_LOG_DATA_SZ@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IB_CC_LOG_DATA_SZ@GOTPAGEOFF]
Lloh14:
	adrp	x10, _IB_CC_DATA_SZ@GOTPAGE
Lloh15:
	ldr	x10, [x10, _IB_CC_DATA_SZ@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	stp	w8, w9, [sp, #24]
Lloh16:
	adrp	x8, _IB_CC_CLASS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IB_CC_CLASS@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	stp	w23, w8, [sp, #16]
	mov	w8, #1
	str	w8, [x22]
	ldr	x8, [x22, #8]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh19:
	adrp	x8, _IB_DEFAULT_QP1_QKEY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IB_DEFAULT_QP1_QKEY@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	str	x8, [x22, #8]
LBB0_2:
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x22
	mov	x3, x21
	mov	x4, x21
	bl	_mad_rpc
	cbz	x19, LBB0_4
; %bb.3:
	ldr	w8, [sp, #12]
	str	w8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"attr 0x%x mod 0x%x route %s"

	.comm	_IB_MAD_METHOD_GET,4,2          ; @IB_MAD_METHOD_GET
	.comm	_IB_CC_ATTR_CONGESTION_LOG,4,2  ; @IB_CC_ATTR_CONGESTION_LOG
	.comm	_IB_CC_LOG_DATA_SZ,4,2          ; @IB_CC_LOG_DATA_SZ
	.comm	_IB_CC_LOG_DATA_OFFS,4,2        ; @IB_CC_LOG_DATA_OFFS
	.comm	_IB_CC_DATA_SZ,4,2              ; @IB_CC_DATA_SZ
	.comm	_IB_CC_DATA_OFFS,4,2            ; @IB_CC_DATA_OFFS
	.comm	_IB_CC_CLASS,4,2                ; @IB_CC_CLASS
	.comm	_IB_DEFAULT_QP1_QKEY,8,3        ; @IB_DEFAULT_QP1_QKEY
.subsections_via_symbols
