	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function barray_out_node_rev
_barray_out_node_rev:                   ## @barray_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	_R_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_R_end@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	movq	_R@GOTPCREL(%rip), %rax
	movq	_MAX_RES@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	shlq	$2, %rcx
	addq	(%rax), %rcx
	movq	%rbx, -40(%rbp)
	xorl	%edi, %edi
	cmpq	%rcx, %rbx
	setb	%dil
	callq	_assert
	testl	$1024, %r12d                    ## imm = 0x400
	jne	LBB0_1
## %bb.2:
	testl	$512, %r12d                     ## imm = 0x200
	jne	LBB0_3
LBB0_4:
	testl	$256, %r12d                     ## imm = 0x100
	jne	LBB0_5
LBB0_6:
	testb	$-128, %r12b
	jne	LBB0_7
LBB0_8:
	testb	$64, %r12b
	je	LBB0_10
LBB0_9:
	movl	%r15d, %edi
	callq	_metafile_get_flags
	movq	-40(%rbp), %rcx
	leaq	-4(%rcx), %rdx
	movq	%rdx, -40(%rbp)
	movl	%eax, -4(%rcx)
LBB0_10:
	movq	_M_obj_id_list@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_OARR_ENTRY
	leaq	-40(%rbp), %rdi
	movl	%eax, %esi
	callq	_store_object_id_rev
	movq	-40(%rbp), %rax
	movq	%rax, (%r14)
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	-44(%rbp), %rsi
	movl	%r15d, %edi
	callq	_metafile_get_text
	movq	_PTR_INTS@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rbx
	sarq	$2, %rbx
	movq	%rax, -1(%rbx)
	movl	-44(%rbp), %eax
	movq	-40(%rbp), %rdx
	movl	%eax, -4(%rdx)
	addq	$-4, %rdx
	subq	(%rcx), %rdx
	sarq	$2, %rdx
	movq	%rdx, -40(%rbp)
	testl	$512, %r12d                     ## imm = 0x200
	je	LBB0_4
LBB0_3:
	movl	%r15d, %edi
	callq	_metafile_get_value
	leaq	-40(%rbp), %rdi
	movl	%eax, %esi
	callq	_store_value_rev
	testl	$256, %r12d                     ## imm = 0x100
	je	LBB0_6
LBB0_5:
	movq	_M_global_id_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r15d, %rcx
	movl	(%rax,%rcx,4), %eax
	movq	-40(%rbp), %rcx
	leaq	-4(%rcx), %rdx
	movq	%rdx, -40(%rbp)
	movl	%eax, -4(%rcx)
	testb	$-128, %r12b
	je	LBB0_8
LBB0_7:
	movl	%r15d, %edi
	callq	_metafile_get_date
	movq	-40(%rbp), %rcx
	leaq	-4(%rcx), %rdx
	movq	%rdx, -40(%rbp)
	movl	%eax, -4(%rcx)
	testb	$64, %r12b
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_R_mode,4,2                     ## @R_mode
	.comm	_R_end,8,3                      ## @R_end
	.comm	_R,8,3                          ## @R
	.comm	_MAX_RES,4,2                    ## @MAX_RES
	.comm	_PTR_INTS,8,3                   ## @PTR_INTS
	.comm	_M_global_id_list,8,3           ## @M_global_id_list
	.comm	_M_obj_id_list,4,2              ## @M_obj_id_list
	.no_dead_strip	_barray_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 barray_out_node_rev
_barray_out_node_rev:                   ; @barray_out_node_rev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
Lloh0:
	adrp	x8, _R_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R_mode@GOTPAGEOFF]
Lloh2:
	adrp	x20, _R_end@GOTPAGE
Lloh3:
	ldr	x20, [x20, _R_end@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	ldr	x22, [x20]
	str	x22, [sp, #8]
Lloh5:
	adrp	x8, _R@GOTPAGE
Lloh6:
	ldr	x8, [x8, _R@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _MAX_RES@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MAX_RES@GOTPAGEOFF]
Lloh10:
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #2
	cmp	x22, x8
	cset	w0, lo
	bl	_assert
	tbnz	w21, #10, LBB0_7
; %bb.1:
	tbnz	w21, #9, LBB0_8
LBB0_2:
	tbnz	w21, #8, LBB0_9
LBB0_3:
	tbnz	w21, #7, LBB0_10
LBB0_4:
	tbz	w21, #6, LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_metafile_get_flags
	ldr	x8, [sp, #8]
	str	w0, [x8, #-4]!
	str	x8, [sp, #8]
LBB0_6:
Lloh11:
	adrp	x8, _M_obj_id_list@GOTPAGE
Lloh12:
	ldr	x8, [x8, _M_obj_id_list@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_OARR_ENTRY
	mov	x1, x0
	add	x0, sp, #8
	bl	_store_object_id_rev
	ldr	x8, [sp, #8]
	str	x8, [x20]
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	add	x1, sp, #4
	mov	x0, x19
	bl	_metafile_get_text
Lloh14:
	adrp	x8, _PTR_INTS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PTR_INTS@GOTPAGEOFF]
	ldr	x9, [x8]
	sub	x9, x22, x9
	asr	x9, x9, #2
	stur	x0, [x9, #-1]
	ldr	w9, [sp, #4]
	ldr	x10, [sp, #8]
	str	w9, [x10, #-4]!
	ldr	x8, [x8]
	sub	x8, x10, x8
	asr	x8, x8, #2
	str	x8, [sp, #8]
	tbz	w21, #9, LBB0_2
LBB0_8:
	mov	x0, x19
	bl	_metafile_get_value
	mov	x1, x0
	add	x0, sp, #8
	bl	_store_value_rev
	tbz	w21, #8, LBB0_3
LBB0_9:
Lloh16:
	adrp	x8, _M_global_id_list@GOTPAGE
Lloh17:
	ldr	x8, [x8, _M_global_id_list@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldr	w8, [x8, w19, sxtw #2]
	ldr	x9, [sp, #8]
	str	w8, [x9, #-4]!
	str	x9, [sp, #8]
	tbz	w21, #7, LBB0_4
LBB0_10:
	mov	x0, x19
	bl	_metafile_get_date
	ldr	x8, [sp, #8]
	str	w0, [x8, #-4]!
	str	x8, [sp, #8]
	tbnz	w21, #6, LBB0_5
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_R_mode,4,2                     ; @R_mode
	.comm	_R_end,8,3                      ; @R_end
	.comm	_R,8,3                          ; @R
	.comm	_MAX_RES,4,2                    ; @MAX_RES
	.comm	_PTR_INTS,8,3                   ; @PTR_INTS
	.comm	_M_global_id_list,8,3           ; @M_global_id_list
	.comm	_M_obj_id_list,4,2              ; @M_obj_id_list
	.no_dead_strip	_barray_out_node_rev
.subsections_via_symbols
