	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btree_out_node_rev
_btree_out_node_rev:                    ## @btree_out_node_rev
	.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	%rdi, %r14
	movq	_R_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_R_end@GOTPCREL(%rip), %r15
	movq	(%r15), %r12
	movq	%r12, -48(%rbp)
	callq	_LPAYLOAD
	movq	%rax, %r13
	testl	$1024, %ebx                     ## imm = 0x400
	jne	LBB0_1
## %bb.8:
	testl	$512, %ebx                      ## imm = 0x200
	jne	LBB0_9
LBB0_10:
	testl	$256, %ebx                      ## imm = 0x100
	jne	LBB0_11
LBB0_12:
	testb	$-128, %bl
	jne	LBB0_13
LBB0_14:
	testb	$64, %bl
	je	LBB0_16
LBB0_15:
	movl	16(%r13), %eax
	movq	-48(%rbp), %rcx
	leaq	-4(%rcx), %rdx
	movq	%rdx, -48(%rbp)
	movl	%eax, -4(%rcx)
LBB0_16:
	movl	(%r14), %esi
	leaq	-48(%rbp), %rdi
	callq	_store_object_id_rev
	movq	-48(%rbp), %rax
	movq	%rax, (%r15)
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.2:
	movq	_empty_string@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	callq	_NODE_TYPE
	movq	_TF_PLUS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_assert
	movq	_OTree@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r14, %rdi
	callq	_NODE_RPOS
	subq	%rax, %r15
	leaq	-52(%rbp), %rsi
	movq	%r15, %rdi
	movq	_R_end@GOTPCREL(%rip), %r15
	callq	_metafile_get_text
	movq	_PTR_INTS@GOTPCREL(%rip), %rcx
	subq	(%rcx), %r12
	sarq	$2, %r12
	movq	%rax, -1(%r12)
	movl	-52(%rbp), %eax
	jmp	LBB0_7
LBB0_4:
	callq	_get_text_ptr
	movq	(%r13), %rdi
LBB0_5:
	movq	_PTR_INTS@GOTPCREL(%rip), %rcx
	subq	(%rcx), %r12
	sarq	$2, %r12
	movq	%rax, -1(%r12)
	callq	_get_text_len
LBB0_7:
	movq	-48(%rbp), %rcx
	movl	%eax, -4(%rcx)
	addq	$-4, %rcx
	movq	_PTR_INTS@GOTPCREL(%rip), %rax
	subq	(%rax), %rcx
	sarq	$2, %rcx
	movq	%rcx, -48(%rbp)
	testl	$512, %ebx                      ## imm = 0x200
	je	LBB0_10
LBB0_9:
	movl	20(%r13), %esi
	leaq	-48(%rbp), %rdi
	callq	_store_value_rev
	testl	$256, %ebx                      ## imm = 0x100
	je	LBB0_12
LBB0_11:
	movl	8(%r13), %eax
	movq	-48(%rbp), %rcx
	leaq	-4(%rcx), %rdx
	movq	%rdx, -48(%rbp)
	movl	%eax, -4(%rcx)
	testb	$-128, %bl
	je	LBB0_14
LBB0_13:
	movl	12(%r13), %eax
	movq	-48(%rbp), %rcx
	leaq	-4(%rcx), %rdx
	movq	%rdx, -48(%rbp)
	movl	%eax, -4(%rcx)
	testb	$64, %bl
	jne	LBB0_15
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_R_mode,4,2                     ## @R_mode
	.comm	_R_end,8,3                      ## @R_end
	.comm	_empty_string,8,3               ## @empty_string
	.comm	_PTR_INTS,8,3                   ## @PTR_INTS
	.comm	_TF_PLUS,8,3                    ## @TF_PLUS
	.comm	_OTree,8,3                      ## @OTree
	.no_dead_strip	_btree_out_node_rev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btree_out_node_rev
