	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intEMT
_intEMT:                                ## @intEMT
	.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	%r12
	pushq	%rbx
	subq	$288, %rsp                      ## imm = 0x120
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_fildes@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	(%rax), %edi
	leaq	-306(%rbp), %rsi
	movl	$1, %edx
	callq	_read
	movb	-306(%rbp), %al
	cmpb	$10, %al
	jne	LBB0_2
## %bb.1:
	leaq	-304(%rbp), %r12
	jmp	LBB0_5
LBB0_2:
	movl	$1, %ebx
	leaq	-304(%rbp), %r12
	leaq	-306(%rbp), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movb	%al, (%r12)
	incq	%r12
	movq	(%r15), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_read
	movzbl	-306(%rbp), %eax
	cmpb	$10, %al
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rbx), %rcx
	cmpq	$256, %rbx                      ## imm = 0x100
	movq	%rcx, %rbx
	jb	LBB0_3
LBB0_5:
	movb	$0, (%r12)
	movq	_SCRIPT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_value
	movl	%eax, %edi
	callq	_boolean
	movq	_fscript@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_fclose
LBB0_8:
	leaq	-304(%rbp), %rax
	cmpq	%rax, %r12
	je	LBB0_9
## %bb.10:
	leaq	L_.str(%rip), %rsi
	leaq	-304(%rbp), %rdi
	callq	_fopen
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movb	$121, -305(%rbp)
	movl	(%r14), %edi
	callq	_value
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_setboolean
	jmp	LBB0_13
LBB0_9:
	movl	(%r14), %edi
	callq	_value
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_setboolean
	movb	$121, -305(%rbp)
	jmp	LBB0_13
LBB0_11:
	movb	$110, -305(%rbp)
LBB0_13:
	movq	_repdes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edi
	leaq	-305(%rbp), %rsi
	movl	$1, %edx
	callq	_write
	movq	_sigbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_longjmp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$288, %rsp                      ## imm = 0x120
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_fildes,8,3                     ## @fildes
	.comm	_SCRIPT,4,2                     ## @SCRIPT
	.comm	_fscript,8,3                    ## @fscript
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"a"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_repdes,8,3                     ## @repdes
	.comm	_sigbuf,4,2                     ## @sigbuf
	.no_dead_strip	_intEMT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intEMT
_intEMT:                                ; @intEMT
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x19, sp, #8
Lloh3:
	adrp	x20, _fildes@GOTPAGE
Lloh4:
	ldr	x20, [x20, _fildes@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w0, [x8]
	add	x1, sp, #7
	mov	w2, #1
	bl	_read
	ldrb	w8, [sp, #7]
	cmp	w8, #10
	b.eq	LBB0_5
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	strb	w8, [x19, x21]
	ldr	x8, [x20]
	ldr	w0, [x8]
	add	x1, sp, #7
	mov	w2, #1
	bl	_read
	ldrb	w8, [sp, #7]
	add	x21, x21, #1
	cmp	w8, #10
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x21, #256
	b.lo	LBB0_2
LBB0_4:
	add	x8, sp, #8
	add	x19, x8, x21
LBB0_5:
	strb	wzr, [x19]
Lloh5:
	adrp	x20, _SCRIPT@GOTPAGE
Lloh6:
	ldr	x20, [x20, _SCRIPT@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_value
	bl	_boolean
	mov	x8, x0
Lloh7:
	adrp	x21, _fscript@GOTPAGE
Lloh8:
	ldr	x21, [x21, _fscript@GOTPAGEOFF]
	ldr	x0, [x21]
	cmp	x8, #0
	ccmp	x0, #0, #4, ne
	b.eq	LBB0_7
; %bb.6:
	bl	_fclose
LBB0_7:
	add	x8, sp, #8
	cmp	x19, x8
	b.eq	LBB0_10
; %bb.8:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_fopen
	str	x0, [x21]
	cbz	x0, LBB0_11
; %bb.9:
	mov	w8, #121
	strb	w8, [sp, #6]
	ldr	w0, [x20]
	bl	_value
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_setboolean
	b	LBB0_13
LBB0_10:
	ldr	w0, [x20]
	bl	_value
Lloh14:
	adrp	x8, _FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_setboolean
	mov	w8, #121
	b	LBB0_12
LBB0_11:
	mov	w8, #110
LBB0_12:
	strb	w8, [sp, #6]
LBB0_13:
Lloh17:
	adrp	x8, _repdes@GOTPAGE
Lloh18:
	ldr	x8, [x8, _repdes@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	w0, [x8, #4]
	add	x1, sp, #6
	mov	w2, #1
	bl	_write
Lloh20:
	adrp	x8, _sigbuf@GOTPAGE
Lloh21:
	ldr	x8, [x8, _sigbuf@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_longjmp
	ldur	x8, [x29, #-40]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_fildes,8,3                     ; @fildes
	.comm	_SCRIPT,4,2                     ; @SCRIPT
	.comm	_fscript,8,3                    ; @fscript
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"a"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_repdes,8,3                     ; @repdes
	.comm	_sigbuf,4,2                     ; @sigbuf
	.no_dead_strip	_intEMT
.subsections_via_symbols
