	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qos_build_config
_qos_build_config:                      ## @qos_build_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	%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
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	(%r15), %rax
	testq	%rax, %rax
	jg	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	testq	%rax, %rax
	jg	LBB0_3
## %bb.2:
	movq	_OSM_DEFAULT_QOS_MAX_VLS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_3:
	movq	%rax, (%r12)
	movq	8(%r15), %rax
	testq	%rax, %rax
	jns	LBB0_6
## %bb.4:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	jns	LBB0_6
## %bb.5:
	movq	_OSM_DEFAULT_QOS_HIGH_LIMIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	movq	%rax, 32(%r12)
	movq	16(%r15), %r13
	testq	%r13, %r13
	jne	LBB0_9
## %bb.7:
	movq	16(%rbx), %r13
	testq	%r13, %r13
	jne	LBB0_9
## %bb.8:
	movq	_OSM_DEFAULT_QOS_VLARB_HIGH@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_9:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_IB_NUM_VL_ARB_ELEMENTS_IN_BLOCK@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	testl	%ecx, %ecx
	jle	LBB0_12
## %bb.10:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rdi
	movl	%ebx, %eax
	cltd
	idivl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
	cltq
	leaq	(,%rdx,4), %rsi
	addq	(%rdi,%rax,8), %rsi
	movq	%r13, %rdi
	callq	_parse_vlarb_entry
	cltq
	addq	%rax, %r13
	incl	%ebx
	movl	(%r14), %ecx
	leal	(%rcx,%rcx), %eax
	cmpl	%eax, %ebx
	jl	LBB0_11
LBB0_12:
	movq	24(%r15), %r13
	testq	%r13, %r13
	jne	LBB0_15
## %bb.13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %r13
	testq	%r13, %r13
	jne	LBB0_15
## %bb.14:
	movq	_OSM_DEFAULT_QOS_VLARB_LOW@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_15:
	testl	%ecx, %ecx
	jle	LBB0_18
## %bb.16:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rdi
	movl	%ebx, %eax
	cltd
	idivl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
	cltq
	leaq	(,%rdx,4), %rsi
	addq	(%rdi,%rax,8), %rsi
	movq	%r13, %rdi
	callq	_parse_vlarb_entry
	cltq
	addq	%rax, %r13
	incl	%ebx
	movl	(%r14), %ecx
	leal	(%rcx,%rcx), %eax
	cmpl	%eax, %ebx
	jl	LBB0_17
LBB0_18:
	movq	32(%r15), %r15
	testq	%r15, %r15
	jne	LBB0_21
## %bb.19:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %r15
	testq	%r15, %r15
	jne	LBB0_21
## %bb.20:
	movq	_OSM_DEFAULT_QOS_SL2VL@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_21:
	movq	_IB_MAX_NUM_VLS@GOTPCREL(%rip), %r14
	cmpl	$2, (%r14)
	jl	LBB0_24
## %bb.22:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rsi
	addq	%r13, %rsi
	movq	%r15, %rdi
	callq	_parse_sl2vl_entry
	cltq
	addq	%rax, %r15
	incq	%rbx
	movl	(%r14), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jl	LBB0_23
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSM_DEFAULT_QOS_MAX_VLS,8,3    ## @OSM_DEFAULT_QOS_MAX_VLS
	.comm	_OSM_DEFAULT_QOS_HIGH_LIMIT,8,3 ## @OSM_DEFAULT_QOS_HIGH_LIMIT
	.comm	_OSM_DEFAULT_QOS_VLARB_HIGH,8,3 ## @OSM_DEFAULT_QOS_VLARB_HIGH
	.comm	_IB_NUM_VL_ARB_ELEMENTS_IN_BLOCK,4,2 ## @IB_NUM_VL_ARB_ELEMENTS_IN_BLOCK
	.comm	_OSM_DEFAULT_QOS_VLARB_LOW,8,3  ## @OSM_DEFAULT_QOS_VLARB_LOW
	.comm	_OSM_DEFAULT_QOS_SL2VL,8,3      ## @OSM_DEFAULT_QOS_SL2VL
	.comm	_IB_MAX_NUM_VLS,4,2             ## @IB_MAX_NUM_VLS
	.no_dead_strip	_qos_build_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qos_build_config
