	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EDIT_WordBreakProc
_EDIT_WordBreakProc:                    ## @EDIT_WordBreakProc
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	callq	_TRACE
	xorl	%r14d, %r14d
	testq	%r13, %r13
	je	LBB0_21
## %bb.1:
	cmpq	$0, (%r15)
	je	LBB0_9
## %bb.2:
	cmpl	$128, %r12d
	je	LBB0_10
LBB0_3:
	cmpl	$130, %r12d
	je	LBB0_17
## %bb.4:
	cmpl	$129, %r12d
	jne	LBB0_18
## %bb.5:
	cmpl	$2, %ebx
	jb	LBB0_21
## %bb.6:
	decl	%ebx
	movq	(%r15), %rax
	movslq	%ebx, %rcx
	leaq	(%rax,%rcx,8), %rax
	addq	$4, %rax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rax)
	jne	LBB0_20
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	addq	$-8, %rax
	decl	%ebx
	jne	LBB0_7
	jmp	LBB0_21
LBB0_9:
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_SCRIPT_UNDEFINED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	%r15, %rdi
	callq	_get_text_length
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,4), %edi
	callq	_heap_alloc
	movq	%rax, (%r15)
	movl	8(%r15), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_get_text_length
	movq	(%r15), %rcx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	leaq	-48(%rbp), %rdx
	callq	_ScriptBreak
	cmpl	$128, %r12d
	jne	LBB0_3
LBB0_10:
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	je	LBB0_21
## %bb.11:
	cmpl	%ecx, %ebx
	jge	LBB0_20
## %bb.12:
	movslq	%ebx, %r14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r13,%r14,4)
	je	LBB0_21
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	(%r15), %rax
	cmpl	$0, 4(%rax,%r14,8)
	jne	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%r14
	cmpl	%r14d, %ecx
	jne	LBB0_13
## %bb.16:
	movl	%ecx, %r14d
	jmp	LBB0_21
LBB0_17:
	movq	(%r15), %rax
	movslq	%ebx, %rcx
	movl	(%rax,%rcx,8), %r14d
	jmp	LBB0_21
LBB0_18:
	leaq	L_.str.1(%rip), %rdi
	callq	_ERR
	jmp	LBB0_21
LBB0_20:
	movl	%ebx, %r14d
LBB0_21:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"s=%p, index=%d, count=%d, action=%d\n"

	.comm	_SCRIPT_UNDEFINED,4,2           ## @SCRIPT_UNDEFINED
L_.str.1:                               ## @.str.1
	.asciz	"unknown action code, please report !\n"

	.no_dead_strip	_EDIT_WordBreakProc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EDIT_WordBreakProc
_EDIT_WordBreakProc:                    ; @EDIT_WordBreakProc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x4
	mov	x21, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	cbz	x22, LBB0_19
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_9
; %bb.2:
	cmp	w23, #128
	b.eq	LBB0_10
LBB0_3:
	cmp	w23, #130
	b.eq	LBB0_17
; %bb.4:
	cmp	w23, #129
	b.ne	LBB0_18
; %bb.5:
	cmp	w19, #2
	b.lo	LBB0_19
; %bb.6:
	sub	w19, w19, #1
	ldr	x8, [x20]
	add	x8, x8, w19, sxtw #3
	add	x8, x8, #4
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8]
	cbnz	w9, LBB0_20
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	x8, x8, #8
	sub	w19, w19, #1
	cbnz	w19, LBB0_7
	b	LBB0_20
LBB0_9:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh2:
	adrp	x8, _SCRIPT_UNDEFINED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SCRIPT_UNDEFINED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	mov	x0, x20
	bl	_get_text_length
	lsl	w0, w0, #2
	bl	_heap_alloc
	str	x0, [x20]
	ldr	w24, [x20, #8]
	mov	x0, x20
	bl	_get_text_length
	mov	x1, x0
	ldr	x3, [x20]
	add	x2, sp, #8
	mov	x0, x24
	bl	_ScriptBreak
	cmp	w23, #128
	b.ne	LBB0_3
LBB0_10:
	cbz	w21, LBB0_19
; %bb.11:
	cmp	w19, w21
	b.ge	LBB0_20
; %bb.12:
	sxtw	x10, w19
	add	x8, x22, w19, sxtw #2
	mov	w9, #4
	bfi	x9, x10, #3, #61
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	cbz	w10, LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x10, [x20]
	ldr	w10, [x10, x9]
	cbnz	w10, LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	add	w19, w19, #1
	add	x8, x8, #4
	add	x9, x9, #8
	cmp	w21, w19
	b.ne	LBB0_13
; %bb.16:
	mov	x19, x21
	b	LBB0_20
LBB0_17:
	ldr	x8, [x20]
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	sbfiz	x9, x19, #3, #32
	ldr	w19, [x8, x9]
	b	LBB0_20
LBB0_18:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ERR
LBB0_19:
	mov	w19, #0
LBB0_20:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"s=%p, index=%d, count=%d, action=%d\n"

	.comm	_SCRIPT_UNDEFINED,4,2           ; @SCRIPT_UNDEFINED
l_.str.1:                               ; @.str.1
	.asciz	"unknown action code, please report !\n"

	.no_dead_strip	_EDIT_WordBreakProc
.subsections_via_symbols
