	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_addnum                         ## -- Begin function addnum
	.p2align	4, 0x90
_addnum:                                ## @addnum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
	movslq	%esi, %r10
	movq	%r10, %rdx
	negq	%rdx
	decq	%r10
	movq	_digs@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r8), %r9
	movslq	%eax, %rsi
	imulq	$1717986919, %rsi, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
	leal	(%rax,%rax), %ecx
	leal	(%rcx,%rcx,4), %r11d
	movl	%esi, %ecx
	subl	%r11d, %ecx
	movslq	%ecx, %rcx
	movzbl	(%r9,%rcx), %ecx
	leaq	(%rdi,%r10), %r9
	movb	%cl, (%rdi,%r10)
	addl	$-10, %esi
	incq	%rdx
	cmpl	$-20, %esi
	ja	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	decq	%r10
	cmpq	%rdi, %r9
	ja	LBB0_1
LBB0_3:
	cmpq	%rdi, %r9
	jbe	LBB0_5
## %bb.4:
	subq	%rdx, %rdi
	addq	%rdx, %rdi
	negq	%rdx
	movl	$32, %esi
	callq	_memset
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_digs,8,3                       ## @digs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_addnum                         ; -- Begin function addnum
	.p2align	2
_addnum:                                ; @addnum
	.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
	mov	x8, x2
                                        ; kill: def $w1 killed $w1 def $x1
	sxtw	x2, w1
Lloh0:
	adrp	x9, _digs@GOTPAGE
Lloh1:
	ldr	x9, [x9, _digs@GOTPAGEOFF]
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mov	w11, #10
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9]
	smull	x13, w8, w10
	lsr	x14, x13, #63
	asr	x13, x13, #34
	add	w13, w13, w14
	msub	w14, w13, w11, w8
	ldrb	w14, [x12, w14, sxtw]
	add	x12, x0, x2
	strb	w14, [x12, #-1]!
	sub	w8, w8, #10
	sub	x2, x2, #1
	cmn	w8, #20
	b.hi	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x8, x13
	cmp	x12, x0
	b.hi	LBB0_1
LBB0_3:
	cmp	x12, x0
	b.ls	LBB0_5
; %bb.4:
	add	x8, x0, x2
	sub	x0, x8, x2
	mov	w1, #32
	bl	_memset
LBB0_5:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_digs,8,3                       ; @digs
.subsections_via_symbols
