	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nix_tl1_default_cfg
_nix_tl1_default_cfg:                   ## @nix_tl1_default_cfg
	.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
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BLKTYPE_NIX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_rvu_get_blkaddr
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	movl	4(%r12), %edi
	movl	%eax, %esi
	callq	_get_nix_hw
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%rax), %rax
	movq	_NIX_TXSCH_LVL_TL1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %r14
	movq	%r12, %rdi
	callq	_mutex_lock
	leaq	-56(%rbp), %rcx
	leaq	-60(%rbp), %r8
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_rvu_get_tl1_schqs
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jne	LBB0_10
## %bb.5:
	cmpl	$0, -60(%rbp)
	jle	LBB0_10
## %bb.6:
	xorl	%r12d, %r12d
	movq	_NIX_TXSCHQ_TL1_CFG_DONE@GOTPCREL(%rip), %r13
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r12
	movslq	-60(%rbp), %rax
	cmpq	%rax, %r12
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	-56(%rbp,%r12,4), %rbx
	movl	(%r14,%rbx,4), %edi
	callq	_TXSCH_MAP_FUNC
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	(%r14,%rbx,4), %edi
	callq	_TXSCH_MAP_FLAGS
	testl	%eax, (%r13)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_NIX_AF_TL1X_TOPOLOGY
	movq	_TXSCH_TL1_DFLT_RR_PRIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, %ecx
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_rvu_write64
	movl	%ebx, %edi
	callq	_NIX_AF_TL1X_SCHEDULE
	movq	_TXSCH_TL1_DFLT_RR_QTM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_rvu_write64
	movl	%ebx, %edi
	callq	_NIX_AF_TL1X_CIR
	movq	%r13, %rdi
	movq	_NIX_TXSCHQ_TL1_CFG_DONE@GOTPCREL(%rip), %r13
	movl	%r14d, %esi
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_rvu_write64
	orl	(%r13), %r15d
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	movl	%r15d, %esi
	callq	_TXSCH_MAP
	movl	%eax, (%r14,%rbx,4)
	jmp	LBB0_9
LBB0_10:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_11
LBB0_1:
	movq	_NIX_AF_ERR_AF_LF_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_11
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BLKTYPE_NIX,4,2                ## @BLKTYPE_NIX
	.comm	_NIX_AF_ERR_AF_LF_INVALID,4,2   ## @NIX_AF_ERR_AF_LF_INVALID
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NIX_TXSCH_LVL_TL1,8,3          ## @NIX_TXSCH_LVL_TL1
	.comm	_NIX_TXSCHQ_TL1_CFG_DONE,4,2    ## @NIX_TXSCHQ_TL1_CFG_DONE
	.comm	_TXSCH_TL1_DFLT_RR_PRIO,4,2     ## @TXSCH_TL1_DFLT_RR_PRIO
	.comm	_TXSCH_TL1_DFLT_RR_QTM,4,2      ## @TXSCH_TL1_DFLT_RR_QTM
	.no_dead_strip	_nix_tl1_default_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nix_tl1_default_cfg
_nix_tl1_default_cfg:                   ; @nix_tl1_default_cfg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _BLKTYPE_NIX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BLKTYPE_NIX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_rvu_get_blkaddr
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_get_nix_hw
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _NIX_TXSCH_LVL_TL1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NIX_TXSCH_LVL_TL1@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x25, [x8, x9, lsl #3]
	mov	x0, x19
	bl	_mutex_lock
	add	x26, sp, #16
	add	x3, sp, #16
	add	x4, sp, #12
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_rvu_get_tl1_schqs
	mov	x21, x0
	ldr	w8, [sp, #12]
	cmp	w0, #0
	ccmp	w8, #1, #8, eq
	b.ge	LBB0_8
LBB0_3:
	mov	x0, x19
	bl	_mutex_unlock
	b	LBB0_6
LBB0_4:
Lloh9:
	adrp	x8, _NIX_AF_ERR_AF_LF_INVALID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NIX_AF_ERR_AF_LF_INVALID@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_6:
	ldr	x8, [sp, #24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.7:
	mov	x0, x21
	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
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_8:
	mov	x27, #0
Lloh18:
	adrp	x28, _NIX_TXSCHQ_TL1_CFG_DONE@GOTPAGE
Lloh19:
	ldr	x28, [x28, _NIX_TXSCHQ_TL1_CFG_DONE@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x27, x27, #1
	ldrsw	x8, [sp, #12]
	cmp	x27, x8
	b.ge	LBB0_3
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x22, [x26, x27, lsl #2]
	lsl	x24, x22, #2
	ldr	w0, [x25, x24]
	bl	_TXSCH_MAP_FUNC
	mov	x23, x0
	ldr	w0, [x25, x24]
	bl	_TXSCH_MAP_FLAGS
	ldr	w8, [x28]
	tst	w8, w0
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x24, x0
	mov	x0, x22
	bl	_NIX_AF_TL1X_TOPOLOGY
	mov	x2, x0
Lloh20:
	adrp	x8, _TXSCH_TL1_DFLT_RR_PRIO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TXSCH_TL1_DFLT_RR_PRIO@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	lsl	w3, w8, #1
	mov	x0, x19
	mov	x1, x20
	bl	_rvu_write64
	mov	x0, x22
	bl	_NIX_AF_TL1X_SCHEDULE
	mov	x2, x0
Lloh23:
	adrp	x8, _TXSCH_TL1_DFLT_RR_QTM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TXSCH_TL1_DFLT_RR_QTM@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_rvu_write64
	mov	x0, x22
	bl	_NIX_AF_TL1X_CIR
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	bl	_rvu_write64
	ldr	w8, [x28]
	orr	w1, w8, w24
	mov	x0, x23
	bl	_TXSCH_MAP
	str	w0, [x25, x22, lsl #2]
	b	LBB0_9
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_BLKTYPE_NIX,4,2                ; @BLKTYPE_NIX
	.comm	_NIX_AF_ERR_AF_LF_INVALID,4,2   ; @NIX_AF_ERR_AF_LF_INVALID
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NIX_TXSCH_LVL_TL1,8,3          ; @NIX_TXSCH_LVL_TL1
	.comm	_NIX_TXSCHQ_TL1_CFG_DONE,4,2    ; @NIX_TXSCHQ_TL1_CFG_DONE
	.comm	_TXSCH_TL1_DFLT_RR_PRIO,4,2     ; @TXSCH_TL1_DFLT_RR_PRIO
	.comm	_TXSCH_TL1_DFLT_RR_QTM,4,2      ; @TXSCH_TL1_DFLT_RR_QTM
	.no_dead_strip	_nix_tl1_default_cfg
.subsections_via_symbols
