	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_qos_swe_config
_check_qos_swe_config:                  ## @check_qos_swe_config
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %r8d
	movl	%r8d, %eax
	testl	%r8d, %r8d
	jne	LBB0_2
## %bb.1:
	movl	(%r15), %eax
LBB0_2:
	decl	%eax
	cmpl	$6, %eax
	ja	LBB0_4
## %bb.3:
	testl	%r8d, %r8d
	movq	_OSM_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_OSM_LOG
LBB0_4:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_7
LBB0_6:
	movq	8(%r15), %rdi
	leaq	L_.str.2(%rip), %rdx
LBB0_7:
	xorl	%esi, %esi
	testq	%rdi, %rdi
	sete	%al
	jne	LBB0_9
## %bb.8:
	movq	_OSM_DEFAULT_QOS_VLARB_HIGH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
LBB0_9:
	movb	%al, %sil
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %r8
	callq	_check_vlarb_config
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_12
LBB0_11:
	movq	16(%r15), %rdi
	leaq	L_.str.2(%rip), %rdx
LBB0_12:
	xorl	%esi, %esi
	testq	%rdi, %rdi
	sete	%al
	jne	LBB0_14
## %bb.13:
	movq	_OSM_DEFAULT_QOS_VLARB_LOW@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
LBB0_14:
	movb	%al, %sil
	leaq	L_.str.4(%rip), %rcx
	movq	%r14, %r8
	callq	_check_vlarb_config
	cmpq	$0, 24(%rbx)
	je	LBB0_15
## %bb.16:
	movq	_OSM_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OSM_LOG                        ## TAILCALL
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSM_LOG_INFO,4,2               ## @OSM_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Warning: full torus-2QoS functionality not available for configured %s_max_vls = %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"qos_swe"

L_.str.2:                               ## @.str.2
	.asciz	"qos"

	.comm	_OSM_DEFAULT_QOS_VLARB_HIGH,8,3 ## @OSM_DEFAULT_QOS_VLARB_HIGH
L_.str.3:                               ## @.str.3
	.asciz	"high"

	.comm	_OSM_DEFAULT_QOS_VLARB_LOW,8,3  ## @OSM_DEFAULT_QOS_VLARB_LOW
L_.str.4:                               ## @.str.4
	.asciz	"low"

L_.str.5:                               ## @.str.5
	.asciz	"Warning: torus-2QoS must override configured qos_swe_sl2vl to generate deadlock-free routes\n"

	.no_dead_strip	_check_qos_swe_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_qos_swe_config
_check_qos_swe_config:                  ; @check_qos_swe_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w9, [x1]
	ldr	w8, [x0]
	cmp	w8, #0
	csel	w9, w9, w8, eq
	sub	w9, w9, #1
Lloh0:
	adrp	x22, _OSM_LOG_INFO@GOTPAGE
Lloh1:
	ldr	x22, [x22, _OSM_LOG_INFO@GOTPAGEOFF]
	cmp	w9, #6
	b.hi	LBB0_2
; %bb.1:
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
	ldr	w1, [x22]
Lloh4:
	adrp	x10, l_.str.2@PAGE
Lloh5:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w8, #0
	csel	x9, x10, x9, eq
	stp	x9, x8, [sp]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_OSM_LOG
LBB0_2:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
	ldr	x8, [x21, #8]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_5:
Lloh12:
	adrp	x9, _OSM_DEFAULT_QOS_VLARB_HIGH@GOTPAGE
Lloh13:
	ldr	x9, [x9, _OSM_DEFAULT_QOS_VLARB_HIGH@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x0, x9, x8, eq
	cset	w1, eq
Lloh15:
	adrp	x3, l_.str.3@PAGE
Lloh16:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x4, x19
	bl	_check_vlarb_config
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_7
; %bb.6:
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
	ldr	x8, [x21, #16]
Lloh19:
	adrp	x2, l_.str.2@PAGE
Lloh20:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_8:
Lloh21:
	adrp	x9, _OSM_DEFAULT_QOS_VLARB_LOW@GOTPAGE
Lloh22:
	ldr	x9, [x9, _OSM_DEFAULT_QOS_VLARB_LOW@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x0, x9, x8, eq
	cset	w1, eq
Lloh24:
	adrp	x3, l_.str.4@PAGE
Lloh25:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x4, x19
	bl	_check_vlarb_config
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	w1, [x22]
Lloh26:
	adrp	x2, l_.str.5@PAGE
Lloh27:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, 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
	add	sp, sp, #64
	b	_OSM_LOG
LBB0_10:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_OSM_LOG_INFO,4,2               ; @OSM_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Warning: full torus-2QoS functionality not available for configured %s_max_vls = %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"qos_swe"

l_.str.2:                               ; @.str.2
	.asciz	"qos"

	.comm	_OSM_DEFAULT_QOS_VLARB_HIGH,8,3 ; @OSM_DEFAULT_QOS_VLARB_HIGH
l_.str.3:                               ; @.str.3
	.asciz	"high"

	.comm	_OSM_DEFAULT_QOS_VLARB_LOW,8,3  ; @OSM_DEFAULT_QOS_VLARB_LOW
l_.str.4:                               ; @.str.4
	.asciz	"low"

l_.str.5:                               ; @.str.5
	.asciz	"Warning: torus-2QoS must override configured qos_swe_sl2vl to generate deadlock-free routes\n"

	.no_dead_strip	_check_qos_swe_config
.subsections_via_symbols
