	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function outputarr
_outputarr:                             ## @outputarr
	.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
	subq	$296, %rsp                      ## imm = 0x128
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r14d
	movq	%rdi, -312(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, -320(%rbp)                ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_strlen
	cmpl	$10, %eax
	ja	LBB0_1
## %bb.2:
	movl	%eax, %eax
	xorl	%ebx, %ebx
	movl	$10, %ecx
	subq	%rax, %rcx
	cmovaeq	%rcx, %rbx
	leaq	1(%rbx), %rdx
	leaq	-304(%rbp), %rdi
	movl	$32, %esi
	callq	_memset
	leaq	(%rbx,%rbp), %r13
	addq	$-303, %r13                     ## imm = 0xFED1
	testl	%r14d, %r14d
	jne	LBB0_4
	jmp	LBB0_15
LBB0_1:
	leaq	-304(%rbp), %r13
	testl	%r14d, %r14d
	je	LBB0_15
LBB0_4:
	movslq	%r14d, %r15
	movq	%r15, -328(%rbp)                ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$4, %r12
	decq	%r15
	je	LBB0_15
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	cmpq	-328(%rbp), %r15                ## 8-byte Folded Reload
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movb	$32, (%r13)
	incq	%r13
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_lfptoms
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	cmpq	$8, %rax
	jb	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movb	$0, 7(%rbx)
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r14
	cmpq	$7, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$7, %edx
	subq	%r14, %rdx
	movq	%r13, %rdi
	movl	$32, %esi
	callq	_memset
	subq	%r14, %r13
	addq	$7, %r13
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movb	%al, (%r13)
	incq	%r13
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_13
	jmp	LBB0_14
LBB0_15:
	movb	$0, (%r13)
	leaq	-304(%rbp), %rdx
	movq	-312(%rbp), %rdi                ## 8-byte Reload
	movq	-320(%rbp), %rsi                ## 8-byte Reload
	callq	_output
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	addq	$296, %rsp                      ## imm = 0x128
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_outputarr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function outputarr
_outputarr:                             ; @outputarr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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
	mov	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	mov	x22, sp
	mov	x0, x1
	bl	_strlen
	cmp	w0, #10
	b.hi	LBB0_2
; %bb.1:
	mov	w8, #10
	subs	x8, x8, w0, uxtw
	csel	x8, xzr, x8, lo
	add	x24, x8, #1
	mov	x0, sp
	mov	w1, #32
	mov	x2, x24
	bl	_memset
	add	x22, x22, x24
LBB0_2:
	cbz	w23, LBB0_14
; %bb.3:
	sxtw	x25, w23
	mov	w26, #7
	mov	w27, #32
	mov	x28, x25
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #4
	subs	x28, x28, #1
	b.eq	LBB0_14
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	cmp	x28, x25
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	strb	w27, [x22], #1
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	w1, #2
	bl	_lfptoms
	mov	x23, x0
	bl	_strlen
	cmp	x0, #8
	b.lo	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	strb	wzr, [x23, #7]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, x0
	cmp	x0, #7
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	sub	x2, x26, x24
	mov	x0, x22
	mov	w1, #32
	bl	_memset
	sub	x8, x22, x24
	add	x22, x8, #7
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x23]
	cbz	w8, LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x23, #1
LBB0_13:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	strb	w8, [x22], #1
	ldrb	w8, [x9], #1
	cbnz	w8, LBB0_13
	b	LBB0_4
LBB0_14:
	strb	wzr, [x22]
	mov	x2, sp
	mov	x0, x20
	mov	x1, x19
	bl	_output
	ldur	x8, [x29, #-96]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_outputarr
.subsections_via_symbols
