	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function basicUnion
_basicUnion:                            ## @basicUnion
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r15d
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	-88(%rbp), %rsi
	movq	%r12, %rdi
	callq	_tocharset
	movq	-88(%rbp), %rax
	movq	_ISCHARSET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	cmpq	%rax, (%r14)
	jne	LBB0_3
## %bb.2:
	movq	_CHARSETINSTSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_auxnew
	movq	%rax, %rbx
	movq	_ISet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_setinst
	movq	_i@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	-80(%rbp), %rax
	movq	8(%r14), %rcx
	movl	(%rcx,%rdi,4), %esi
	orl	(%rax,%rdi,4), %esi
	movq	8(%rbx), %rax
	movl	%esi, (%rax,%rdi,4)
	callq	_loopset
	movq	%rbx, %rdi
	callq	_correctset
	jmp	LBB0_7
LBB0_3:
	leaq	-88(%rbp), %rdi
	movq	%r14, %rsi
	callq	_exclusive
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	callq	_isheadfail
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	leal	1(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leal	(%r15,%r13), %ecx
	incl	%ecx
	leaq	-64(%rbp), %rsi
	movq	%rbx, %r14
	movq	%rbx, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_auxnew
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_copypatt
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_check2test
	movslq	%r13d, %rax
	leaq	(%rbx,%rax,8), %rdi
	leaq	(%rbx,%rax,8), %rbx
	addq	$8, %rbx
	movq	_IJmp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	incl	%r15d
	movl	%r15d, %edx
	callq	_setinst
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$2, %edx
	callq	_addpatt
LBB0_7:
	movq	-64(%rbp), %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leal	2(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leal	(%r15,%r13), %ecx
	addl	$2, %ecx
	leaq	-64(%rbp), %rsi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_auxnew
	movq	%rax, %rbx
	leaq	8(%rax), %r14
	movq	_IChoice@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_setinst
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_copypatt
	movslq	%r13d, %rax
	leaq	(%rbx,%rax,8), %r14
	addq	$8, %r14
	leaq	(%rbx,%rax,8), %rbx
	addq	$16, %rbx
	movq	_ICommit@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	incl	%r15d
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_setinst
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	$2, %edx
	callq	_addpatt
	movl	$-2, %eax
	subl	%r13d, %eax
	cltq
	leaq	(%r14,%rax,8), %rdi
	addq	$8, %rdi
	callq	_optimizechoice
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_ISCHARSET,8,3                  ## @ISCHARSET
	.comm	_CHARSETINSTSIZE,4,2            ## @CHARSETINSTSIZE
	.comm	_ISet,4,2                       ## @ISet
	.comm	_i,8,3                          ## @i
	.comm	_IJmp,4,2                       ## @IJmp
	.comm	_IChoice,4,2                    ## @IChoice
	.comm	_ICommit,4,2                    ## @ICommit
	.no_dead_strip	_basicUnion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function basicUnion
_basicUnion:                            ; @basicUnion
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x24, x5
	mov	x23, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	add	x1, sp, #8
	mov	x0, x22
	bl	_tocharset
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x9, _ISCHARSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISCHARSET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x9, [x24]
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _CHARSETINSTSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHARSETINSTSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x1, sp, #24
	mov	x0, x19
	mov	x2, x23
	bl	_auxnew
	mov	x19, x0
Lloh6:
	adrp	x8, _ISet@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ISet@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_setinst
Lloh9:
	adrp	x8, _i@GOTPAGE
Lloh10:
	ldr	x8, [x8, _i@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	ldr	x8, [sp, #16]
	lsl	x9, x0, #2
	ldr	w8, [x8, x9]
	ldr	x10, [x24, #8]
	ldr	w10, [x10, x9]
	orr	w1, w10, w8
	ldr	x8, [x19, #8]
	str	w1, [x8, x9]
	bl	_loopset
	mov	x0, x19
	bl	_correctset
	b	LBB0_6
LBB0_3:
	add	x0, sp, #8
	mov	x1, x24
	bl	_exclusive
	cbnz	x0, LBB0_5
; %bb.4:
	mov	x0, x22
	bl	_isheadfail
	cbz	x0, LBB0_7
LBB0_5:
	add	w24, w20, #1
	add	w3, w24, w21
	add	x1, sp, #24
	mov	x0, x19
	mov	x2, x23
	bl	_auxnew
	mov	x23, x0
	mov	x1, x22
	mov	x2, x20
	bl	_copypatt
	mov	x0, x23
	mov	x1, x24
	bl	_check2test
	add	x0, x23, w20, sxtw #3
	add	x20, x0, #8
Lloh12:
	adrp	x8, _IJmp@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IJmp@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	w2, w21, #1
	bl	_setinst
	mov	x0, x19
	mov	x1, x20
	mov	w2, #2
	bl	_addpatt
LBB0_6:
	ldr	x0, [sp, #24]
	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
	add	sp, sp, #96
	ret
LBB0_7:
	add	w24, w20, #2
	add	w3, w24, w21
	add	x1, sp, #24
	mov	x0, x19
	mov	x2, x23
	bl	_auxnew
	add	x23, x0, #8
Lloh15:
	adrp	x8, _IChoice@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IChoice@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x2, x24
	bl	_setinst
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	bl	_copypatt
	add	x0, x23, w20, sxtw #3
	add	x22, x0, #8
Lloh18:
	adrp	x8, _ICommit@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ICommit@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	add	w2, w21, #1
	bl	_setinst
	mov	x0, x19
	mov	x1, x22
	mov	w2, #2
	bl	_addpatt
	mov	w8, #-2
	sub	w8, w8, w20
	add	x0, x22, w8, sxtw #3
	bl	_optimizechoice
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ISCHARSET,8,3                  ; @ISCHARSET
	.comm	_CHARSETINSTSIZE,4,2            ; @CHARSETINSTSIZE
	.comm	_ISet,4,2                       ; @ISet
	.comm	_i,8,3                          ; @i
	.comm	_IJmp,4,2                       ; @IJmp
	.comm	_IChoice,4,2                    ; @IChoice
	.comm	_ICommit,4,2                    ; @ICommit
	.no_dead_strip	_basicUnion
.subsections_via_symbols
