	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_build_multiple_union_iterator  ## -- Begin function build_multiple_union_iterator
	.p2align	4, 0x90
_build_multiple_union_iterator:         ## @build_multiple_union_iterator
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rax
	movq	(%rdi), %r11
	movq	_multiple_union_jump_to@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rdi)
	cmpq	$2, %r11
	jl	LBB0_12
## %bb.1:
	movq	%r11, %r9
	shrq	%r9
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rsi
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r8, (%rdi,%rsi,8)
	leaq	-1(%r9), %rcx
	cmpq	$1, %r9
	movq	%rcx, %r9
	jle	LBB0_12
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	8(%rax), %rdi
	movq	(%rdi,%r9,8), %r8
	leaq	(%r9,%r9), %rdx
	movq	%r9, %rsi
	cmpq	%r11, %rdx
	jg	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r8), %r10d
	movq	%r9, %rcx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rax), %rdi
	cmpq	%r11, %rdx
	jge	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	(%rdi,%rdx,8), %rsi
	movl	(%rsi), %r14d
	movq	%rdx, %rsi
	orq	$1, %rsi
	movq	(%rdi,%rsi,8), %rbx
	cmpl	(%rbx), %r14d
	jg	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	%rdx, %rsi
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	(%rdi,%rsi,8), %rdx
	cmpl	(%rdx), %r10d
	jle	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%rdx, (%rdi,%rcx,8)
	leaq	(%rsi,%rsi), %rdx
	movq	%rsi, %rcx
	cmpq	%r11, %rdx
	jle	LBB0_4
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax), %rdi
	jmp	LBB0_11
LBB0_12:
	movq	8(%rax), %rcx
	movq	8(%rcx), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_multiple_union_jump_to,4,2     ## @multiple_union_jump_to
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_build_multiple_union_iterator  ; -- Begin function build_multiple_union_iterator
	.p2align	2
_build_multiple_union_iterator:         ; @build_multiple_union_iterator
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _multiple_union_jump_to@GOTPAGE
Lloh1:
	ldr	x9, [x9, _multiple_union_jump_to@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x0, #4]
	cmp	x8, #2
	b.lt	LBB0_12
; %bb.1:
	lsr	x9, x8, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x13, x14
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x10, [x11, x13, lsl #3]
	subs	x9, x9, #1
	b.le	LBB0_12
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	x11, [x0, #8]
	ldr	x10, [x11, x9, lsl #3]
	lsl	x15, x9, #1
	mov	x13, x9
	cmp	x15, x8
	b.gt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w12, [x10]
	mov	x14, x9
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x0, #8]
	cmp	x15, x8
	b.ge	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x13, [x11, x15, lsl #3]
	ldr	w13, [x13]
	orr	x16, x15, #0x1
	ldr	x17, [x11, x16, lsl #3]
	ldr	w17, [x17]
	cmp	w13, w17
	csel	x13, x16, x15, gt
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=2
	mov	x13, x15
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=2
	ldr	x15, [x11, x13, lsl #3]
	ldr	w16, [x15]
	cmp	w12, w16
	b.le	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=2
	str	x15, [x11, x14, lsl #3]
	lsl	x15, x13, #1
	mov	x14, x13
	cmp	x15, x8
	b.le	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x0, #8]
	b	LBB0_3
LBB0_12:
	ldr	x8, [x0, #8]
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
	str	w8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_multiple_union_jump_to,4,2     ; @multiple_union_jump_to
.subsections_via_symbols
