	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jkfprintf
_jkfprintf:                             ## @jkfprintf
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r13, %rdi
	callq	_getpwnam
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rax), %edi
	callq	_setuid
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_34
## %bb.3:
	movq	%rax, %r15
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_fseeko
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	_fgets
	leaq	L_.str.5(%rip), %rsi
	testq	%rax, %rax
	je	LBB0_32
## %bb.4:
	movl	$560, -60(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x230
	movl	$1, %r14d
	movl	$7, -64(%rbp)                   ## 4-byte Folded Spill
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %r14d
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_31
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
	testl	%r14d, %r14d
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movb	(%rbx), %al
	cmpb	$9, %al
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$10, %al
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$32, %al
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$8, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_11
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	subl	$1, -64(%rbp)                   ## 4-byte Folded Spill
	jb	LBB0_37
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_37
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_19 Depth=2
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=2
	movzbl	%r12b, %edi
	movq	%r13, %rsi
	callq	_fputc
	incq	%r15
LBB0_19:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx,%r15), %r12d
	testb	%r12b, %r12b
	je	LBB0_30
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	cmpb	$10, %r12b
	je	LBB0_30
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=2
	cmpb	$-96, %r12b
	jge	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=2
	andb	$127, %r12b
	movl	$2, %esi
	movl	$1, %edx
	leaq	L_.str.4(%rip), %rdi
	movq	%r13, %rcx
	callq	_fwrite
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=2
	movzbl	%r12b, %edi
	callq	_iscntrl
	testq	%rax, %rax
	je	LBB0_18
## %bb.24:                              ##   in Loop: Header=BB0_19 Depth=2
	xorb	$64, %r12b
	movl	$94, %edi
	movq	%r13, %rsi
	callq	_fputc
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_19 Depth=2
	testb	%r12b, %r12b
	js	LBB0_18
## %bb.26:                              ##   in Loop: Header=BB0_19 Depth=2
	movzbl	%r12b, %r13d
	movl	%r13d, %edi
	callq	_isprint
	testl	%eax, %eax
	jne	LBB0_17
## %bb.27:                              ##   in Loop: Header=BB0_19 Depth=2
	movl	%r13d, %edi
	callq	_isspace
	testl	%eax, %eax
	jne	LBB0_17
## %bb.28:                              ##   in Loop: Header=BB0_19 Depth=2
	leal	-7(%r12), %eax
	cmpb	$2, %al
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jae	LBB0_23
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_13
LBB0_30:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_cr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r13, %rsi
	callq	_fputs
	movq	%rbx, %rdi
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_fgets
	subl	%r15d, -60(%rbp)                ## 4-byte Folded Spill
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	testq	%rax, %rax
	jne	LBB0_5
LBB0_31:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_33
LBB0_32:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_33:
	movq	_cr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r13, %rdi
	callq	_fprintf
	movq	%r15, %rdi
	callq	_fclose
LBB0_34:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.35:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_33
LBB0_38:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
L_.str.1:                               ## @.str.1
	.asciz	"From:"

L_.str.2:                               ## @.str.2
	.asciz	"Subject:"

L_.str.3:                               ## @.str.3
	.asciz	"...more...%s"

	.comm	_cr,8,3                         ## @cr
L_.str.4:                               ## @.str.4
	.asciz	"M-"

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

	.no_dead_strip	_jkfprintf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jkfprintf
_jkfprintf:                             ; @jkfprintf
	.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
	sub	sp, sp, #16
	mov	x23, x3
	mov	x21, x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _BUFSIZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUFSIZ@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	mov	x0, x1
	bl	_getpwnam
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x0]
	bl	_setuid
LBB0_2:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_fopen
	cbz	x0, LBB0_29
; %bb.3:
	mov	x21, x0
Lloh10:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x1, x23
	bl	_fseeko
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_fgets
	cbz	x0, LBB0_27
; %bb.4:
	mov	w28, #560
	mov	w26, #1
	mov	w23, #7
