	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tipin
_tipin:                                 ## @tipin
	.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
	movq	_SCRIPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_value
	movl	%eax, %edi
	callq	_boolean
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_setscript
LBB0_2:
	xorl	%eax, %eax
	callq	_getchar
	movq	_EOF@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	jne	LBB0_3
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	%eax, %ebx
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movq	_STRIP_PAR@GOTPCREL(%rip), %r14
	movq	_ESCAPE@GOTPCREL(%rip), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_RAISE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_value
	movl	%eax, %ebx
	movl	(%r12), %edi
	callq	_value
	movl	%eax, %edi
	callq	_boolean
	xorl	%esi, %esi
	testq	%rax, %rax
	sete	%sil
	movl	%ebx, %edi
	callq	_setboolean
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_getchar
	movl	%eax, %ebx
	cmpl	(%r13), %eax
	je	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	andl	(%r14), %ebx
	movl	(%r15), %edi
	callq	_value
	movl	%eax, %edi
	callq	_character
	cmpl	%eax, %ebx
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_noesc@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_20
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_escape
	cmpl	(%r13), %eax
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_12
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_cumode@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_RAISECHAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_value
	movl	%eax, %edi
	callq	_character
	cmpl	%eax, %ebx
	je	LBB0_11
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$13, %ebx
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movb	$13, -41(%rbp)
	movq	_FD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	leaq	-41(%rbp), %rsi
	movl	$1, %edx
	callq	_parwrite
	movq	_HALFDUPLEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_value
	movl	%eax, %edi
	callq	_boolean
	testq	%rax, %rax
	je	LBB0_12
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_12
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_cumode@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_FORCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_value
	movl	%eax, %edi
	callq	_character
	cmpl	%eax, %ebx
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_getchar
	movl	%eax, %ebx
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	(%r13), %ebx
	je	LBB0_13
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	andl	(%r14), %ebx
	movq	_EOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_value
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_any
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_RAISE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_value
	movl	%eax, %edi
	callq	_boolean
	testq	%rax, %rax
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %edi
	callq	_islower
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %edi
	callq	_toupper
	movl	%eax, %ebx
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	movb	%bl, -41(%rbp)
	movq	_FD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-41(%rbp), %rsi
	movl	$1, %edx
	callq	_parwrite
	movq	_HALFDUPLEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_value
	movl	%eax, %edi
	callq	_boolean
	testq	%rax, %rax
	je	LBB0_12
## %bb.25:                              ##   in Loop: Header=BB0_4 Depth=1
	movsbl	-41(%rbp), %edi
	callq	_putchar
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_SCRIPT,4,2                     ## @SCRIPT
	.comm	_EOF,4,2                        ## @EOF
	.comm	_STRIP_PAR,4,2                  ## @STRIP_PAR
	.comm	_ESCAPE,4,2                     ## @ESCAPE
	.comm	_noesc,4,2                      ## @noesc
	.comm	_cumode,4,2                     ## @cumode
	.comm	_RAISECHAR,4,2                  ## @RAISECHAR
	.comm	_RAISE,4,2                      ## @RAISE
	.comm	_FD,4,2                         ## @FD
	.comm	_HALFDUPLEX,4,2                 ## @HALFDUPLEX
	.comm	_FORCE,4,2                      ## @FORCE
	.comm	_EOL,4,2                        ## @EOL
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"\r"

	.no_dead_strip	_tipin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tipin
_tipin:                                 ; @tipin
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, _SCRIPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCRIPT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_value
	bl	_boolean
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_sleep
	bl	_setscript
LBB0_2:
	bl	_getchar
Lloh3:
	adrp	x22, _EOF@GOTPAGE
