	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rbtree_delete_fixup
_rbtree_delete_fixup:                   ## @rbtree_delete_fixup
	.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, %r15
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdx), %rax
	movq	%rax, %rbx
	cmpq	%rsi, %rax
	jne	LBB0_2
## %bb.1:
	movq	16(%r15), %rbx
LBB0_2:
	movq	_RBTREE_NULL@GOTPCREL(%rip), %r13
	cmpq	%r15, (%r13)
	je	LBB0_26
## %bb.3:
	movq	_RED@GOTPCREL(%rip), %r14
	movq	_BLACK@GOTPCREL(%rip), %rsi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %r12
	movq	%rcx, %r15
	cmpq	(%r13), %rcx
	je	LBB0_26
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rcx
	cmpq	(%r14), %rcx
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rcx, (%r15)
	movq	(%rsi), %rcx
	movq	%rcx, (%rbx)
	cmpq	%r12, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_rbtree_rotate_left
	jmp	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_rbtree_rotate_right
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_BLACK@GOTPCREL(%rip), %rsi
	movq	8(%r15), %rbx
	cmpq	%r12, %rbx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r15), %rbx
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15), %rax
	cmpq	(%rsi), %rax
	jne	LBB0_19
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rax, (%rbx)
	jne	LBB0_19
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rbx), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	(%r13), %rbx
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rax
	movq	%rax, (%rbx)
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r15), %rcx
	movq	8(%rcx), %rax
	movq	%rax, %rbx
	cmpq	%r15, %rax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rcx), %rbx
	movq	%r15, %rax
	jmp	LBB0_18
LBB0_19:
	movq	(%r15), %rax
	cmpq	(%r14), %rax
	jne	LBB0_27
## %bb.20:
	movq	(%rbx), %rcx
	cmpq	(%rsi), %rcx
	jne	LBB0_27
## %bb.21:
	movq	16(%rbx), %rdx
	cmpq	%rcx, (%rdx)
	jne	LBB0_27
## %bb.22:
	movq	8(%rbx), %rdx
	cmpq	%rcx, (%rdx)
	jne	LBB0_27
## %bb.23:
	cmpq	(%r13), %rbx
	je	LBB0_25
## %bb.24:
	movq	%rax, (%rbx)
	movq	(%rsi), %rcx
LBB0_25:
	movq	%rcx, (%r15)
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	xorl	%edi, %edi
	cmpq	(%r13), %rbx
	setne	%dil
	callq	_log_assert
	movq	_BLACK@GOTPCREL(%rip), %rsi
	movq	8(%r15), %rax
	cmpq	%r12, %rax
	jne	LBB0_32
## %bb.28:
	movq	(%rbx), %rdx
	cmpq	(%rsi), %rdx
	jne	LBB0_32
## %bb.29:
	movq	8(%rbx), %r8
	movq	(%r8), %rcx
	cmpq	(%r14), %rcx
	jne	LBB0_32
## %bb.30:
	movq	16(%rbx), %rdi
	cmpq	%rdx, (%rdi)
	jne	LBB0_32
## %bb.31:
	movq	%rcx, (%rbx)
	movq	(%rsi), %rax
	movq	%rax, (%r8)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_rbtree_rotate_left
	jmp	LBB0_37
LBB0_32:
	cmpq	%r12, 16(%r15)
	jne	LBB0_40
## %bb.33:
	movq	(%rbx), %rdx
	cmpq	(%rsi), %rdx
	jne	LBB0_40
## %bb.34:
	movq	16(%rbx), %r8
	movq	(%r8), %rcx
	cmpq	(%r14), %rcx
	jne	LBB0_40
## %bb.35:
	movq	8(%rbx), %rdi
	cmpq	%rdx, (%rdi)
	jne	LBB0_40
## %bb.36:
	movq	%rcx, (%rbx)
	movq	(%rsi), %rax
	movq	%rax, (%r8)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_rbtree_rotate_right
LBB0_37:
	movq	_BLACK@GOTPCREL(%rip), %rsi
	movq	8(%r15), %rax
	movq	%rax, %rbx
	cmpq	%r12, %rax
	je	LBB0_38
LBB0_40:
	movq	(%r15), %rcx
	movq	%rcx, (%rbx)
	movq	(%rsi), %rcx
	movq	%rcx, (%r15)
	cmpq	%r12, %rax
	je	LBB0_39
## %bb.41:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	sete	%dil
	movq	%rsi, %r14
	callq	_log_assert
	movq	(%r14), %rax
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rbtree_rotate_left             ## TAILCALL
LBB0_38:
	movq	(%r15), %rax
	movq	16(%r15), %rbx
	movq	%rax, (%rbx)
	movq	(%rsi), %rax
	movq	%rax, (%r15)
LBB0_39:
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	sete	%dil
	callq	_log_assert
	movq	_BLACK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rbtree_rotate_right            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RBTREE_NULL,8,3                ## @RBTREE_NULL
	.comm	_RED,8,3                        ## @RED
	.comm	_BLACK,8,3                      ## @BLACK
	.no_dead_strip	_rbtree_delete_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rbtree_delete_fixup
