	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function select_value
_select_value:                          ## @select_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_READ_START@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.1:
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	$131, (%rdi)
	movq	%rax, 8(%rdi)
	movl	$131, %eax
	jmp	LBB0_4
LBB0_2:
	movl	$129, (%rdi)
	movl	$129, %eax
LBB0_4:
	movl	$0, 4(%rdi)
LBB0_5:
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_12
## %bb.6:
	xorl	%r9d, %r9d
	movl	$2, %r8d
	leaq	L_.str(%rip), %rcx
	leaq	LJTI0_0(%rip), %r10
	movslq	(%r10,%rax,4), %rax
	addq	%r10, %rax
	jmpq	*%rax
LBB0_9:
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_10
LBB0_8:
	movq	8(%rdi), %rax
	movq	16(%rax), %rcx
	movl	24(%rax), %r8d
	jmp	LBB0_10
LBB0_7:
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	movl	8(%rax), %r8d
LBB0_10:
	movslq	4(%rdi), %rax
	addq	%rax, %rcx
	movq	%rcx, (%rsi)
	subl	%eax, %r8d
	movl	%r8d, %r9d
LBB0_11:
	movl	%r9d, (%rdx)
LBB0_12:
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_11
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_READ_START,4,2                 ## @READ_START
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	": "

L_.str.1:                               ## @.str.1
	.asciz	"\r\n"

	.no_dead_strip	_select_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function select_value
_select_value:                          ; @select_value
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _READ_START@GOTPAGE
Lloh1:
	ldr	x9, [x9, _READ_START@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.1:
	ldr	x9, [x0, #16]
	cbz	x9, LBB0_3
; %bb.2:
	mov	w8, #131
	str	w8, [x0]
	str	x9, [x0, #8]
	b	LBB0_4
LBB0_3:
	mov	w8, #129
	str	w8, [x0]
LBB0_4:
	str	wzr, [x0, #4]
LBB0_5:
	sub	w11, w8, #128
	cmp	w11, #5
	b.hi	LBB0_12
; %bb.6:
	mov	w10, #0
	mov	w8, #2
Lloh3:
	adrp	x9, l_.str@PAGE
Lloh4:
	add	x9, x9, l_.str@PAGEOFF
Lloh5:
	adrp	x12, lJTI0_0@PAGE
Lloh6:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x13, LBB0_7
	ldrb	w14, [x12, x11]
	add	x13, x13, x14, lsl #2
	br	x13
LBB0_7:
	mov	w8, #2
Lloh7:
	adrp	x9, l_.str.1@PAGE
Lloh8:
	add	x9, x9, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_8:
	ldr	x8, [x0, #8]
	ldr	x9, [x8, #16]
	ldr	w8, [x8, #24]
	b	LBB0_10
LBB0_9:
	ldr	x8, [x0, #8]
	ldr	x9, [x8]
	ldr	w8, [x8, #8]
LBB0_10:
	ldrsw	x10, [x0, #4]
	add	x9, x9, x10
	str	x9, [x1]
	sub	w10, w8, w10
LBB0_11:
	str	w10, [x2]
LBB0_12:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
                                        ; -- End function
	.comm	_READ_START,4,2                 ; @READ_START
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	": "

l_.str.1:                               ; @.str.1
	.asciz	"\r\n"

	.no_dead_strip	_select_value
.subsections_via_symbols
