	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function EDIT_UpdateUniscribeData
LCPI0_0:
	.quad	0xbff0000000000000              ## double -1
LCPI0_1:
	.quad	0x3ff8000000000000              ## double 1.5
LCPI0_2:
	.quad	0x4030000000000000              ## double 16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_EDIT_UpdateUniscribeData:              ## @EDIT_UpdateUniscribeData
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_ES_MULTILINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.15:
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.16:
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	LBB0_17
	jnp	LBB0_20
LBB0_17:
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	addsd	%xmm2, %xmm0
	movq	(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	ucomisd	%xmm1, %xmm0
	jne	LBB0_18
	jp	LBB0_18
LBB0_20:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_EDIT_UpdateUniscribeData_linedef ## TAILCALL
LBB0_1:
	leaq	16(%rbx), %r13
	cmpl	$0, 16(%rbx)
	jne	LBB0_14
## %bb.2:
	movq	%rbx, %rdi
	callq	_get_text_length
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movq	%r14, %r15
	testq	%r14, %r14
	jne	LBB0_4
## %bb.3:
	movl	20(%rbx), %edi
	callq	_GetDC
	movq	%rax, %r15
LBB0_4:
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.6:
	movq	%r15, %rdi
	callq	_SelectObject
	movq	%rax, %r12
	jmp	LBB0_7
LBB0_5:
	xorl	%r12d, %r12d
LBB0_7:
	movq	_ES_PASSWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_9
## %bb.8:
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movapd	%xmm0, %xmm1
	mulsd	LCPI0_1(%rip), %xmm1
	addsd	LCPI0_2(%rip), %xmm1
	movq	_SSA_LINK@GOTPCREL(%rip), %rax
	movq	_SSA_FALLBACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_SSA_GLYPHS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	leaq	40(%rbx), %rsi
	movq	_SSA_PASSWORD@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movapd	%xmm0, %xmm1
	mulsd	LCPI0_1(%rip), %xmm1
	addsd	LCPI0_2(%rip), %xmm1
	movq	_SSA_LINK@GOTPCREL(%rip), %rax
	movq	_SSA_FALLBACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	32(%rbx), %rsi
	movq	_SSA_GLYPHS@GOTPCREL(%rip), %rax
LBB0_10:
	orl	(%rax), %ecx
	movq	%r13, 32(%rsp)
	xorps	%xmm2, %xmm2
	movups	%xmm2, 16(%rsp)
	movups	%xmm2, (%rsp)
	movq	%r15, %rdi
	movl	$-1, %edx
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	_ScriptStringAnalyse
	cmpq	$0, 24(%rbx)
	je	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_SelectObject
LBB0_12:
	cmpq	%r14, %r15
	je	LBB0_14
## %bb.13:
	movl	20(%rbx), %edi
	movq	%r15, %rsi
	callq	_ReleaseDC
LBB0_14:
	movl	(%r13), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ES_MULTILINE,4,2               ## @ES_MULTILINE
	.comm	_ES_PASSWORD,4,2                ## @ES_PASSWORD
	.comm	_SSA_LINK,4,2                   ## @SSA_LINK
	.comm	_SSA_FALLBACK,4,2               ## @SSA_FALLBACK
	.comm	_SSA_GLYPHS,4,2                 ## @SSA_GLYPHS
	.comm	_SSA_PASSWORD,4,2               ## @SSA_PASSWORD
	.no_dead_strip	_EDIT_UpdateUniscribeData
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EDIT_UpdateUniscribeData
_EDIT_UpdateUniscribeData:              ; @EDIT_UpdateUniscribeData
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	d9, d8, [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 b8, -72
	.cfi_offset b9, -80
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ES_MULTILINE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ES_MULTILINE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.1:
	ldr	x2, [x19, #8]
	cbz	x2, LBB0_6
; %bb.2:
	fcmp	d0, #0.0
	b.eq	LBB0_6
; %bb.3:
	fmov	d1, #-1.00000000
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x2, [x2]
	cbz	x2, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	fadd	d0, d0, d1
	fcmp	d0, #0.0
	b.ne	LBB0_4
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	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	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_EDIT_UpdateUniscribeData_linedef
LBB0_7:
	mov	x23, x19
	ldr	w8, [x23, #16]!
	cbnz	w8, LBB0_20
; %bb.8:
	mov	x0, x19
	bl	_get_text_length
	fmov	d8, d0
	mov	x21, x20
	cbz	x20, LBB0_11
; %bb.9:
	ldr	x1, [x19, #24]
	cbz	x1, LBB0_12
LBB0_10:
	mov	x0, x21
	bl	_SelectObject
	mov	x22, x0
	b	LBB0_13
LBB0_11:
	ldr	w0, [x19, #20]
	bl	_GetDC
	mov	x21, x0
	ldr	x1, [x19, #24]
	cbnz	x1, LBB0_10
LBB0_12:
	mov	x22, #0
LBB0_13:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _ES_PASSWORD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ES_PASSWORD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.14:
	add	x1, x19, #40
	fmov	d0, #16.00000000
	fmov	d1, #1.50000000
	fmadd	d1, d8, d1, d0
Lloh6:
	adrp	x8, _SSA_LINK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSA_LINK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _SSA_FALLBACK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SSA_FALLBACK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _SSA_GLYPHS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SSA_GLYPHS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _SSA_PASSWORD@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SSA_PASSWORD@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
	ldr	x1, [x19, #32]
	fmov	d0, #16.00000000
	fmov	d1, #1.50000000
	fmadd	d1, d8, d1, d0
Lloh17:
	adrp	x8, _SSA_LINK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SSA_LINK@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _SSA_FALLBACK@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SSA_FALLBACK@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _SSA_GLYPHS@GOTPAGE
Lloh24:
	ldr	x9, [x9, _SSA_GLYPHS@GOTPAGEOFF]
LBB0_16:
	ldr	w9, [x9]
	orr	w3, w8, w9
	stp	xzr, xzr, [sp]
	str	x23, [sp, #16]
	mov	x0, x21
	fmov	d0, d8
	mov	w2, #-1
	mov	w4, #-1
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_ScriptStringAnalyse
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_18
; %bb.17:
	mov	x0, x21
	mov	x1, x22
	bl	_SelectObject
LBB0_18:
	cmp	x21, x20
	b.eq	LBB0_20
; %bb.19:
	ldr	w0, [x19, #20]
	mov	x1, x21
	bl	_ReleaseDC
LBB0_20:
	ldr	w0, [x23]
	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	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ES_MULTILINE,4,2               ; @ES_MULTILINE
	.comm	_ES_PASSWORD,4,2                ; @ES_PASSWORD
	.comm	_SSA_LINK,4,2                   ; @SSA_LINK
	.comm	_SSA_FALLBACK,4,2               ; @SSA_FALLBACK
	.comm	_SSA_GLYPHS,4,2                 ; @SSA_GLYPHS
	.comm	_SSA_PASSWORD,4,2               ; @SSA_PASSWORD
	.no_dead_strip	_EDIT_UpdateUniscribeData
.subsections_via_symbols
