	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___archive_rb_tree_insert_node  ## -- Begin function __archive_rb_tree_insert_node
	.p2align	4, 0x90
___archive_rb_tree_insert_node:         ## @__archive_rb_tree_insert_node
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rdi), %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movq	_RB_DIR_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_RB_SENTINEL_P
	movq	%r12, %r13
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r13
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	*%r14
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r12d
	setg	%al
	movq	(%r13), %rcx
	movzbl	%al, %eax
	movq	(%rcx,%rax,8), %rbx
	movq	%rbx, %rdi
	callq	_RB_SENTINEL_P
	testl	%eax, %eax
	je	LBB0_2
## %bb.5:
	xorl	%eax, %eax
	testl	%r12d, %r12d
	setg	%al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_6:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_RB_SET_FATHER
	movq	%r15, %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_RB_SET_POSITION
	movq	%r15, %rdi
	cmpq	%r12, %r13
	je	LBB0_7
## %bb.8:
	callq	_RB_MARK_RED
	movq	%r13, %rdi
	callq	_RB_RED_P
	jmp	LBB0_9
LBB0_7:
	callq	_RB_MARK_BLACK
	movq	_F@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	movq	(%r13), %rcx
	movl	%ebx, %edx
	movq	(%rcx,%rdx,8), %rsi
	movq	%rsi, 16(%r15)
	movq	(%rcx,%rdx,8), %rsi
	movq	%rsi, 8(%r15)
	movq	%r15, (%rcx,%rdx,8)
	movq	_T@GOTPCREL(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	___archive_rb_tree_insert_rebalance
	jmp	LBB0_11
LBB0_3:
	movq	_F@GOTPCREL(%rip), %rbx
LBB0_11:
	movl	(%rbx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RB_DIR_LEFT,4,2                ## @RB_DIR_LEFT
	.comm	_F,4,2                          ## @F
	.comm	_T,4,2                          ## @T
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___archive_rb_tree_insert_node  ; -- Begin function __archive_rb_tree_insert_node
	.p2align	2
___archive_rb_tree_insert_node:         ; @__archive_rb_tree_insert_node
	.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, x1
	mov	x20, x0
	ldp	x23, x8, [x0]
	ldr	x25, [x8]
Lloh0:
	adrp	x8, _RB_DIR_LEFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RB_DIR_LEFT@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	x0, x23
	bl	_RB_SENTINEL_P
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x20
	b	LBB0_6
LBB0_2:
Lloh3:
	adrp	x24, _F@GOTPAGE
Lloh4:
	ldr	x24, [x24, _F@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x23
	mov	x0, x23
	mov	x1, x19
	blr	x25
	cbz	w0, LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	cmp	w0, #0
	cset	w8, gt
	ldr	x9, [x21]
	ldr	x23, [x9, w8, uxtw #3]
	mov	x0, x23
	bl	_RB_SENTINEL_P
	cbz	w0, LBB0_3
; %bb.5:
	cmp	w22, #0
	cset	w22, gt
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	bl	_RB_SET_FATHER
	mov	x0, x19
	mov	x1, x22
	bl	_RB_SET_POSITION
	mov	x0, x19
	cmp	x21, x20
	b.eq	LBB0_8
; %bb.7:
	bl	_RB_MARK_RED
	mov	x0, x21
	bl	_RB_RED_P
	b	LBB0_9
LBB0_8:
	bl	_RB_MARK_BLACK
Lloh5:
	adrp	x8, _F@GOTPAGE
Lloh6:
	ldr	x8, [x8, _F@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_9:
	ldr	x8, [x21]
	mov	w9, w22
	lsl	x9, x9, #3
	ldr	x10, [x8, x9]
	str	x10, [x19, #16]
	ldr	x10, [x8, x9]
	str	x10, [x19, #8]
	str	x19, [x8, x9]
	cbz	w0, LBB0_11
; %bb.10:
	mov	x0, x20
	mov	x1, x19
	bl	___archive_rb_tree_insert_rebalance
LBB0_11:
Lloh8:
	adrp	x24, _T@GOTPAGE
Lloh9:
	ldr	x24, [x24, _T@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x24]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_RB_DIR_LEFT,4,2                ; @RB_DIR_LEFT
	.comm	_F,4,2                          ; @F
	.comm	_T,4,2                          ; @T
.subsections_via_symbols
