	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_txschq_config_valid
_is_txschq_config_valid:                ## @is_txschq_config_valid
	.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	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r14d
	movl	%ecx, %r15d
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	_TXSCHQ_HWREGMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ecx, %esi
	movl	%r8d, %edx
	callq	_rvu_check_valid_reg
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	_TXSCHQ_IDX_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_TXSCHQ_IDX
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	callq	_is_valid_txschq
	testl	%eax, %eax
	movl	%r12d, %r15d
	movl	%r13d, %r12d
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_12
## %bb.3:
	movzwl	%r14w, %r14d
	shrl	$16, %r13d
	andl	$511, %r13d                     ## imm = 0x1FF
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%edi, %edi
	callq	_NIX_AF_MDQX_PARENT
	cmpl	%eax, %r14d
	jne	LBB0_5
## %bb.4:
	movq	_NIX_TXSCH_LVL_TL4@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r15d, %ecx
	movl	%r13d, %r8d
	callq	_is_valid_txschq
	testl	%eax, %eax
	je	LBB0_12
LBB0_5:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%edi, %edi
	callq	_NIX_AF_TL4X_PARENT
	cmpl	%eax, %r14d
	jne	LBB0_7
## %bb.6:
	movq	_NIX_TXSCH_LVL_TL3@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r15d, %ecx
	movl	%r13d, %r8d
	callq	_is_valid_txschq
	testl	%eax, %eax
	je	LBB0_12
LBB0_7:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%edi, %edi
	callq	_NIX_AF_TL3X_PARENT
	cmpl	%eax, %r14d
	jne	LBB0_9
## %bb.8:
	movq	_NIX_TXSCH_LVL_TL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r15d, %ecx
	movl	%r13d, %r8d
	callq	_is_valid_txschq
	testl	%eax, %eax
	je	LBB0_12
LBB0_9:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%edi, %edi
	callq	_NIX_AF_TL2X_PARENT
	cmpl	%eax, %r14d
	jne	LBB0_11
## %bb.10:
	movq	_NIX_TXSCH_LVL_TL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r15d, %ecx
	movl	%r13d, %r8d
	callq	_is_valid_txschq
	testl	%eax, %eax
	je	LBB0_12
LBB0_11:
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_12
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_12:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXSCHQ_HWREGMAP,4,2            ## @TXSCHQ_HWREGMAP
	.comm	_TXSCHQ_IDX_SHIFT,4,2           ## @TXSCHQ_IDX_SHIFT
	.comm	_NIX_TXSCH_LVL_TL4,4,2          ## @NIX_TXSCH_LVL_TL4
	.comm	_NIX_TXSCH_LVL_TL3,4,2          ## @NIX_TXSCH_LVL_TL3
	.comm	_NIX_TXSCH_LVL_TL2,4,2          ## @NIX_TXSCH_LVL_TL2
	.comm	_NIX_TXSCH_LVL_TL1,4,2          ## @NIX_TXSCH_LVL_TL1
	.no_dead_strip	_is_txschq_config_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_txschq_config_valid
_is_txschq_config_valid:                ; @is_txschq_config_valid
	.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	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _TXSCHQ_HWREGMAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXSCHQ_HWREGMAP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x3
	mov	x2, x4
	bl	_rvu_check_valid_reg
	cbz	w0, LBB0_11
; %bb.1:
Lloh3:
	adrp	x8, _TXSCHQ_IDX_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TXSCHQ_IDX_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_TXSCHQ_IDX
	mov	x4, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x24
	mov	x3, x19
	bl	_is_valid_txschq
	cbz	w0, LBB0_11
; %bb.2:
	and	w23, w23, #0xffff
	ubfx	w22, w22, #16, #9
	mov	w0, #0
	bl	_NIX_AF_MDQX_PARENT
	cmp	w23, w0
	b.ne	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _NIX_TXSCH_LVL_TL4@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NIX_TXSCH_LVL_TL4@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	mov	x4, x22
	bl	_is_valid_txschq
	cbz	w0, LBB0_11
LBB0_4:
	mov	w0, #0
	bl	_NIX_AF_TL4X_PARENT
	cmp	w23, w0
	b.ne	LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _NIX_TXSCH_LVL_TL3@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NIX_TXSCH_LVL_TL3@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	mov	x4, x22
	bl	_is_valid_txschq
	cbz	w0, LBB0_11
LBB0_6:
	mov	w0, #0
	bl	_NIX_AF_TL3X_PARENT
	cmp	w23, w0
	b.ne	LBB0_8
; %bb.7:
Lloh12:
	adrp	x8, _NIX_TXSCH_LVL_TL2@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NIX_TXSCH_LVL_TL2@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	mov	x4, x22
	bl	_is_valid_txschq
	cbz	w0, LBB0_11
LBB0_8:
	mov	w0, #0
	bl	_NIX_AF_TL2X_PARENT
	cmp	w23, w0
	b.ne	LBB0_10
; %bb.9:
Lloh15:
	adrp	x8, _NIX_TXSCH_LVL_TL1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NIX_TXSCH_LVL_TL1@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	mov	x4, x22
	bl	_is_valid_txschq
	cbz	w0, LBB0_11
LBB0_10:
	mov	w0, #1
LBB0_11:
	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 AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TXSCHQ_HWREGMAP,4,2            ; @TXSCHQ_HWREGMAP
	.comm	_TXSCHQ_IDX_SHIFT,4,2           ; @TXSCHQ_IDX_SHIFT
	.comm	_NIX_TXSCH_LVL_TL4,4,2          ; @NIX_TXSCH_LVL_TL4
	.comm	_NIX_TXSCH_LVL_TL3,4,2          ; @NIX_TXSCH_LVL_TL3
	.comm	_NIX_TXSCH_LVL_TL2,4,2          ; @NIX_TXSCH_LVL_TL2
	.comm	_NIX_TXSCH_LVL_TL1,4,2          ; @NIX_TXSCH_LVL_TL1
	.no_dead_strip	_is_txschq_config_valid
.subsections_via_symbols
