	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function demi_print
_demi_print:                            ## @demi_print
	.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
	movl	%esi, %ebx
	movq	%rdi, %r12
	callq	_strlen
	movl	%eax, %r14d
	movl	$1, %r15d
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.2:
	movq	_TAB_LEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	leal	(%rcx,%rcx,4), %eax
	movl	_demi_print.lenlast(%rip), %esi
	cmpl	%esi, %eax
	cmovlel	%esi, %eax
	cltd
	idivl	%ecx
	incl	%eax
	imull	%ecx, %eax
	addl	%r14d, %eax
	movq	_LINE_LEN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jle	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %r13
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str.2(%rip), %r13
	jmp	LBB0_6
LBB0_4:
	shll	$2, %ecx
	xorl	%r15d, %r15d
	leaq	L_.str(%rip), %r13
	cmpl	%ecx, %esi
	jge	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$9, %edi
	callq	_putchar
	movl	(%rbx), %eax
	movl	_demi_print.lenlast(%rip), %ecx
	addl	%eax, %ecx
	movl	%ecx, _demi_print.lenlast(%rip)
	shll	$2, %eax
	cmpl	%eax, %ecx
	jl	LBB0_5
LBB0_6:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_printf
	movl	%r14d, _demi_print.lenlast(%rip)
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_demi_print.lenlast,4,2 ## @demi_print.lenlast
	.comm	_TAB_LEN,4,2                    ## @TAB_LEN
	.comm	_LINE_LEN,4,2                   ## @LINE_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\t%s\n"

L_.str.1:                               ## @.str.1
	.asciz	"\n%s"

L_.str.2:                               ## @.str.2
	.asciz	"%s"

	.no_dead_strip	_demi_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function demi_print
_demi_print:                            ; @demi_print
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
	bl	_strlen
	mov	x20, x0
	adrp	x23, _demi_print.lenlast@PAGE
	cbz	w21, LBB0_3
; %bb.1:
Lloh0:
	adrp	x22, _TAB_LEN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TAB_LEN@GOTPAGEOFF]
	ldr	w8, [x22]
	add	w10, w8, w8, lsl #2
	ldr	w9, [x23, _demi_print.lenlast@PAGEOFF]
	cmp	w10, w9
	csel	w10, w10, w9, gt
	sdiv	w10, w10, w8
	madd	w10, w8, w10, w8
Lloh2:
	adrp	x11, _LINE_LEN@GOTPAGE
Lloh3:
	ldr	x11, [x11, _LINE_LEN@GOTPAGEOFF]
Lloh4:
	ldr	w11, [x11]
	add	w10, w10, w20
	cmp	w10, w11
	b.le	LBB0_4
; %bb.2:
	mov	w22, #1
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_3:
	mov	w22, #1
Lloh7:
	adrp	x21, l_.str.2@PAGE
Lloh8:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_4:
	cmp	w9, w8, lsl #2
	b.ge	LBB0_8
; %bb.5:
Lloh9:
	adrp	x21, l_.str@PAGE
Lloh10:
	add	x21, x21, l_.str@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #9
	bl	_putchar
	ldr	w8, [x22]
	ldr	w9, [x23, _demi_print.lenlast@PAGEOFF]
	add	w9, w9, w8
	str	w9, [x23, _demi_print.lenlast@PAGEOFF]
	cmp	w9, w8, lsl #2
	b.lt	LBB0_6
; %bb.7:
	mov	w22, #0
	b	LBB0_9
LBB0_8:
	mov	w22, #0
Lloh11:
	adrp	x21, l_.str@PAGE
Lloh12:
	add	x21, x21, l_.str@PAGEOFF
LBB0_9:
	mov	x0, x21
	mov	x1, x19
	bl	_printf
	str	w20, [x23, _demi_print.lenlast@PAGEOFF]
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_demi_print.lenlast,4,2 ; @demi_print.lenlast
	.comm	_TAB_LEN,4,2                    ; @TAB_LEN
	.comm	_LINE_LEN,4,2                   ; @LINE_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\t%s\n"

l_.str.1:                               ; @.str.1
	.asciz	"\n%s"

l_.str.2:                               ; @.str.2
	.asciz	"%s"

	.no_dead_strip	_demi_print
.subsections_via_symbols
