	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TS_phrase_output
_TS_phrase_output:                      ## @TS_phrase_output
	.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	%r9d, -64(%rbp)                 ## 4-byte Spill
	movl	%r8d, -68(%rbp)                 ## 4-byte Spill
	movl	%ecx, %ebx
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	16(%rbp), %eax
	leal	(,%rax,4), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movslq	-44(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movslq	%r12d, %r12
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	(%r14), %eax
	jge	LBB0_3
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	8(%r14), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %edi
	callq	_WEP_GETPOS
	movl	%eax, %r15d
	addl	-68(%rbp), %r15d                ## 4-byte Folded Reload
	movl	(%r13), %eax
	cmpl	%eax, %r12d
	jge	LBB0_8
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	8(%r13), %rax
	movl	(%rax,%r12,4), %edi
	callq	_WEP_GETPOS
	addl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	cmpl	%eax, %r15d
	jge	LBB0_13
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=2
	movl	(%r13), %eax
	cmpl	%eax, %r12d
	jge	LBB0_22
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	_TSPO_R_ONLY@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_22
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	cmpl	%eax, %r12d
	jl	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	_TSPO_L_ONLY@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_22
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r15d
	jl	LBB0_11
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=2
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=2
	incq	%r12
	movq	_TSPO_R_ONLY@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_2
## %bb.16:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r15d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	movq	_TSPO_L_ONLY@GOTPCREL(%rip), %rax
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	incq	%r12
	movq	_TSPO_BOTH@GOTPCREL(%rip), %rax
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%ebx, (%rax)
	je	LBB0_1
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%r15d, %r15d
	jle	LBB0_1
## %bb.18:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_25
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rsi
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_palloc
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, 8(%rsi)
	movl	$1, 16(%rsi)
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%rsi), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%rsi)
	movl	%r15d, (%rax,%rcx,4)
	jmp	LBB0_1
LBB0_22:
	xorl	%eax, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_26
## %bb.23:
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_26
## %bb.24:
	xorl	%edi, %edi
	movl	16(%rbp), %eax
	cmpl	%eax, %ecx
	setle	%dil
	callq	_Assert
LBB0_25:
	movl	$1, %eax
LBB0_26:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TSPO_R_ONLY,4,2                ## @TSPO_R_ONLY
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_TSPO_L_ONLY,4,2                ## @TSPO_L_ONLY
	.comm	_TSPO_BOTH,4,2                  ## @TSPO_BOTH
	.no_dead_strip	_TS_phrase_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TS_phrase_output
_TS_phrase_output:                      ; @TS_phrase_output
	.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
	mov	x20, x5
	mov	x21, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	w27, #0
	mov	w22, #0
	lsl	w8, w6, #2
	stp	w8, w6, [sp]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x26, _TSPO_R_ONLY@GOTPAGE
Lloh1:
	ldr	x26, [x26, _TSPO_R_ONLY@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	sxtw	x19, w27
	sxtw	x22, w22
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x25]
	cmp	w27, w8
	b.ge	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=2
	ldr	x8, [x25, #8]
	ldr	w0, [x8, x19, lsl #2]
	bl	_WEP_GETPOS
	add	w28, w0, w21
	ldr	w8, [x24]
	cmp	w22, w8
	b.ge	LBB0_8
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=2
	ldr	x8, [x24, #8]
	ldr	w0, [x8, x22, lsl #2]
	bl	_WEP_GETPOS
	add	w8, w0, w20
	cmp	w28, w8
	b.ge	LBB0_10
	b	LBB0_13
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=2
	ldr	w8, [x24]
	cmp	w22, w8
	b.ge	LBB0_20
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=2
	ldr	w9, [x26]
	tst	w9, w23
	b.eq	LBB0_20
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=2
Lloh2:
	adrp	x9, _INT_MAX@GOTPAGE
Lloh3:
	ldr	x9, [x9, _INT_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w28, [x9]
	cmp	w22, w8
	b.lt	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=2
Lloh5:
	adrp	x8, _TSPO_L_ONLY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TSPO_L_ONLY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=2
Lloh8:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w28, w8
	b.lt	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=2
	b.eq	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=2
	ldr	w9, [x26]
	add	x22, x22, #1
	tst	w9, w23
	b.eq	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_1 Depth=1
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	mov	x28, x8
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh11:
	adrp	x8, _TSPO_L_ONLY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TSPO_L_ONLY@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	add	w27, w27, #1
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	tst	w8, w23
	b.ne	LBB0_15
	b	LBB0_1
LBB0_14:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh14:
	adrp	x8, _TSPO_BOTH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TSPO_BOTH@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	add	w27, w27, #1
	add	x22, x22, #1
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	tst	w8, w23
	b.eq	LBB0_1
LBB0_15:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w28, #1
	b.lt	LBB0_1
; %bb.16:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x8, LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x8, #8]
	cbnz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [sp]                        ; 4-byte Folded Reload
	bl	_palloc
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x0, [x8, #8]
	mov	w9, #1
	str	w9, [x8, #16]
LBB0_19:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x10, x8
	ldrsw	x8, [x8]
	add	w9, w8, #1
	str	w9, [x10]
	str	w28, [x0, x8, lsl #2]
	b	LBB0_1
LBB0_20:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x8, LBB0_24
; %bb.21:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.22:
	ldr	w9, [sp, #4]                    ; 4-byte Folded Reload
	cmp	w8, w9
	cset	w0, le
	bl	_Assert
LBB0_23:
	mov	w0, #1
	b	LBB0_25
LBB0_24:
	mov	w0, #0
LBB0_25:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_TSPO_R_ONLY,4,2                ; @TSPO_R_ONLY
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_TSPO_L_ONLY,4,2                ; @TSPO_L_ONLY
	.comm	_TSPO_BOTH,4,2                  ; @TSPO_BOTH
	.no_dead_strip	_TS_phrase_output
.subsections_via_symbols