_rbtree_delete_fixup:                   ; @rbtree_delete_fixup
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x8, [x2, #8]
	mov	x21, x8
	cmp	x8, x1
	b.ne	LBB0_2
; %bb.1:
	ldr	x21, [x19, #16]
LBB0_2:
Lloh0:
	adrp	x25, _RBTREE_NULL@GOTPAGE
Lloh1:
	ldr	x25, [x25, _RBTREE_NULL@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x9, x19
	b.eq	LBB0_26
; %bb.3:
Lloh2:
	adrp	x24, _RED@GOTPAGE
Lloh3:
	ldr	x24, [x24, _RED@GOTPAGEOFF]
Lloh4:
	adrp	x23, _BLACK@GOTPAGE
Lloh5:
	ldr	x23, [x23, _BLACK@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x25]
	mov	x22, x19
	mov	x19, x9
	cmp	x9, x10
	b.eq	LBB0_26
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	ldr	x10, [x24]
	cmp	x9, x10
	b.ne	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x9, [x19]
	ldr	x9, [x23]
	str	x9, [x21]
	mov	x0, x20
	mov	x1, x19
	cmp	x8, x22
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_rbtree_rotate_left
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_rbtree_rotate_right
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x21, [x19, #8]
	cmp	x21, x22
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x21, [x19, #16]
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x21]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x21, #16]
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x21, #8]
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x25]
	cmp	x21, x8
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24]
	str	x8, [x21]
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #24]
	ldr	x8, [x9, #8]
	mov	x21, x8
	cmp	x8, x19
	b.ne	LBB0_4
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x21, [x9, #16]
	mov	x8, x19
	b	LBB0_4
LBB0_19:
	ldr	x9, [x19]
	ldr	x8, [x24]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.20:
	ldr	x8, [x21]
	ldr	x10, [x23]
	cmp	x8, x10
	b.ne	LBB0_27
; %bb.21:
	ldr	x10, [x21, #16]
	ldr	x10, [x10]
	cmp	x10, x8
	b.ne	LBB0_27
; %bb.22:
	ldr	x10, [x21, #8]
	ldr	x10, [x10]
	cmp	x10, x8
	b.ne	LBB0_27
; %bb.23:
	ldr	x10, [x25]
	cmp	x21, x10
	b.eq	LBB0_25
; %bb.24:
	str	x9, [x21]
	ldr	x8, [x23]
LBB0_25:
	str	x8, [x19]
LBB0_26:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_27:
	ldr	x8, [x25]
	cmp	x21, x8
	cset	w0, ne
	bl	_log_assert
	ldr	x8, [x19, #8]
	cmp	x8, x22
	b.ne	LBB0_32
; %bb.28:
	ldr	x10, [x21]
	ldr	x9, [x23]
	cmp	x10, x9
	b.ne	LBB0_32
; %bb.29:
	ldr	x9, [x21, #8]
	ldr	x11, [x9]
	ldr	x12, [x24]
	cmp	x11, x12
	b.ne	LBB0_32
; %bb.30:
	ldr	x12, [x21, #16]
	ldr	x12, [x12]
	cmp	x12, x10
	b.ne	LBB0_32
; %bb.31:
	str	x11, [x21]
	ldr	x8, [x23]
	str	x8, [x9]
	mov	x0, x20
	mov	x1, x21
	bl	_rbtree_rotate_left
	b	LBB0_37
LBB0_32:
	ldr	x9, [x19, #16]
	cmp	x9, x22
	b.ne	LBB0_38
; %bb.33:
	ldr	x10, [x21]
	ldr	x9, [x23]
	cmp	x10, x9
	b.ne	LBB0_38
; %bb.34:
	ldr	x9, [x21, #16]
	ldr	x11, [x9]
	ldr	x12, [x24]
	cmp	x11, x12
	b.ne	LBB0_38
; %bb.35:
	ldr	x12, [x21, #8]
	ldr	x12, [x12]
	cmp	x12, x10
	b.ne	LBB0_38
; %bb.36:
	str	x11, [x21]
	ldr	x8, [x23]
	str	x8, [x9]
	mov	x0, x20
	mov	x1, x21
	bl	_rbtree_rotate_right
LBB0_37:
	ldr	x8, [x19, #8]
	mov	x21, x8
	cmp	x8, x22
	b.eq	LBB0_40
LBB0_38:
	ldr	x9, [x19]
	str	x9, [x21]
	ldr	x9, [x23]
	str	x9, [x19]
	cmp	x8, x22
	b.eq	LBB0_41
; %bb.39:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	x9, [x24]
	cmp	x8, x9
	cset	w0, eq
	bl	_log_assert
	ldr	x8, [x23]
	ldr	x9, [x21, #8]
	str	x8, [x9]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_rbtree_rotate_left
LBB0_40:
	ldr	x21, [x19, #16]
	ldr	x8, [x19]
	str	x8, [x21]
	ldr	x8, [x23]
	str	x8, [x19]
LBB0_41:
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
	ldr	x9, [x24]
	cmp	x8, x9
	cset	w0, eq
	bl	_log_assert
	ldr	x8, [x23]
	ldr	x9, [x21, #16]
	str	x8, [x9]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_rbtree_rotate_right
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_RBTREE_NULL,8,3                ; @RBTREE_NULL
	.comm	_RED,8,3                        ; @RED
	.comm	_BLACK,8,3                      ; @BLACK
	.no_dead_strip	_rbtree_delete_fixup
.subsections_via_symbols