Lloh13:
	adrp	x8, l_.str.3@PAGE
Lloh14:
	add	x8, x8, l_.str.3@PAGEOFF
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
Lloh15:
	adrp	x24, l_.str.1@PAGE
Lloh16:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh17:
	adrp	x25, l_.str.2@PAGE
Lloh18:
	add	x25, x25, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	w26, #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_fgets
	cbz	x0, LBB0_27
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	cbz	w26, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x22]
	cmp	w8, #9
	b.eq	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, #10
	b.eq	LBB0_25
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, #32
	b.eq	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	mov	x1, x24
	mov	w2, #5
	bl	_strncmp
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	mov	x1, x25
	mov	w2, #8
	bl	_strncmp
	cbnz	x0, LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	w23, LBB0_28
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w28, #1
	b.lt	LBB0_28
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x25, #0
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	and	w0, w24, #0xff
	mov	x1, x19
	bl	_fputc
	add	x25, x25, #1
LBB0_17:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x22, x25]
	cmp	w8, #0
	ccmp	w8, #10, #4, ne
	b.eq	LBB0_26
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	sxtb	w24, w8
	cmn	w24, #96
	b.ge	LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=2
	and	w24, w24, #0x7f
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #2
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_20:                                ;   in Loop: Header=BB0_17 Depth=2
	and	w0, w24, #0xff
	bl	_iscntrl
	cbz	x0, LBB0_16
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=2
	eor	w24, w24, #0x40
	mov	w0, #94
	mov	x1, x19
	bl	_fputc
	b	LBB0_16
LBB0_22:                                ;   in Loop: Header=BB0_17 Depth=2
	tbnz	w24, #31, LBB0_16
; %bb.23:                               ;   in Loop: Header=BB0_17 Depth=2
	and	w27, w24, #0xff
	mov	x0, x27
	bl	_isprint
	cbnz	w0, LBB0_16
; %bb.24:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	x0, x27
	bl	_isspace
	sub	w8, w24, #7
	cmp	w0, #0
	and	w8, w8, #0xff
	ccmp	w8, #2, #0, eq
	b.lo	LBB0_16
	b	LBB0_20
LBB0_25:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w26, #0
	b	LBB0_6
LBB0_26:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh21:
	adrp	x8, _cr@GOTPAGE
Lloh22:
	ldr	x8, [x8, _cr@GOTPAGEOFF]
Lloh23:
	ldr	x0, [x8]
	mov	x1, x19
	bl	_fputs
	sub	w23, w23, #1
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_fgets
	sub	w28, w28, w25
Lloh24:
	adrp	x24, l_.str.1@PAGE
Lloh25:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh26:
	adrp	x25, l_.str.2@PAGE
Lloh27:
	add	x25, x25, l_.str.2@PAGEOFF
	cbnz	x0, LBB0_7
LBB0_27:
Lloh28:
	adrp	x8, l_.str.5@PAGE
Lloh29:
	add	x8, x8, l_.str.5@PAGEOFF
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
LBB0_28:
Lloh30:
	adrp	x8, _cr@GOTPAGE
Lloh31:
	ldr	x8, [x8, _cr@GOTPAGEOFF]
Lloh32:
	ldr	x2, [x8]
	mov	x0, x19
	ldur	x1, [x29, #-96]                 ; 8-byte Folded Reload
	bl	_fprintf
	mov	x0, x21
	bl	_fclose
LBB0_29:
	ldur	x8, [x29, #-88]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	sub	sp, x29, #80
	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_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
l_.str.1:                               ; @.str.1
	.asciz	"From:"

l_.str.2:                               ; @.str.2
	.asciz	"Subject:"

l_.str.3:                               ; @.str.3
	.asciz	"...more...%s"

	.comm	_cr,8,3                         ; @cr
l_.str.4:                               ; @.str.4
	.asciz	"M-"

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

	.no_dead_strip	_jkfprintf
.subsections_via_symbols
