	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rbt_begin_iterate              ## -- Begin function rbt_begin_iterate
	.p2align	4, 0x90
_rbt_begin_iterate:                     ## @rbt_begin_iterate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, 16(%rdx)
	movq	$0, 8(%rdx)
	movq	(%rdi), %rax
	movq	_RBTNIL@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	movl	%edi, (%rdx)
	cmpl	$128, %esi
	je	LBB0_4
## %bb.1:
	movl	%esi, %eax
	cmpl	$129, %esi
	jne	LBB0_5
## %bb.2:
	movq	_rbt_left_right_iterator@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_rbt_right_left_iterator@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 4(%rdx)
	popq	%rbp
	retq
LBB0_5:
	movq	_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	popq	%rbp
	jmp	_elog                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RBTNIL,8,3                     ## @RBTNIL
	.comm	_rbt_left_right_iterator,4,2    ## @rbt_left_right_iterator
	.comm	_rbt_right_left_iterator,4,2    ## @rbt_right_left_iterator
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unrecognized rbtree iteration order: %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rbt_begin_iterate              ; -- Begin function rbt_begin_iterate
	.p2align	2
_rbt_begin_iterate:                     ; @rbt_begin_iterate
	.cfi_startproc
; %bb.0:
	stp	xzr, x0, [x2, #8]
Lloh0:
	adrp	x9, _RBTNIL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RBTNIL@GOTPAGEOFF]
	ldr	x10, [x0]
Lloh2:
	ldr	x9, [x9]
	cmp	x10, x9
	cset	w9, eq
	str	w9, [x2]
	cmp	w1, #128
	b.eq	LBB0_3
; %bb.1:
	mov	x8, x1
	cmp	w1, #129
	b.ne	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _rbt_left_right_iterator@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rbt_left_right_iterator@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _rbt_right_left_iterator@GOTPAGE
Lloh6:
	ldr	x8, [x8, _rbt_right_left_iterator@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	str	w8, [x2, #4]
	ret
LBB0_5:
Lloh7:
	adrp	x9, _ERROR@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x9]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	b	_elog
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_RBTNIL,8,3                     ; @RBTNIL
	.comm	_rbt_left_right_iterator,4,2    ; @rbt_left_right_iterator
	.comm	_rbt_right_left_iterator,4,2    ; @rbt_right_left_iterator
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unrecognized rbtree iteration order: %d"

.subsections_via_symbols
