	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_errors
_print_errors:                          ## @print_errors
	.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
	movl	$8232, %eax                     ## imm = 0x2028
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -8272(%rbp)                ## 8-byte Spill
	movl	%r8d, %ebx
	movq	%rcx, -8264(%rbp)               ## 8-byte Spill
	movq	%rdx, -8256(%rbp)               ## 8-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-4144(%rbp), %r12
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_memset
	leaq	-8240(%rbp), %rdi
	xorl	%esi, %esi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_memset
	movq	_lid2sl_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 8(%r15)
	movq	_ibd_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IB_GSI_PORT_COUNTERS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_ibmad_port@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_pma_query_via
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	-8256(%rbp), %r14               ## 8-byte Reload
	movq	_IB_PM_EXT_WIDTH_SUPPORTED@GOTPCREL(%rip), %rax
	movq	_IB_PM_EXT_WIDTH_NOIETF_SUP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r13d, %ecx
	je	LBB0_3
## %bb.7:
	movq	_ibd_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IB_GSI_PORT_COUNTERS_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_ibmad_port@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-8240(%rbp), %r12
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_pma_query_via
	testl	%eax, %eax
	jne	LBB0_4
## %bb.8:
	movq	%r15, %rdi
	callq	_portid2str
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_IBWARN
	movq	_summary@GOTPCREL(%rip), %rax
	incl	(%rax)
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_1:
	movq	%r15, %rdi
	callq	_portid2str
	leaq	L_.str(%rip), %rdi
	movq	-8256(%rbp), %rsi               ## 8-byte Reload
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_IBWARN
	movq	_summary@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_9
LBB0_3:
	xorl	%r12d, %r12d
LBB0_4:
	movq	_IB_PM_PC_XMIT_WAIT_SUP@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	jne	LBB0_6
## %bb.5:
	movl	$0, -8244(%rbp)
	movq	_IB_PC_XMT_WAIT_F@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4144(%rbp), %rdi
	leaq	-8244(%rbp), %rdx
	callq	_mad_encode_field