_qos_build_config:                      ; @qos_build_config
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	ldr	x8, [x21]
	cmp	x8, #0
	b.gt	LBB0_2
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _OSM_DEFAULT_QOS_MAX_VLS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OSM_DEFAULT_QOS_MAX_VLS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x8, x8, x9, gt
LBB0_2:
	str	x8, [x19]
	ldr	x8, [x21, #8]
	tbz	x8, #63, LBB0_4
; %bb.3:
	ldr	x8, [x20, #8]
Lloh3:
	adrp	x9, _OSM_DEFAULT_QOS_HIGH_LIMIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OSM_DEFAULT_QOS_HIGH_LIMIT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x8, x9, x8, lt
LBB0_4:
	str	x8, [x19, #32]
	ldr	x22, [x21, #16]
	cbnz	x22, LBB0_6
; %bb.5:
	ldr	x8, [x20, #16]
Lloh6:
	adrp	x9, _OSM_DEFAULT_QOS_VLARB_HIGH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OSM_DEFAULT_QOS_VLARB_HIGH@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x22, x9, x8, eq
LBB0_6:
Lloh9:
	adrp	x23, _IB_NUM_VL_ARB_ELEMENTS_IN_BLOCK@GOTPAGE
Lloh10:
	ldr	x23, [x23, _IB_NUM_VL_ARB_ELEMENTS_IN_BLOCK@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	w24, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #24]
	sdiv	w10, w24, w8
	ldr	x9, [x9, w10, sxtw #3]
	msub	w8, w8, w10, w24
	add	x1, x9, w8, uxtw #2
	mov	x0, x22
	bl	_parse_vlarb_entry
	add	x22, x22, w0, sxtw
	add	w24, w24, #1
	ldr	w8, [x23]
	cmp	w24, w8, lsl #1
	b.lt	LBB0_8
LBB0_9:
	ldr	x22, [x21, #24]
	cbz	x22, LBB0_11
; %bb.10:
	cmp	w8, #1
	b.ge	LBB0_12
	b	LBB0_14
LBB0_11:
	ldr	x9, [x20, #24]
Lloh11:
	adrp	x10, _OSM_DEFAULT_QOS_VLARB_LOW@GOTPAGE
Lloh12:
	ldr	x10, [x10, _OSM_DEFAULT_QOS_VLARB_LOW@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x9, #0
	csel	x22, x10, x9, eq
	cmp	w8, #1
	b.lt	LBB0_14
LBB0_12:
	mov	w24, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	sdiv	w10, w24, w8
	ldr	x9, [x9, w10, sxtw #3]
	msub	w8, w8, w10, w24
	add	x1, x9, w8, uxtw #2
	mov	x0, x22
	bl	_parse_vlarb_entry
	add	x22, x22, w0, sxtw
	add	w24, w24, #1
	ldr	w8, [x23]
	cmp	w24, w8, lsl #1
	b.lt	LBB0_13
LBB0_14:
	ldr	x21, [x21, #32]
	cbnz	x21, LBB0_16
; %bb.15:
	ldr	x8, [x20, #32]
Lloh14:
	adrp	x9, _OSM_DEFAULT_QOS_SL2VL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _OSM_DEFAULT_QOS_SL2VL@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x21, x9, x8, eq
LBB0_16:
Lloh17:
	adrp	x20, _IB_MAX_NUM_VLS@GOTPAGE
Lloh18:
	ldr	x20, [x20, _IB_MAX_NUM_VLS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_19
; %bb.17:
	mov	x22, #0
	mov	x23, #0
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x1, x8, x22
	mov	x0, x21
	bl	_parse_sl2vl_entry
	add	x21, x21, w0, sxtw
	add	x23, x23, #1
	ldr	w8, [x20]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	add	x22, x22, #4
	cmp	x23, w8, sxtw
	b.lt	LBB0_18
LBB0_19:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_OSM_DEFAULT_QOS_MAX_VLS,8,3    ; @OSM_DEFAULT_QOS_MAX_VLS
	.comm	_OSM_DEFAULT_QOS_HIGH_LIMIT,8,3 ; @OSM_DEFAULT_QOS_HIGH_LIMIT
	.comm	_OSM_DEFAULT_QOS_VLARB_HIGH,8,3 ; @OSM_DEFAULT_QOS_VLARB_HIGH
	.comm	_IB_NUM_VL_ARB_ELEMENTS_IN_BLOCK,4,2 ; @IB_NUM_VL_ARB_ELEMENTS_IN_BLOCK
	.comm	_OSM_DEFAULT_QOS_VLARB_LOW,8,3  ; @OSM_DEFAULT_QOS_VLARB_LOW
	.comm	_OSM_DEFAULT_QOS_SL2VL,8,3      ; @OSM_DEFAULT_QOS_SL2VL
	.comm	_IB_MAX_NUM_VLS,4,2             ; @IB_MAX_NUM_VLS
	.no_dead_strip	_qos_build_config
.subsections_via_symbols
