	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_num
_get_num:                               ## @get_num
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movb	(%rax), %cl
	leal	-48(%rcx), %edx
	cmpb	$8, %dl
	ja	LBB0_2
## %bb.1:
	movl	$2, %edi
	callq	_malloc
	movq	%rax, %rbx
	movq	(%r14), %rax
	movb	(%rax), %al
	incb	%al
	movb	%al, (%rbx)
	movb	$0, 1(%rbx)
	jmp	LBB0_10
LBB0_2:
	cmpb	$57, %cl
	jne	LBB0_4
## %bb.3:
	movl	$3, %edi
	callq	_malloc
	movq	%rax, %rbx
	movw	$12337, (%rax)                  ## imm = 0x3031
	movb	$0, 2(%rax)
	jmp	LBB0_10
LBB0_4:
	leal	-65(%rcx), %edx
	xorl	%ebx, %ebx
	cmpb	$15, %dl
	ja	LBB0_11
## %bb.5:
	movl	8(%r14), %edx
	incl	%edx
	incq	%rax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%cl, %ecx
	shll	$4, %ebx
	addl	%ecx, %ebx
	addl	$-65, %ebx
	movq	%rax, (%r14)
	movl	%edx, 8(%r14)
	movzbl	(%rax), %ecx
	leal	-65(%rcx), %esi
	incl	%edx
	incq	%rax
	cmpb	$16, %sil
	jb	LBB0_6
## %bb.7:
	cmpb	$64, %cl
	jne	LBB0_8
## %bb.9:
	movl	$16, %edi
	callq	_malloc
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movl	%ebx, %edx
	callq	_sprintf
	movq	%r15, %rbx
LBB0_10:
	incq	(%r14)
	incl	8(%r14)
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u"

	.no_dead_strip	_get_num
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_num
_get_num:                               ; @get_num
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x10, [x0]
	ldrb	w8, [x10]
	sub	w9, w8, #48
	cmp	w9, #8
	b.hi	LBB0_2
; %bb.1:
	mov	w0, #2
	bl	_malloc
	mov	x21, x0
	ldr	x8, [x19]
	ldrb	w8, [x8]
	add	w8, w8, #1
	strb	w8, [x0]
	strb	wzr, [x0, #1]
	b	LBB0_9
LBB0_2:
	cmp	w8, #57
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #3
	bl	_malloc
	mov	x21, x0
	mov	w8, #12337
	strh	w8, [x0]
	strb	wzr, [x0, #2]
	b	LBB0_9
LBB0_4:
	sub	w9, w8, #65
	cmp	w9, #15
	b.hi	LBB0_11
; %bb.5:
	mov	w20, #0
	ldr	w9, [x19, #8]
	add	w9, w9, #1
	add	x10, x10, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w8, w20, lsl #4
	sub	w20, w8, #65
	str	x10, [x19]
	str	w9, [x19, #8]
	ldrb	w8, [x10], #1
	sub	w11, w8, #65
	add	w9, w9, #1
	cmp	w11, #16
	b.lo	LBB0_6
; %bb.7:
	cmp	w8, #64
	b.ne	LBB0_11
; %bb.8:
	mov	w0, #16
	bl	_malloc
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_sprintf
LBB0_9:
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x21, #0
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u"

	.no_dead_strip	_get_num
.subsections_via_symbols
