	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_block                          ## -- Begin function block
	.p2align	4, 0x90
_block:                                 ## @block
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpb	$0, _block.intrunc(%rip)
	je	LBB0_6
## %bb.1:
	movq	_in@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.2:
	leaq	1(%rdi), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$10, -1(%rdx)
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_3
LBB0_5:
	movq	$0, 16(%rax)
	jmp	LBB0_47
LBB0_6:
	movq	_in@GOTPCREL(%rip), %rax
	movq	16(%rax), %rsi
	movq	24(%rax), %rbx
	jmp	LBB0_8
LBB0_7:
	movb	$0, _block.intrunc(%rip)
	subq	%rsi, %rcx
	leaq	-1(%rcx), %rsi
	movq	%rsi, 16(%rax)
	leaq	(%rdx,%rcx), %rbx
	decq	%rbx
	movq	%rbx, 24(%rax)
LBB0_8:
	xorl	%edi, %edi
	testq	%rsi, %rsi
	je	LBB0_46
## %bb.9:
	subq	%rsi, %rbx
	movq	_out@GOTPCREL(%rip), %r13
	movq	_in@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_44
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
                                        ##     Child Loop BB0_35 Depth 2
	movq	(%r13), %r15
	movq	_cbsz@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_MIN
	movq	_ctab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	testq	%rax, %rax
	je	LBB0_22
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbq	(%rbx), %r14
	cmpq	$10, %r14
	je	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	incq	%rbx
	movzbl	(%rsi,%r14), %edx
	movb	%dl, (%r15,%rcx)
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_14
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	testq	%rax, %rax
	je	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=1
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%rbx), %r14d
	cmpl	$10, %r14d
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	incq	%rbx
	movb	%r14b, (%r15,%rcx)
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_18
LBB0_20:                                ##   in Loop: Header=BB0_11 Depth=1
	addq	%rcx, %r15
	cmpl	$10, %r14d
	je	LBB0_23
LBB0_26:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%r12), %rdx
	movq	_cbsz@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpq	%rsi, %rdx
	jb	LBB0_45
## %bb.27:                              ##   in Loop: Header=BB0_11 Depth=1
	subq	%rax, %rdx
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_11 Depth=1
	xorl	%eax, %eax
	cmpl	$10, %r14d
	jne	LBB0_26
LBB0_23:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rax, %rcx
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	addq	%rcx, %r15
LBB0_24:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rcx, %rdx
	notq	%rdx
	addq	16(%r12), %rdx
	movq	_cbsz@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$10, %r14d
	movq	%rcx, %rax
LBB0_28:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rdx, 16(%r12)
	movq	%rsi, %rcx
	subq	%rax, %rcx
	jbe	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_ctab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_38
## %bb.30:                              ##   in Loop: Header=BB0_11 Depth=1
	movb	32(%rax), %al
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_11 Depth=1
	testq	%rdx, %rdx
	je	LBB0_40
## %bb.32:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpb	$10, (%rbx)
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_st@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_34:                                ##   in Loop: Header=BB0_11 Depth=1
	leaq	(%rbx,%rdx), %rax
	incq	%rbx
	decq	%rdx
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$10, -1(%rbx)
	movq	%rdx, 16(%r12)
	je	LBB0_42
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=2
	incq	%rbx
	addq	$-1, %rdx
	jb	LBB0_35
## %bb.37:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rax, %rbx
	jmp	LBB0_41
LBB0_38:                                ##   in Loop: Header=BB0_11 Depth=1
	movb	$32, %al
LBB0_39:                                ##   in Loop: Header=BB0_11 Depth=1
	movsbl	%al, %esi
	movq	%r15, %rdi
	movq	%rcx, %rdx
	callq	_memset
	movq	_cbsz@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	jmp	LBB0_42
LBB0_40:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_st@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_41:                                ##   in Loop: Header=BB0_11 Depth=1
	movb	$1, _block.intrunc(%rip)
LBB0_42:                                ##   in Loop: Header=BB0_11 Depth=1
	addq	%rsi, (%r13)
	addq	8(%r13), %rsi
	movq	%rsi, 8(%r13)
	cmpq	16(%r13), %rsi
	jb	LBB0_10
## %bb.43:                              ##   in Loop: Header=BB0_11 Depth=1
	xorl	%edi, %edi
	callq	_dd_out
	jmp	LBB0_10
LBB0_44:
	xorl	%edi, %edi
	jmp	LBB0_46
LBB0_45:
	movq	(%r12), %rdi
	movq	24(%r12), %rsi
	subq	%rdx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memmove
	movq	16(%r12), %rdi
LBB0_46:
	movq	_in@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
