	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b_out_g_rev
_b_out_g_rev:                           ## @b_out_g_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movl	%edi, %eax
	movq	_R_mode@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	$1728, %edx                     ## imm = 0x6C0
	je	LBB0_4
## %bb.1:
	movl	$-1, -12(%rbp)
	movq	_OTree@GOTPCREL(%rip), %rdi
	leaq	-12(%rbp), %rdx
	movl	%eax, %esi
	callq	_listree_lookup_large
	cmpq	$-1, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rdi
	callq	_SMALL_NODE
	movl	%eax, %edi
	callq	_btree_out_node_rev
	jmp	LBB0_7
LBB0_4:
	movq	_R_end@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	%rcx, -24(%rbp)
	testl	$256, %edx                      ## imm = 0x100
	je	LBB0_6
## %bb.5:
	leaq	-4(%rcx), %rdx
	movq	%rdx, -24(%rbp)
	movl	%esi, -4(%rcx)
LBB0_6:
	leaq	-24(%rbp), %rdi
	movl	%eax, %esi
	callq	_store_object_id_rev
	movq	-24(%rbp), %rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_3:
	movl	-12(%rbp), %esi
	xorl	%edi, %edi
	callq	_barray_out_node_rev
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R_mode,4,2                     ## @R_mode
	.comm	_OTree,4,2                      ## @OTree
	.comm	_R_end,8,3                      ## @R_end
	.no_dead_strip	_b_out_g_rev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b_out_g_rev
_b_out_g_rev:                           ; @b_out_g_rev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x8, x0
Lloh0:
	adrp	x9, _R_mode@GOTPAGE
Lloh1:
	ldr	x9, [x9, _R_mode@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mov	w10, #1728
	tst	w9, w10
	b.eq	LBB0_3
; %bb.1:
	mov	w9, #-1
	str	w9, [sp, #12]
Lloh3:
	adrp	x0, _OTree@GOTPAGE
Lloh4:
	ldr	x0, [x0, _OTree@GOTPAGEOFF]
	add	x2, sp, #12
	mov	x1, x8
	bl	_listree_lookup_large
	cmn	x0, #1
	b.eq	LBB0_6
; %bb.2:
	bl	_SMALL_NODE
	bl	_btree_out_node_rev
	b	LBB0_7
LBB0_3:
Lloh5:
	adrp	x19, _R_end@GOTPAGE
Lloh6:
	ldr	x19, [x19, _R_end@GOTPAGEOFF]
	ldr	x10, [x19]
	str	x10, [sp]
	tbz	w9, #8, LBB0_5
; %bb.4:
	str	w1, [x10, #-4]!
	str	x10, [sp]
LBB0_5:
	mov	x0, sp
	mov	x1, x8
	bl	_store_object_id_rev
	mov	w0, #0
	ldr	x8, [sp]
	str	x8, [x19]
	b	LBB0_7
LBB0_6:
	ldr	w1, [sp, #12]
	mov	w0, #0
	bl	_barray_out_node_rev
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_R_mode,4,2                     ; @R_mode
	.comm	_OTree,4,2                      ; @OTree
	.comm	_R_end,8,3                      ; @R_end
	.no_dead_strip	_b_out_g_rev
.subsections_via_symbols