LBB0_6:
	leaq	-4144(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	-8264(%rbp), %rdx               ## 8-byte Reload
	movl	%ebx, %r8d
	movq	-8272(%rbp), %r9                ## 8-byte Reload
	pushq	%r13
	pushq	%r12
	callq	_print_results
	addq	$16, %rsp
	movl	%eax, %r14d
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r14d, %eax
	addq	$8232, %rsp                     ## imm = 0x2028
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_lid2sl_table,8,3               ## @lid2sl_table
	.comm	_ibd_timeout,4,2                ## @ibd_timeout
	.comm	_IB_GSI_PORT_COUNTERS,4,2       ## @IB_GSI_PORT_COUNTERS
	.comm	_ibmad_port,4,2                 ## @ibmad_port
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IB_GSI_PORT_COUNTERS query failed on %s, %s port %d"

	.comm	_summary,4,2                    ## @summary
	.comm	_IB_PM_EXT_WIDTH_SUPPORTED,4,2  ## @IB_PM_EXT_WIDTH_SUPPORTED
	.comm	_IB_PM_EXT_WIDTH_NOIETF_SUP,4,2 ## @IB_PM_EXT_WIDTH_NOIETF_SUP
	.comm	_IB_GSI_PORT_COUNTERS_EXT,4,2   ## @IB_GSI_PORT_COUNTERS_EXT
L_.str.1:                               ## @.str.1
	.asciz	"IB_GSI_PORT_COUNTERS_EXT query failed on %s, %s port %d"

	.comm	_IB_PM_PC_XMIT_WAIT_SUP,4,2     ## @IB_PM_PC_XMIT_WAIT_SUP
	.comm	_IB_PC_XMT_WAIT_F,4,2           ## @IB_PC_XMT_WAIT_F
	.no_dead_strip	_print_errors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_errors
_print_errors:                          ; @print_errors
	.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	w9, #8208
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #2, lsl #12             ; =8192
	sub	sp, sp, #16
	mov	x21, x5
	mov	x19, x4
	mov	x24, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	add	x0, sp, #1, lsl #12             ; =4096
	add	x0, x0, #8
	mov	w1, #0
	mov	w2, #1024
	bl	_memset
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #1024
	bl	_memset
Lloh5:
	adrp	x8, _lid2sl_table@GOTPAGE
Lloh6:
	ldr	x8, [x8, _lid2sl_table@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x23]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x23, #8]
Lloh8:
	adrp	x26, _ibd_timeout@GOTPAGE
Lloh9:
	ldr	x26, [x26, _ibd_timeout@GOTPAGEOFF]
	ldr	w3, [x26]
Lloh10:
	adrp	x8, _IB_GSI_PORT_COUNTERS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IB_GSI_PORT_COUNTERS@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
Lloh13:
	adrp	x27, _ibmad_port@GOTPAGE
Lloh14:
	ldr	x27, [x27, _ibmad_port@GOTPAGEOFF]
	ldr	w5, [x27]
	add	x0, sp, #1, lsl #12             ; =4096
	add	x0, x0, #8
	mov	x1, x23
	mov	x2, x19
	bl	_pma_query_via
	cbz	w0, LBB0_4
; %bb.1:
Lloh15:
	adrp	x8, _IB_PM_EXT_WIDTH_SUPPORTED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IB_PM_EXT_WIDTH_SUPPORTED@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _IB_PM_EXT_WIDTH_NOIETF_SUP@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IB_PM_EXT_WIDTH_NOIETF_SUP@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w22
	b.eq	LBB0_6
; %bb.2:
	add	x25, sp, #8
	ldr	w3, [x26]
Lloh21:
	adrp	x8, _IB_GSI_PORT_COUNTERS_EXT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IB_GSI_PORT_COUNTERS_EXT@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
	ldr	w5, [x27]
	add	x0, sp, #8
	mov	x1, x23
	mov	x2, x19
	bl	_pma_query_via
	cbnz	w0, LBB0_7
; %bb.3:
	mov	x0, x23
	bl	_portid2str
	mov	x2, x0
Lloh24:
	adrp	x0, l_.str.1@PAGE
Lloh25:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
	mov	x0, x23
	bl	_portid2str
	mov	x2, x0
Lloh26:
	adrp	x0, l_.str@PAGE
Lloh27:
	add	x0, x0, l_.str@PAGEOFF
LBB0_5:
	mov	x1, x20
	mov	x3, x19
	bl	_IBWARN
	mov	w0, #0
Lloh28:
	adrp	x8, _summary@GOTPAGE
Lloh29:
	ldr	x8, [x8, _summary@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_10
LBB0_6:
	mov	x25, #0
LBB0_7:
Lloh30:
	adrp	x8, _IB_PM_PC_XMIT_WAIT_SUP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IB_PM_PC_XMIT_WAIT_SUP@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	tst	w8, w22
	b.ne	LBB0_9
; %bb.8:
	str	wzr, [sp, #4]
Lloh33:
	adrp	x8, _IB_PC_XMT_WAIT_F@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IB_PC_XMT_WAIT_F@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	add	x0, sp, #1, lsl #12             ; =4096
	add	x0, x0, #8
	add	x2, sp, #4
	bl	_mad_encode_field
LBB0_9:
	add	x3, sp, #1, lsl #12             ; =4096
	add	x3, x3, #8
	mov	x0, x23
	mov	x1, x20
	mov	x2, x24
	mov	x4, x19
	mov	x5, x21
	mov	x6, x25
	mov	x7, x22
	bl	_print_results
LBB0_10:
	ldur	x8, [x29, #-88]
Lloh36:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	add	sp, sp, #2, lsl #12             ; =8192
	add	sp, sp, #16
	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_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_lid2sl_table,8,3               ; @lid2sl_table
	.comm	_ibd_timeout,4,2                ; @ibd_timeout
	.comm	_IB_GSI_PORT_COUNTERS,4,2       ; @IB_GSI_PORT_COUNTERS
	.comm	_ibmad_port,4,2                 ; @ibmad_port
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IB_GSI_PORT_COUNTERS query failed on %s, %s port %d"

	.comm	_summary,4,2                    ; @summary
	.comm	_IB_PM_EXT_WIDTH_SUPPORTED,4,2  ; @IB_PM_EXT_WIDTH_SUPPORTED
	.comm	_IB_PM_EXT_WIDTH_NOIETF_SUP,4,2 ; @IB_PM_EXT_WIDTH_NOIETF_SUP
	.comm	_IB_GSI_PORT_COUNTERS_EXT,4,2   ; @IB_GSI_PORT_COUNTERS_EXT
l_.str.1:                               ; @.str.1
	.asciz	"IB_GSI_PORT_COUNTERS_EXT query failed on %s, %s port %d"

	.comm	_IB_PM_PC_XMIT_WAIT_SUP,4,2     ; @IB_PM_PC_XMIT_WAIT_SUP
	.comm	_IB_PC_XMT_WAIT_F,4,2           ; @IB_PC_XMT_WAIT_F
	.no_dead_strip	_print_errors
.subsections_via_symbols
