	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psh_glyph_compute_extrema
_psh_glyph_compute_extrema:             ## @psh_glyph_compute_extrema
	.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
	movq	%rdi, %r14
	movq	(%rdi), %rax
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_18
## %bb.1:
	xorl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	cmpq	%rax, %rsi
	jae	LBB0_18
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
                                        ##       Child Loop BB0_14 Depth 3
	movq	24(%r14), %rcx
	movq	%rsi, %rdx
	shlq	$4, %rdx
	cmpq	$0, (%rcx,%rdx)
	je	LBB0_17
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rcx,%rdx), %rcx
	movq	%rcx, %rax
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	24(%rax), %rax
	cmpq	%rcx, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	(%rax), %rdx
	cmpq	(%rcx), %rdx
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rax), %r13
	movq	%r13, %rbx
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
                                        ##       Child Loop BB0_14 Depth 3
	movq	%rbx, %r12
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	16(%rbx), %rbx
	cmpq	%r13, %rbx
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=3
	movq	(%rbx), %rcx
	movq	(%r12), %rdx
	cmpq	%rdx, %rcx
	je	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rdx, (%rax)
	jge	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=2
	cmpq	%rdx, %rcx
	jge	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r12, %rdi
	callq	_psh_point_set_extremum
	movq	16(%r12), %r12
	cmpq	%rbx, %r12
	jne	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	24(%rbx), %rax
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=2
	cmpq	%rdx, %rcx
	jg	LBB0_14
	jmp	LBB0_15
LBB0_5:
	movq	%rsi, %r15
	incq	%r15
	cmpq	8(%r14), %r15
	jb	LBB0_19
LBB0_33:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_32:
	incq	%r15
LBB0_18:
	cmpq	8(%r14), %r15
	jae	LBB0_33
LBB0_19:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_21 Depth 2
                                        ##     Child Loop BB0_24 Depth 2
	movq	16(%r14), %r12
	movq	%r15, %r13
	shlq	$5, %r13
	leaq	(%r12,%r13), %rbx
	movq	%rbx, %rdi
	callq	_psh_point_is_extremum
	testq	%rax, %rax
	je	LBB0_32
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	leaq	(%r12,%r13), %rdx
	addq	$8, %rdx
	movq	%rbx, %rsi
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	24(%rsi), %rsi
	cmpq	%rbx, %rsi
	je	LBB0_32
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	8(%rsi), %rcx
	movq	(%rdx), %rax
	cmpq	%rax, %rcx
	je	LBB0_21
## %bb.23:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%rbx, %rsi
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rsi), %rsi
	cmpq	%rbx, %rsi
	je	LBB0_32
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=2
	movq	8(%rsi), %rdx
	cmpq	%rax, %rdx
	je	LBB0_24
## %bb.26:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpq	%rax, %rcx
	jge	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpq	%rax, %rdx
	jle	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%rbx, %rdi
	callq	_psh_point_set_positive
	incq	%r15
	cmpq	8(%r14), %r15
	jb	LBB0_19
	jmp	LBB0_33
LBB0_29:
	cmpq	%rax, %rcx
	jle	LBB0_32
## %bb.30:
	cmpq	%rax, %rdx
	jge	LBB0_32
## %bb.31:
	movq	%rbx, %rdi
	callq	_psh_point_set_negative
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_psh_glyph_compute_extrema
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psh_glyph_compute_extrema
_psh_glyph_compute_extrema:             ; @psh_glyph_compute_extrema
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_18
; %bb.1:
	mov	x22, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, #0
	add	x22, x22, #1
	cmp	x22, x8
	b.hs	LBB0_20
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_10 Depth 3
                                        ;       Child Loop BB0_14 Depth 3
	ldr	x9, [x19, #24]
	add	x9, x9, x22, lsl #4
	ldr	x10, [x9]
	cbz	x10, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x9, #8]
	mov	x8, x9
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x8, #24]
	cmp	x8, x9
	b.eq	LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x10, [x8]
	ldr	x11, [x9]
	cmp	x10, x11
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x8, #16]
	mov	x23, x21
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_10 Depth 3
                                        ;       Child Loop BB0_14 Depth 3
	mov	x20, x23
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x23, [x23, #16]
	cmp	x23, x21
	b.eq	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=3
	ldr	x9, [x23]
	ldr	x10, [x20]
	cmp	x9, x10
	b.eq	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x8]
	cmp	x8, x10
	b.ge	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=2
	cmp	x9, x10
	b.ge	LBB0_15
LBB0_14:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x20
	bl	_psh_point_set_extremum
	ldr	x20, [x20, #16]
	cmp	x20, x23
	b.ne	LBB0_14
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x23, #24]
	b	LBB0_9
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=2
	cmp	x9, x10
	b.gt	LBB0_14
	b	LBB0_15
LBB0_17:
	mov	x21, x22
	add	x21, x22, #1
	b	LBB0_20
LBB0_18:
	mov	x21, #0
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x21, x21, #1
LBB0_20:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
                                        ;     Child Loop BB0_26 Depth 2
	ldr	x8, [x19, #8]
	cmp	x21, x8
	b.hs	LBB0_34
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [x19, #16]
	add	x20, x8, x21, lsl #5
	mov	x0, x20
	bl	_psh_point_is_extremum
	cbz	x0, LBB0_19
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	add	x10, x20, #8
	mov	x11, x20
LBB0_23:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x11, #24]
	cmp	x11, x20
	b.eq	LBB0_19
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	ldr	x9, [x11, #8]
	ldr	x8, [x10]
	cmp	x9, x8
	b.eq	LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x11, x20
LBB0_26:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x11, #16]
	cmp	x11, x20
	b.eq	LBB0_19
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	ldr	x10, [x11, #8]
	cmp	x10, x8
	b.eq	LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_20 Depth=1
	cmp	x9, x8
	b.ge	LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_20 Depth=1
	cmp	x10, x8
	b.le	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x20
	bl	_psh_point_set_positive
	add	x21, x21, #1
	b	LBB0_20
LBB0_31:                                ;   in Loop: Header=BB0_20 Depth=1
	cmp	x9, x8
	b.le	LBB0_19
; %bb.32:                               ;   in Loop: Header=BB0_20 Depth=1
	cmp	x10, x8
	b.ge	LBB0_19
; %bb.33:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x20
	bl	_psh_point_set_negative
	b	LBB0_19
LBB0_34:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_psh_glyph_compute_extrema
.subsections_via_symbols