_btree_out_node_rev:                    ; @btree_out_node_rev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x0
Lloh0:
	adrp	x8, _R_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R_mode@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x21, _R_end@GOTPAGE
Lloh4:
	ldr	x21, [x21, _R_end@GOTPAGEOFF]
	ldr	x24, [x21]
	str	x24, [sp, #8]
	bl	_LPAYLOAD
	mov	x20, x0
	tbnz	w22, #10, LBB0_7
; %bb.1:
	tbnz	w22, #9, LBB0_14
LBB0_2:
	tbnz	w22, #8, LBB0_15
LBB0_3:
	tbnz	w22, #7, LBB0_16
LBB0_4:
	tbz	w22, #6, LBB0_6
LBB0_5:
	ldr	w8, [x20, #16]
	ldr	x9, [sp, #8]
	str	w8, [x9, #-4]!
	str	x9, [sp, #8]
LBB0_6:
	ldr	w1, [x19]
	add	x0, sp, #8
	bl	_store_object_id_rev
	ldr	x8, [sp, #8]
	str	x8, [x21]
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_7:
	ldr	x0, [x20]
Lloh5:
	adrp	x23, _PTR_INTS@GOTPAGE
Lloh6:
	ldr	x23, [x23, _PTR_INTS@GOTPAGEOFF]
	cbz	x0, LBB0_10
; %bb.8:
Lloh7:
	adrp	x8, _empty_string@GOTPAGE
Lloh8:
	ldr	x8, [x8, _empty_string@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.9:
	mov	x8, #0
	b	LBB0_12
LBB0_10:
	mov	x0, x19
	bl	_NODE_TYPE
Lloh10:
	adrp	x8, _TF_PLUS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TF_PLUS@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, ne
	bl	_assert
Lloh13:
	adrp	x8, _OTree@GOTPAGE
Lloh14:
	ldr	x8, [x8, _OTree@GOTPAGEOFF]
Lloh15:
	ldr	x25, [x8]
	mov	x0, x19
	bl	_NODE_RPOS
	sub	x0, x25, x0
	add	x1, sp, #4
	bl	_metafile_get_text
	ldr	x8, [x23]
	sub	x8, x24, x8
	asr	x8, x8, #2
	stur	x0, [x8, #-1]
	ldr	w0, [sp, #4]
	b	LBB0_13
LBB0_11:
	bl	_get_text_ptr
	mov	x8, x0
	ldr	x0, [x20]
LBB0_12:
	ldr	x9, [x23]
	sub	x9, x24, x9
	asr	x9, x9, #2
	stur	x8, [x9, #-1]
	bl	_get_text_len
LBB0_13:
	ldr	x8, [sp, #8]
	str	w0, [x8, #-4]!
	ldr	x9, [x23]
	sub	x8, x8, x9
	asr	x8, x8, #2
	str	x8, [sp, #8]
	tbz	w22, #9, LBB0_2
LBB0_14:
	ldr	w1, [x20, #20]
	add	x0, sp, #8
	bl	_store_value_rev
	tbz	w22, #8, LBB0_3
LBB0_15:
	ldr	w8, [x20, #8]
	ldr	x9, [sp, #8]
	str	w8, [x9, #-4]!
	str	x9, [sp, #8]
	tbz	w22, #7, LBB0_4
LBB0_16:
	ldr	w8, [x20, #12]
	ldr	x9, [sp, #8]
	str	w8, [x9, #-4]!
	str	x9, [sp, #8]
	tbnz	w22, #6, LBB0_5
	b	LBB0_6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_R_mode,4,2                     ; @R_mode
	.comm	_R_end,8,3                      ; @R_end
	.comm	_empty_string,8,3               ; @empty_string
	.comm	_PTR_INTS,8,3                   ; @PTR_INTS
	.comm	_TF_PLUS,8,3                    ; @TF_PLUS
	.comm	_OTree,8,3                      ; @OTree
	.no_dead_strip	_btree_out_node_rev
.subsections_via_symbols
