	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_sched_rm_dflt_nodes
_ice_sched_rm_dflt_nodes:               ## @ice_sched_rm_dflt_nodes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_ice_rm_dflt_leaf_node
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_ICE_AQC_ELEM_TYPE_TC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_ICE_AQC_ELEM_TYPE_ROOT_PORT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%rsi)
	jl	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rsi), %rdi
	cmpq	%rcx, %rdi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdx, %rdi
	jne	LBB0_8
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 16(%rsi)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rsi), %rsi
	movq	(%rsi), %rsi
	testq	%rsi, %rsi
	jne	LBB0_2
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ice_free_sched_node            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_AQC_ELEM_TYPE_TC,8,3       ## @ICE_AQC_ELEM_TYPE_TC
	.comm	_ICE_AQC_ELEM_TYPE_ROOT_PORT,8,3 ## @ICE_AQC_ELEM_TYPE_ROOT_PORT
	.no_dead_strip	_ice_sched_rm_dflt_nodes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_sched_rm_dflt_nodes
_ice_sched_rm_dflt_nodes:               ; @ice_sched_rm_dflt_nodes
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_ice_rm_dflt_leaf_node
	ldr	x1, [x19, #8]
	cbz	x1, LBB0_6
; %bb.1:
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _ICE_AQC_ELEM_TYPE_TC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ICE_AQC_ELEM_TYPE_TC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _ICE_AQC_ELEM_TYPE_ROOT_PORT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ICE_AQC_ELEM_TYPE_ROOT_PORT@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x1]
	cmp	x11, x8
	b.lt	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x11, [x1, #24]
	cmp	x11, x9
	ccmp	x11, x10, #4, ne
	b.ne	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w11, [x1, #16]
	cbz	w11, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x11, [x1, #8]
	ldr	x1, [x11]
	cbnz	x1, LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ice_free_sched_node
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_AQC_ELEM_TYPE_TC,8,3       ; @ICE_AQC_ELEM_TYPE_TC
	.comm	_ICE_AQC_ELEM_TYPE_ROOT_PORT,8,3 ; @ICE_AQC_ELEM_TYPE_ROOT_PORT
	.no_dead_strip	_ice_sched_rm_dflt_nodes
.subsections_via_symbols
