	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function doselect
_doselect:                              ## @doselect
	.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), %rdi
	movl	(%rdi), %ecx
	leal	-99(%rcx), %eax
	cmpl	$17, %eax
	ja	LBB0_10
## %bb.1:
	movl	$163843, %edx                   ## imm = 0x28003
	btl	%eax, %edx
	jae	LBB0_2
## %bb.5:
	movl	$1, %eax
	cmpl	$102, 4(%rdi)
	je	LBB0_11
## %bb.6:
	cmpl	$101, %ecx
	je	LBB0_3
## %bb.7:
	cmpl	$99, %ecx
	jne	LBB0_10
## %bb.8:
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	_cln_foundcore@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_10
LBB0_2:
	cmpl	$2, %eax
	jne	LBB0_10
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_4
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	popq	%rbp
	retq
LBB0_4:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"core"

	.comm	_cln_foundcore,4,2              ## @cln_foundcore
L_.str.1:                               ## @.str.1
	.asciz	"errs."

	.no_dead_strip	_doselect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function doselect
_doselect:                              ; @doselect
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x0, [x0]
	ldr	w8, [x0]
	sub	w9, w8, #99
	cmp	w9, #17
	b.hi	LBB0_9
; %bb.1:
	mov	w10, #1
	lsl	w10, w10, w9
	mov	w11, #32771
	movk	w11, #2, lsl #16
	tst	w10, w11
	b.eq	LBB0_7
; %bb.2:
	ldr	w9, [x0, #4]
	cmp	w9, #102
	b.eq	LBB0_10
; %bb.3:
	cmp	w8, #101
	b.eq	LBB0_8
; %bb.4:
	cmp	w8, #99
	b.ne	LBB0_9
; %bb.5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_9
; %bb.6:
Lloh2:
	adrp	x8, _cln_foundcore@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cln_foundcore@GOTPAGEOFF]
	mov	w9, #1
Lloh4:
	str	w9, [x8]
	b	LBB0_9
LBB0_7:
	cmp	w9, #2
	b.ne	LBB0_9
LBB0_8:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #5
	bl	_strncmp
	cbz	w0, LBB0_10
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"core"

	.comm	_cln_foundcore,4,2              ; @cln_foundcore
l_.str.1:                               ; @.str.1
	.asciz	"errs."

	.no_dead_strip	_doselect
.subsections_via_symbols