LBB0_47:
	movq	_in@GOTPCREL(%rip), %rax
	movq	%rdi, 24(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_block.intrunc,1,2 ## @block.intrunc
	.comm	_in,32,3                        ## @in
	.comm	_out,24,3                       ## @out
	.comm	_cbsz,8,3                       ## @cbsz
	.comm	_ctab,8,3                       ## @ctab
	.comm	_st,4,2                         ## @st
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_block                          ; -- Begin function block
	.p2align	2
_block:                                 ; @block
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	adrp	x21, _block.intrunc@PAGE
	ldrb	w8, [x21, _block.intrunc@PAGEOFF]
Lloh0:
	adrp	x20, _in@GOTPAGE
Lloh1:
	ldr	x20, [x20, _in@GOTPAGEOFF]
	tbz	w8, #0, LBB0_6
; %bb.1:
	ldp	x8, x9, [x20]
	cbz	x9, LBB0_5
; %bb.2:
	add	x10, x8, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldurb	w11, [x10, #-1]
	cmp	w11, #10
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	subs	x9, x9, #1
	b.ne	LBB0_3
LBB0_5:
	str	xzr, [x20, #16]
	b	LBB0_44
LBB0_6:
	ldp	x1, x8, [x20, #16]
	cbnz	x1, LBB0_8
	b	LBB0_42
LBB0_7:
	strb	wzr, [x21, _block.intrunc@PAGEOFF]
	sub	x1, x9, #1
	add	x8, x10, x9
	sub	x8, x8, #1
	stp	x1, x8, [x20, #16]
	cbz	x1, LBB0_42
LBB0_8:
	mov	w28, #0
Lloh2:
	adrp	x22, _out@GOTPAGE
Lloh3:
	ldr	x22, [x22, _out@GOTPAGEOFF]
Lloh4:
	adrp	x23, _cbsz@GOTPAGE
Lloh5:
	ldr	x23, [x23, _cbsz@GOTPAGEOFF]
	sub	x27, x8, x1
Lloh6:
	adrp	x24, _ctab@GOTPAGE
Lloh7:
	ldr	x24, [x24, _ctab@GOTPAGEOFF]
	mov	w25, #1
Lloh8:
	adrp	x26, _st@GOTPAGE
Lloh9:
	ldr	x26, [x26, _st@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x1, [x20, #16]
	cbz	x1, LBB0_42
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_33 Depth 2
	ldr	x19, [x22]
	ldr	x0, [x23]
	bl	_MIN
	ldr	x8, [x24]
	cbz	x8, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	cbz	x0, LBB0_20
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x9, #0
LBB0_13:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	x28, [x27, x9]
	cmp	x28, #10
	b.eq	LBB0_24
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	ldrb	w10, [x8, x28]
	strb	w10, [x19, x9]
	add	x9, x9, #1
	cmp	x0, x9
	b.ne	LBB0_13
	b	LBB0_19
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
	cbz	x0, LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x9, #0
LBB0_17:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w28, [x27, x9]
	cmp	w28, #10
	b.eq	LBB0_24
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	and	w8, w28, #0xff
	strb	w8, [x19, x9]
	add	x9, x9, #1
	cmp	x0, x9
	b.ne	LBB0_17
LBB0_19:                                ;   in Loop: Header=BB0_10 Depth=1
	add	x27, x27, x9
	add	x19, x19, x9
LBB0_20:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	w28, #10
	b.ne	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x9, x0
	b	LBB0_25
LBB0_22:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x2, [x20, #16]
	ldr	x8, [x23]
	cmp	x2, x8
	b.lo	LBB0_45
; %bb.23:                               ;   in Loop: Header=BB0_10 Depth=1
	sub	x10, x2, x0
	b	LBB0_26
LBB0_24:                                ;   in Loop: Header=BB0_10 Depth=1
	add	x8, x27, x9
	add	x27, x8, #1
	add	x19, x19, x9
LBB0_25:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x20, #16]
	mvn	x10, x9
	add	x10, x8, x10
	ldr	x8, [x23]
	mov	w28, #10
	mov	x0, x9
LBB0_26:                                ;   in Loop: Header=BB0_10 Depth=1
	str	x10, [x20, #16]
	subs	x2, x8, x0
	b.ls	LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x24]
	cbz	x8, LBB0_36
; %bb.28:                               ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w8, [x8, #32]
	b	LBB0_37
LBB0_29:                                ;   in Loop: Header=BB0_10 Depth=1
	cbz	x10, LBB0_38
; %bb.30:                               ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w9, [x27]
	cmp	w9, #10
	b.eq	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w9, [x26]
	add	w9, w9, #1
	str	w9, [x26]
LBB0_32:                                ;   in Loop: Header=BB0_10 Depth=1
	add	x9, x27, x10
	add	x27, x27, #1
	sub	x10, x10, #1
LBB0_33:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldurb	w11, [x27, #-1]
	str	x10, [x20, #16]
	cmp	w11, #10
	b.eq	LBB0_40
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=2
	add	x27, x27, #1
	sub	x10, x10, #1
	cmn	x10, #1
	b.ne	LBB0_33
; %bb.35:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x27, x9
	b	LBB0_39
LBB0_36:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w8, #32
LBB0_37:                                ;   in Loop: Header=BB0_10 Depth=1
	sxtb	w1, w8
	mov	x0, x19
	bl	_memset
	ldr	x8, [x23]
	b	LBB0_40
LBB0_38:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w9, [x26]
	add	w9, w9, #1
	str	w9, [x26]
LBB0_39:                                ;   in Loop: Header=BB0_10 Depth=1
	strb	w25, [x21, _block.intrunc@PAGEOFF]
LBB0_40:                                ;   in Loop: Header=BB0_10 Depth=1
	ldp	x9, x10, [x22]
	add	x9, x9, x8
	ldr	x11, [x22, #16]
	add	x8, x10, x8
	cmp	x8, x11
	stp	x9, x8, [x22]
	b.lo	LBB0_9
; %bb.41:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w0, #0
	bl	_dd_out
	b	LBB0_9
LBB0_42:
	mov	x8, #0
LBB0_43:
	ldr	x9, [x20]
	add	x8, x9, x8
LBB0_44:
	str	x8, [x20, #24]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_45:
	ldr	x0, [x20]
	ldr	x8, [x20, #24]
	sub	x1, x8, x2
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memmove
	ldr	x8, [x20, #16]
	b	LBB0_43
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_block.intrunc,1,2 ; @block.intrunc
	.comm	_in,32,3                        ; @in
	.comm	_out,24,3                       ; @out
	.comm	_cbsz,8,3                       ; @cbsz
	.comm	_ctab,8,3                       ; @ctab
	.comm	_st,4,2                         ; @st
.subsections_via_symbols
