	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdl_num_out                    ## -- Begin function xdl_num_out
	.p2align	4, 0x90
_xdl_num_out:                           ## @xdl_num_out
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rdx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movb	$0, -17(%rbp)
	testq	%rsi, %rsi
	js	LBB0_1
## %bb.2:
	je	LBB0_12
## %bb.3:
	leaq	-17(%rbp), %r11
	jmp	LBB0_4
LBB0_1:
	leaq	-18(%rbp), %r11
	movb	$45, -18(%rbp)
	negq	%rdx
LBB0_4:
	decq	%r11
	leaq	L_.str(%rip), %r8
	movabsq	$7378697629483820647, %r9       ## imm = 0x6666666666666667
	leaq	-48(%rbp), %r10
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rsi
	movq	%rdx, %rax
	imulq	%r9
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$2, %rdx
	addq	%rax, %rdx
	leaq	(%rdx,%rdx), %rax
	leaq	(%rax,%rax,4), %rax
	movq	%rsi, %rcx
	subq	%rax, %rcx
	movzbl	(%r8,%rcx), %ecx
	movb	%cl, (%r11)
	addq	$-10, %rsi
	leaq	-1(%r11), %rbx
	cmpq	$-20, %rsi
	ja	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r10, %r11
	movq	%rbx, %r11
	ja	LBB0_5
LBB0_7:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movb	%cl, (%rdi,%rax)
	movzbl	2(%rbx,%rax), %ecx
	incq	%rax
	testb	%cl, %cl
	jne	LBB0_8
## %bb.9:
	addq	%rdi, %rax
	jmp	LBB0_10
LBB0_12:
	leaq	1(%rdi), %rax
	movb	$48, (%rdi)
LBB0_10:
	movb	$0, (%rax)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_13
## %bb.11:
	subl	%edi, %eax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0123456789"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdl_num_out                    ; -- Begin function xdl_num_out
	.p2align	2
_xdl_num_out:                           ; @xdl_num_out
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	add	x8, sp, #8
	strb	wzr, [sp, #39]
	tbnz	x1, #63, LBB0_3
; %bb.1:
	cbz	x1, LBB0_10
; %bb.2:
	add	x8, x8, #31
	b	LBB0_4
LBB0_3:
	add	x8, x8, #30
	mov	w9, #45
	strb	w9, [sp, #38]
	neg	x1, x1
LBB0_4:
	add	x8, x8, #1
	mov	x10, #7378697629483820646
	movk	x10, #26215
	mov	w11, #10
	add	x12, sp, #8
Lloh3:
	adrp	x13, l_.str@PAGE
Lloh4:
	add	x13, x13, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	smulh	x9, x1, x10
	asr	x14, x9, #2
	add	x14, x14, x9, lsr #63
	msub	x9, x14, x11, x1
	ldrb	w9, [x13, x9]
	mov	x15, x8
	strb	w9, [x15, #-2]!
	sub	x16, x1, #10
	add	x8, x15, #1
	cmn	x16, #20
	b.hi	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x14
	cmp	x15, x12
	b.hi	LBB0_5
LBB0_7:
	mov	x10, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	strb	w9, [x0, x10]
	ldrb	w9, [x8, x10]
	add	x10, x10, #1
	cbnz	w9, LBB0_8
; %bb.9:
	add	x8, x0, x10
	b	LBB0_11
LBB0_10:
	mov	w9, #48
	mov	x8, x0
	strb	w9, [x8], #1
LBB0_11:
	strb	wzr, [x8]
	ldur	x9, [x29, #-8]
Lloh5:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_13
; %bb.12:
	sub	w0, w8, w0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0123456789"

.subsections_via_symbols
