	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function putKcp
_putKcp:                                ## @putKcp
	.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
	cmpq	%rsi, %rdi
	jbe	LBB0_1
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movb	$1, %al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_idx@GOTPCREL(%rip), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%rbx), %edi
	incq	%rbx
	callq	_putcp
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r15, %rbx
	ja	LBB0_16
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_24 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
	cmpq	$0, (%r12)
	movb	(%rbx), %al
	je	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$32, %al
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$9, %al
	jne	LBB0_17
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	testb	$1, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %edi
	callq	_putchar
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$9, %edi
	callq	_putchar
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=2
	incq	%rbx
LBB0_10:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %eax
	cmpb	$32, %al
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpb	$9, %al
	je	LBB0_12
## %bb.2:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$9, %al
	jne	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$9, 1(%rbx)
	leaq	1(%rbx), %rbx
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_s_start@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	callq	_tabs
                                        ## kill: def $eax killed $eax def $rax
	movq	_margin@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	7(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	movl	%edx, %esi
	sarl	$3, %esi
	subl	%esi, %eax
	leal	(%rax,%rax,4), %eax
	andl	$-8, %edx
	subl	%ecx, %edx
	leal	(%rdx,%rax,2), %esi
	incl	%esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_nokeyw@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%r14d, %ecx
	jne	LBB0_26
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$35, %al
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movsbl	%al, %edi
	callq	_isidchr
	testq	%rax, %rax
	je	LBB0_26
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_s_start@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	movsbl	-1(%rbx), %edi
	callq	_isidchr
	testq	%rax, %rax
	jne	LBB0_26
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_iskw
	testl	%eax, %eax
	jle	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %r13d
	leaq	L_.str.3(%rip), %rdi
	callq	_ps
	incl	%r13d
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %edi
	incq	%rbx
	callq	_putcp
	decl	%r13d
	cmpl	$1, %r13d
	ja	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.4(%rip), %rdi
	callq	_ps
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_idx,8,3                        ## @idx
	.comm	_s_start,8,3                    ## @s_start
	.comm	_margin,4,2                     ## @margin
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"\\h'|%dn'"

	.comm	_nokeyw,4,2                     ## @nokeyw
L_.str.3:                               ## @.str.3
	.asciz	"\\*(+K"

L_.str.4:                               ## @.str.4
	.asciz	"\\*(-K"

	.no_dead_strip	_putKcp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function putKcp
_putKcp:                                ; @putKcp
	.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
	cmp	x0, x1
	b.ls	LBB0_2
LBB0_1:
	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_2:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x26, _idx@GOTPAGE
Lloh1:
	ldr	x26, [x26, _idx@GOTPAGEOFF]
Lloh2:
	adrp	x27, _s_start@GOTPAGE
Lloh3:
	ldr	x27, [x27, _s_start@GOTPAGEOFF]
	mov	w28, #1
Lloh4:
	adrp	x23, _margin@GOTPAGE
Lloh5:
	ldr	x23, [x23, _margin@GOTPAGEOFF]
Lloh6:
	adrp	x22, l_.str.2@PAGE
Lloh7:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh8:
	adrp	x24, _nokeyw@GOTPAGE
Lloh9:
	ldr	x24, [x24, _nokeyw@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w0, [x21], #1
	bl	_putcp
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	x21, x20
	b.hi	LBB0_1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_22 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	ldr	x9, [x26]
	ldrb	w8, [x21]
	cbz	x9, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.ne	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	tbz	w28, #0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_putchar
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #9
	bl	_putchar
LBB0_10:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x21]
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.ne	LBB0_24
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	add	x21, x21, #1
	b	LBB0_10
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #9
	b.ne	LBB0_15
LBB0_13:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x21, #1]!
	cmp	w8, #9
	b.eq	LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x27]
	mov	x1, x21
	bl	_tabs
	ldr	w8, [x23]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w9, w9, w8, lt
	sub	w9, w0, w9, asr #3
	negs	w10, w8
	and	w10, w10, #0x7
	and	w8, w8, #0x7
	csneg	w8, w8, w10, mi
	neg	w8, w8
	mov	w10, #10
	madd	w8, w9, w10, w8
	add	w8, w8, #1
	str	x8, [sp]
	mov	x0, x22
	bl	_printf
	b	LBB0_4
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x24]
	orr	w9, w9, w19
	cbnz	w9, LBB0_3
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #35
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	sxtb	w0, w8
	bl	_isidchr
	cbz	x0, LBB0_3
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x27]
	cmp	x21, x8
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	ldursb	w0, [x21, #-1]
	bl	_isidchr
	cbnz	x0, LBB0_3
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_iskw
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, x0
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_ps
	add	w25, w25, #1
LBB0_22:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w0, [x21], #1
	bl	_putcp
	sub	w25, w25, #1
	cmp	w25, #1
	b.hi	LBB0_22
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_ps
	b	LBB0_4
LBB0_24:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w28, #0
	b	LBB0_4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_idx,8,3                        ; @idx
	.comm	_s_start,8,3                    ; @s_start
	.comm	_margin,4,2                     ; @margin
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"\\h'|%dn'"

	.comm	_nokeyw,4,2                     ; @nokeyw
l_.str.3:                               ; @.str.3
	.asciz	"\\*(+K"

l_.str.4:                               ; @.str.4
	.asciz	"\\*(-K"

	.no_dead_strip	_putKcp
.subsections_via_symbols
