	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function BasicUISelectInt
_BasicUISelectInt:                      ## @BasicUISelectInt
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r12d
	cmpl	%edx, %esi
	jg	LBB0_8
## %bb.1:
	testl	%esi, %esi
	js	LBB0_8
## %bb.2:
	cmpl	$99, %edx
	jg	LBB0_8
## %bb.3:
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	subl	%esi, %r15d
	incl	%r15d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	negq	%r15
	leaq	_BasicUISelectInt.items(%rip), %r14
	leaq	_BasicUISelectInt.item_values(%rip), %rbx
	xorl	%r12d, %r12d
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, (%r14)
	movq	%rbx, %rdi
	movl	$4, %esi
	leaq	L_.str(%rip), %rdx
	movl	%r13d, %ecx
	callq	_snprintf
	incl	%r13d
	decq	%r12
	addq	$8, %r14
	addq	$4, %rbx
	cmpq	%r12, %r15
	jne	LBB0_4
## %bb.5:
	movl	%r12d, %eax
	notl	%eax
	movl	$1, %r13d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, %edx
	cmpl	$10, %eax
	jb	LBB0_7
## %bb.6:
	movl	$9, %eax
	subl	%r12d, %eax
	movl	$3435973837, %r13d              ## imm = 0xCCCCCCCD
	imulq	%rax, %r13
	shrq	$35, %r13
	movl	$10, %edx
LBB0_7:
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %r14d
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	subl	%r15d, %r14d
	xorl	%eax, %eax
	cmpl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	cmovgl	%eax, %r14d
	cmpl	%r15d, %r12d
	leal	(%r13,%r13,2), %r8d
	cmovll	%eax, %r14d
	movl	$39, %ebx
	subl	%r8d, %ebx
	sarl	%ebx
	movl	$22, %ecx
	subl	%edx, %ecx
	shrl	%ecx
	leal	(%rcx,%rdx), %r9d
	incl	%r9d
	addl	%ebx, %r8d
	leal	1(%rcx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$154, %edi
	movl	$148, %esi
	movl	%ebx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_Box
	incl	%ebx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rsp)
	movl	%eax, 48(%rsp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 32(%rsp)
	movl	%ebx, 24(%rsp)
	movl	%r13d, 16(%rsp)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 8(%rsp)
	movl	$2, 40(%rsp)
	movq	$0, (%rsp)
	leaq	_BasicUISelectInt.items(%rip), %rdx
	movl	%r14d, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_Select
	addl	%eax, %r15d
	testl	%eax, %eax
	cmovnsl	%r15d, %r12d
LBB0_8:
	movl	%r12d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_BasicUISelectInt.item_values,400,4 ## @BasicUISelectInt.item_values
.zerofill __DATA,__bss,_BasicUISelectInt.items,800,4 ## @BasicUISelectInt.items
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%2d"

	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_BasicUISelectInt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function BasicUISelectInt
_BasicUISelectInt:                      ; @BasicUISelectInt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	cmp	w1, w2
	b.gt	LBB0_6
; %bb.1:
	mov	x20, x1
	tbnz	w1, #31, LBB0_6
; %bb.2:
	mov	x22, x2
	cmp	w2, #99
	b.gt	LBB0_6
; %bb.3:
	sub	w25, w22, w20
	add	w21, w25, #1
Lloh0:
	adrp	x27, _BasicUISelectInt.items@PAGE
Lloh1:
	add	x27, x27, _BasicUISelectInt.items@PAGEOFF
	mov	w26, #9
Lloh2:
	adrp	x23, _BasicUISelectInt.item_values@PAGE
Lloh3:
	add	x23, x23, _BasicUISelectInt.item_values@PAGEOFF
Lloh4:
	adrp	x24, l_.str@PAGE
Lloh5:
	add	x24, x24, l_.str@PAGEOFF
	mov	x28, x21
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w20, w26
	sub	w3, w8, #9
	str	x23, [x27], #8
	mov	x0, x23
	mov	w1, #4
	mov	x2, x24
	bl	_snprintf
	add	w26, w26, #1
	add	x23, x23, #4
	subs	x28, x28, #1
	b.ne	LBB0_4
; %bb.5:
	sub	w8, w26, #10
	mov	w9, #1
	mov	w10, #52429
	movk	w10, #52428, lsl #16
	umull	x10, w26, w10
	lsr	x10, x10, #35
	mov	w11, #10
	cmp	w8, #10
	csel	w26, w9, w10, lo
	csinc	w23, w11, w25, hs
	add	w8, w26, w26, lsl #1
	mov	w9, #39
	sub	w9, w9, w8
	asr	w24, w9, #1
	mov	w9, #22
	sub	w9, w9, w23
	lsr	w3, w9, #1
	add	w4, w24, w8
	add	w25, w3, #1
	add	w5, w25, w23
	mov	w0, #154
	mov	w1, #148
	mov	x2, x24
	bl	_Box
	sub	w8, w19, w20
	cmp	w19, w22
	ccmp	w19, w20, #8, le
	csel	w0, wzr, w8, lt
	add	w8, w24, #1
Lloh6:
	adrp	x9, _FALSE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x9]
	mov	w9, #2
Lloh9:
	adrp	x2, _BasicUISelectInt.items@PAGE
Lloh10:
	add	x2, x2, _BasicUISelectInt.items@PAGEOFF
	stp	xzr, xzr, [sp, #24]
	stp	w9, w11, [sp, #12]
	stp	w8, w25, [sp, #4]
	str	w26, [sp]
	mov	x1, x21
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, x23
	bl	_Select
	add	w8, w0, w20
	cmp	w0, #0
	csel	w19, w19, w8, lt
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_BasicUISelectInt.item_values,400,0 ; @BasicUISelectInt.item_values
.zerofill __DATA,__bss,_BasicUISelectInt.items,800,3 ; @BasicUISelectInt.items
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%2d"

	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_BasicUISelectInt
.subsections_via_symbols