Lloh4:
	ldr	x22, [x22, _EOF@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_4:
Lloh5:
	adrp	x23, _STRIP_PAR@GOTPAGE
Lloh6:
	ldr	x23, [x23, _STRIP_PAR@GOTPAGEOFF]
Lloh7:
	adrp	x24, _ESCAPE@GOTPAGE
Lloh8:
	ldr	x24, [x24, _ESCAPE@GOTPAGEOFF]
Lloh9:
	adrp	x25, _cumode@GOTPAGE
Lloh10:
	ldr	x25, [x25, _cumode@GOTPAGEOFF]
	mov	w20, #1
Lloh11:
	adrp	x26, _RAISECHAR@GOTPAGE
Lloh12:
	ldr	x26, [x26, _RAISECHAR@GOTPAGEOFF]
Lloh13:
	adrp	x27, _RAISE@GOTPAGE
Lloh14:
	ldr	x27, [x27, _RAISE@GOTPAGEOFF]
Lloh15:
	adrp	x28, _HALFDUPLEX@GOTPAGE
Lloh16:
	ldr	x28, [x28, _HALFDUPLEX@GOTPAGEOFF]
Lloh17:
	adrp	x19, _noesc@GOTPAGE
Lloh18:
	ldr	x19, [x19, _noesc@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x27]
	bl	_value
	mov	x21, x0
	ldr	w0, [x27]
	bl	_value
	bl	_boolean
	cmp	x0, #0
	cset	w1, eq
	mov	x0, x21
	bl	_setboolean
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_getchar
	ldr	w8, [x22]
	cmp	w0, w8
	b.eq	LBB0_3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	and	w21, w8, w0
	ldr	w0, [x24]
	bl	_value
	bl	_character
	cmp	w21, w0
	ccmp	w20, #0, #4, eq
	b.ne	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x25]
	cbnz	w8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x26]
	bl	_value
	bl	_character
	cmp	w21, w0
	b.eq	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w21, #13
	b.ne	LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w8, #13
	strb	w8, [sp, #15]
Lloh19:
	adrp	x8, _FD@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FD@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	w20, #1
	add	x1, sp, #15
	mov	w2, #1
	bl	_parwrite
	ldr	w0, [x28]
	bl	_value
	bl	_boolean
	cbz	x0, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh22:
	adrp	x0, l_str@PAGE
Lloh23:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w20, #1
	b	LBB0_6
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x19]
	cbnz	w8, LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	bl	_escape
	ldr	w8, [x22]
	cmp	w0, w8
	b.eq	LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x21, x0
	cbz	w0, LBB0_6
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x25]
	cbnz	w8, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh24:
	adrp	x8, _FORCE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FORCE@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_value
	bl	_character
	cmp	w21, w0
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	bl	_getchar
	mov	x21, x0
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x22]
	cmp	w21, w8
	b.eq	LBB0_3
; %bb.20:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x23]
	and	w21, w8, w21
Lloh27:
	adrp	x8, _EOL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EOL@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_value
	mov	x1, x0
	mov	x0, x21
	bl	_any
	mov	x20, x0
	ldr	w0, [x27]
	bl	_value
	bl	_boolean
	cbz	x0, LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_islower
	cbz	x0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_toupper
	mov	x21, x0
LBB0_23:                                ;   in Loop: Header=BB0_7 Depth=1
	strb	w21, [sp, #15]
Lloh30:
	adrp	x8, _FD@GOTPAGE
Lloh31:
	ldr	x8, [x8, _FD@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	add	x1, sp, #15
	mov	w2, #1
	bl	_parwrite
	ldr	w0, [x28]
	bl	_value
	bl	_boolean
	cbz	x0, LBB0_6
; %bb.24:                               ;   in Loop: Header=BB0_7 Depth=1
	ldrsb	w0, [sp, #15]
	bl	_putchar
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_SCRIPT,4,2                     ; @SCRIPT
	.comm	_EOF,4,2                        ; @EOF
	.comm	_STRIP_PAR,4,2                  ; @STRIP_PAR
	.comm	_ESCAPE,4,2                     ; @ESCAPE
	.comm	_noesc,4,2                      ; @noesc
	.comm	_cumode,4,2                     ; @cumode
	.comm	_RAISECHAR,4,2                  ; @RAISECHAR
	.comm	_RAISE,4,2                      ; @RAISE
	.comm	_FD,4,2                         ; @FD
	.comm	_HALFDUPLEX,4,2                 ; @HALFDUPLEX
	.comm	_FORCE,4,2                      ; @FORCE
	.comm	_EOL,4,2                        ; @EOL
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"\r"

	.no_dead_strip	_tipin
.subsections_via_symbols
