	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MT2063_AddExclZone
_MT2063_AddExclZone:                    ## @MT2063_AddExclZone
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_dprintk
	cmpl	%r15d, %r12d
	jge	LBB0_21
## %bb.1:
	movl	(%r14), %eax
	movl	4(%r14), %edx
	movl	%edx, %ecx
	shrl	$31, %ecx
	addl	%edx, %ecx
	sarl	%ecx
	movl	%eax, %edx
	subl	%ecx, %edx
	cmpl	%r15d, %edx
	jge	LBB0_21
## %bb.2:
	addl	%eax, %ecx
	cmpl	%r12d, %ecx
	jle	LBB0_21
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.5:
	movl	(%rbx), %ecx
	cmpl	%r12d, %ecx
	jge	LBB0_6
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%rbx), %ecx
	cmpl	%r12d, %ecx
	jl	LBB0_12
	jmp	LBB0_7
LBB0_4:
	xorl	%esi, %esi
	jmp	LBB0_13
LBB0_6:
	xorl	%esi, %esi
LBB0_7:
	movl	4(%rbx), %eax
	cmpl	%r15d, %eax
	jge	LBB0_13
## %bb.8:
	cmpl	%r12d, %eax
	jle	LBB0_10
## %bb.9:
	movl	%r12d, 4(%rbx)
LBB0_10:
	cmpl	%r15d, %ecx
	jl	LBB0_14
	jmp	LBB0_15
LBB0_13:
	movq	%r14, %rdi
	callq	_InsertNode
	movq	%rax, %rbx
	movl	%r12d, 4(%rax)
LBB0_14:
	movl	%r15d, (%rbx)
	movl	%r15d, %ecx
LBB0_15:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_21
	.p2align	4, 0x90
## %bb.16:
	cmpl	%ecx, 4(%rax)
	jge	LBB0_21
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %edx
	cmpl	%ecx, %edx
	jle	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	%edx, (%rbx)
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_RemoveNode
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	(%rbx), %ecx
	cmpl	%ecx, 4(%rax)
	jl	LBB0_17
LBB0_21:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.no_dead_strip	_MT2063_AddExclZone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MT2063_AddExclZone
_MT2063_AddExclZone:                    ; @MT2063_AddExclZone
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_dprintk
	ldr	w8, [x19, #4]
	cmp	w8, #0
	cinc	w8, w8, lt
	cmp	w22, w21
	b.ge	LBB0_20
; %bb.1:
	ldr	w9, [x19]
	asr	w8, w8, #1
	add	w10, w8, w9
	sub	w8, w9, w8
	cmp	w8, w21
	ccmp	w10, w22, #4, lt
	b.le	LBB0_20
; %bb.2:
	cbz	x20, LBB0_6
; %bb.3:
	ldr	w8, [x20]
	cmp	w8, w22
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x20
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
	cmp	w8, w22
	b.lt	LBB0_4
	b	LBB0_8
LBB0_6:
	mov	x1, #0
	b	LBB0_13
LBB0_7:
	mov	x1, #0
LBB0_8:
	ldr	w9, [x20, #4]
	cmp	w9, w21
	b.ge	LBB0_13
; %bb.9:
	cmp	w9, w22
	b.le	LBB0_11
; %bb.10:
	str	w22, [x20, #4]
LBB0_11:
	cmp	w8, w21
	b.lt	LBB0_14
; %bb.12:
	ldr	x2, [x20, #8]
	cbnz	x2, LBB0_15
	b	LBB0_20
LBB0_13:
	mov	x0, x19
	bl	_InsertNode
	mov	x20, x0
	str	w22, [x0, #4]
LBB0_14:
	str	w21, [x20]
	mov	x8, x21
	ldr	x2, [x20, #8]
	cbz	x2, LBB0_20
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x2, #4]
	cmp	w9, w8
	b.ge	LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w9, [x2]
	cmp	w9, w8
	b.le	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	str	w9, [x20]
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_RemoveNode
	cbz	x0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x2, x0
	ldr	w8, [x20]
	b	LBB0_15
LBB0_20:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.no_dead_strip	_MT2063_AddExclZone
.subsections_via_symbols
