	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s_val2ch
_s_val2ch:                              ## @s_val2ch
	.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
	movl	%esi, %r14d
	movl	%edi, %ebx
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	cmpl	$9, %ebx
	jg	LBB0_2
## %bb.1:
	addb	$48, %bl
	jmp	LBB0_3
LBB0_2:
	addb	$87, %bl
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.4:
	movzbl	%bl, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_toupper                        ## TAILCALL
LBB0_3:
	movsbl	%bl, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_s_val2ch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s_val2ch
_s_val2ch:                              ; @s_val2ch
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mvn	w8, w0
	lsr	w0, w8, #31
	bl	_assert
	cmp	w20, #9
	b.gt	LBB0_2
; %bb.1:
	add	w8, w20, #48
	b	LBB0_4
LBB0_2:
	add	w8, w20, #87
	cbz	w19, LBB0_4
; %bb.3:
	and	w0, w8, #0xff
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_toupper
LBB0_4:
	sxtb	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_s_val2ch
.subsections_via_symbols
