	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sl2vl_update_table
_sl2vl_update_table:                    ## @sl2vl_update_table
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movl	%ecx, %r15d
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_ib_port_info_get_op_vls
	movq	_IB_MAX_NUM_VLS@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_3
## %bb.1:
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rax
	jmp	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_osm_physp_get_slvl_tbl
	movq	%rax, %r14
	testl	%r13d, %r13d
	jne	LBB0_5
## %bb.4:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_8
LBB0_5:
	movq	_IB_MAD_ATTR_SLVL_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-48(%rbp), %rcx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$8, %edx
	movl	%r15d, %r9d
	callq	_osm_qos_mad_create
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rbx
	movq	16(%rbp), %r15
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_cl_qlist_insert_tail
LBB0_8:
	movq	_IB_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_IB_INSUFFICIENT_MEMORY@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_MAX_NUM_VLS,4,2             ## @IB_MAX_NUM_VLS
	.comm	_IB_SUCCESS,4,2                 ## @IB_SUCCESS
	.comm	_IB_MAD_ATTR_SLVL_TABLE,4,2     ## @IB_MAD_ATTR_SLVL_TABLE
	.comm	_IB_INSUFFICIENT_MEMORY,4,2     ## @IB_INSUFFICIENT_MEMORY
	.no_dead_strip	_sl2vl_update_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sl2vl_update_table
_sl2vl_update_table:                    ; @sl2vl_update_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x6
	mov	x24, x4
	mov	x20, x3
	mov	x23, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_ib_port_info_get_op_vls
Lloh0:
	adrp	x8, _IB_MAX_NUM_VLS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_MAX_NUM_VLS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.1:
	mov	w8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, #1
	b	LBB0_2
LBB0_3:
	mov	x0, x21
	mov	x1, x23
	bl	_osm_physp_get_slvl_tbl
	mov	x23, x0
	cbnz	w24, LBB0_5
; %bb.4:
	add	x1, sp, #8
	mov	x0, x23
	mov	w2, #8
	bl	_memcmp
	cbz	w0, LBB0_7
LBB0_5:
Lloh3:
	adrp	x8, _IB_MAD_ATTR_SLVL_TABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_MAD_ATTR_SLVL_TABLE@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x21
	mov	w2, #8
	mov	x5, x20
	bl	_osm_qos_mad_create
	cbz	x0, LBB0_8
; %bb.6:
	mov	x20, x0
	mov	x0, x23
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x0, x19
	mov	x1, x20
	bl	_cl_qlist_insert_tail
LBB0_7:
Lloh6:
	adrp	x8, _IB_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_SUCCESS@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh8:
	adrp	x8, _IB_INSUFFICIENT_MEMORY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IB_INSUFFICIENT_MEMORY@GOTPAGEOFF]
LBB0_9:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_MAX_NUM_VLS,4,2             ; @IB_MAX_NUM_VLS
	.comm	_IB_SUCCESS,4,2                 ; @IB_SUCCESS
	.comm	_IB_MAD_ATTR_SLVL_TABLE,4,2     ; @IB_MAD_ATTR_SLVL_TABLE
	.comm	_IB_INSUFFICIENT_MEMORY,4,2     ; @IB_INSUFFICIENT_MEMORY
	.no_dead_strip	_sl2vl_update_table
.subsections_via_symbols
