	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function measure_geometry
_measure_geometry:                      ## @measure_geometry
	.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
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %rbx
	movl	(%rsi), %r14d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_MAX_DIMENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	shlq	$2, %r13
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_OSM_LOG_ENTER
	movl	%r14d, %edi
	movl	$4, %esi
	callq	_calloc
	movq	-80(%rbp), %r11                 ## 8-byte Reload
	movq	%rax, 8(%r11)
	testq	%rax, %rax
	je	LBB0_51
## %bb.1:
	testl	%r14d, %r14d
	jle	LBB0_13
## %bb.2:
	movq	_LARGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movl	%r9d, %r10d
	negl	%r10d
	cmpl	$8, %r14d
	jae	LBB0_5
## %bb.3:
	xorl	%esi, %esi
	jmp	LBB0_4
LBB0_51:
	movq	_OSM_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_OSM_LOG
	movl	$-1, %ebx
	movq	%r14, %rdi
	jmp	LBB0_49
LBB0_5:
	movl	%r14d, %esi
	andl	$-8, %esi
	movd	%r10d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movd	%r9d, %xmm1
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	leaq	-8(%rsi), %rcx
	movq	%rcx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$3, %r8d
	cmpq	$24, %rcx
	jae	LBB0_7
## %bb.6:
	xorl	%ecx, %ecx
	jmp	LBB0_9
LBB0_7:
	andq	$-4, %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, (%r15,%rcx,4)
	movdqa	%xmm0, 16(%r15,%rcx,4)
	movdqa	%xmm1, (%r12,%rcx,4)
	movdqa	%xmm1, 16(%r12,%rcx,4)
	movdqa	%xmm0, 32(%r15,%rcx,4)
	movdqa	%xmm0, 48(%r15,%rcx,4)
	movdqa	%xmm1, 32(%r12,%rcx,4)
	movdqa	%xmm1, 48(%r12,%rcx,4)
	movdqa	%xmm0, 64(%r15,%rcx,4)
	movdqa	%xmm0, 80(%r15,%rcx,4)
	movdqa	%xmm1, 64(%r12,%rcx,4)
	movdqa	%xmm1, 80(%r12,%rcx,4)
	movdqa	%xmm0, 96(%r15,%rcx,4)
	movdqa	%xmm0, 112(%r15,%rcx,4)
	movdqa	%xmm1, 96(%r12,%rcx,4)
	movdqa	%xmm1, 112(%r12,%rcx,4)
	addq	$32, %rcx
	addq	$-4, %rdi
	jne	LBB0_8
LBB0_9:
	testq	%r8, %r8
	je	LBB0_12
## %bb.10:
	leaq	(%r12,%rcx,4), %rdi
	addq	$16, %rdi
	leaq	(%r15,%rcx,4), %rcx
	addq	$16, %rcx
	shlq	$5, %r8
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, -16(%rcx,%rdx)
	movdqa	%xmm0, (%rcx,%rdx)
	movdqa	%xmm1, -16(%rdi,%rdx)
	movdqa	%xmm1, (%rdi,%rdx)
	addq	$32, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_11
LBB0_12:
	cmpq	%r14, %rsi
	je	LBB0_13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r10d, (%r15,%rsi,4)
	movl	%r9d, (%r12,%rsi,4)
	incq	%rsi
	cmpq	%rsi, %r14
	jne	LBB0_4
LBB0_13:
	movq	-72(%rbp), %r10                 ## 8-byte Reload
	testl	%r10d, %r10d
	jle	LBB0_21
## %bb.14:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %r8
	movq	_LARGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%r9d, %r9d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%r9
	cmpq	%r10, %r9
	je	LBB0_21
LBB0_15:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	testl	%r14d, %r14d
	jle	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	(%r8,%r9,8), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rdi
	xorl	%ecx, %ecx
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=2
	incq	%rcx
	cmpq	%rcx, %r14
	je	LBB0_20
LBB0_17:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdi,%rcx,4), %esi
	cmpl	%edx, %esi
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movl	(%r15,%rcx,4), %ebx
	cmpl	%ebx, %esi
	cmovgl	%esi, %ebx
	movl	%ebx, (%r15,%rcx,4)
	movl	(%r12,%rcx,4), %ebx
	cmpl	%ebx, %esi
	cmovll	%esi, %ebx
	movl	%ebx, (%r12,%rcx,4)
	jmp	LBB0_19
LBB0_21:
	testl	%r14d, %r14d
	jle	LBB0_48
## %bb.22:
	cmpl	$8, %r14d
	jae	LBB0_25
## %bb.23:
	xorl	%ecx, %ecx
	jmp	LBB0_24
LBB0_25:
	movl	%r14d, %ecx
	andl	$-8, %ecx
	leaq	-8(%rcx), %rdx
	movq	%rdx, %rsi
	shrq	$3, %rsi
	incq	%rsi
	testq	%rdx, %rdx
	je	LBB0_26
## %bb.27:
	movabsq	$4611686018427387900, %rdi      ## imm = 0x3FFFFFFFFFFFFFFC
	orq	$2, %rdi
	andq	%rsi, %rdi
	xorl	%edx, %edx
	pcmpeqd	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movdqa	(%r15,%rdx,4), %xmm1
	movdqa	16(%r15,%rdx,4), %xmm2
	psubd	(%r12,%rdx,4), %xmm1
	psubd	16(%r12,%rdx,4), %xmm2
	psubd	%xmm0, %xmm1
	psubd	%xmm0, %xmm2
	movdqa	%xmm1, (%r13,%rdx,4)
	movdqa	%xmm2, 16(%r13,%rdx,4)
	movdqu	%xmm1, (%rax,%rdx,4)
	movdqu	%xmm2, 16(%rax,%rdx,4)
	movdqa	32(%r15,%rdx,4), %xmm1
	movdqa	48(%r15,%rdx,4), %xmm2
	psubd	32(%r12,%rdx,4), %xmm1
	psubd	48(%r12,%rdx,4), %xmm2
	psubd	%xmm0, %xmm1
	psubd	%xmm0, %xmm2
	movdqa	%xmm1, 32(%r13,%rdx,4)
	movdqa	%xmm2, 48(%r13,%rdx,4)
	movdqu	%xmm1, 32(%rax,%rdx,4)
	movdqu	%xmm2, 48(%rax,%rdx,4)
	addq	$16, %rdx
	addq	$-2, %rdi
	jne	LBB0_28
## %bb.29:
	testb	$1, %sil
	je	LBB0_31
LBB0_30:
	movdqa	(%r15,%rdx,4), %xmm0
	movdqa	16(%r15,%rdx,4), %xmm1
	psubd	(%r12,%rdx,4), %xmm0
	psubd	16(%r12,%rdx,4), %xmm1
	pcmpeqd	%xmm2, %xmm2
	psubd	%xmm2, %xmm0
	psubd	%xmm2, %xmm1
	movdqa	%xmm0, (%r13,%rdx,4)
	movdqa	%xmm1, 16(%r13,%rdx,4)
	movdqu	%xmm0, (%rax,%rdx,4)
	movdqu	%xmm1, 16(%rax,%rdx,4)
LBB0_31:
	cmpq	%r14, %rcx
	je	LBB0_32
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rcx,4), %edx
	subl	(%r12,%rcx,4), %edx
	incl	%edx
	movl	%edx, (%r13,%rcx,4)
	movl	%edx, (%rax,%rcx,4)
	incq	%rcx
	cmpq	%rcx, %r14
	jne	LBB0_24
LBB0_32:
	movq	16(%r11), %r8
	leaq	-1(%r14), %r9
	movl	%r14d, %r10d
	andl	$3, %r10d
	movl	%r14d, %r15d
	andl	$-4, %r15d
	xorl	%r11d, %r11d
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_33 Depth=1
	movl	%eax, (%r8,%r11,4)
	cltq
	movl	$-1, (%r13,%rax,4)
	incq	%r11
	cmpq	%r14, %r11
	je	LBB0_48
LBB0_33:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_34 Depth 2
                                        ##     Child Loop BB0_46 Depth 2
	movl	$-1, %eax
	xorl	%ecx, %ecx
	movl	$-1, %edx
	cmpq	$3, %r9
	jae	LBB0_34
LBB0_44:                                ##   in Loop: Header=BB0_33 Depth=1
	testq	%r10, %r10
	je	LBB0_47
## %bb.45:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r10, %rdi
	.p2align	4, 0x90
LBB0_46:                                ##   Parent Loop BB0_33 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r13,%rcx,4), %esi
	cmpl	%edx, %esi
	cmovgl	%esi, %edx
	cmovgl	%ecx, %eax
	incq	%rcx
	decq	%rdi
	jne	LBB0_46
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_34 Depth=2
	movl	%edi, %edx
LBB0_43:                                ##   in Loop: Header=BB0_34 Depth=2
	addq	$4, %rcx
	cmpq	%r15, %rcx
	je	LBB0_44
LBB0_34:                                ##   Parent Loop BB0_33 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r13,%rcx,4), %esi
	cmpl	%edx, %esi
	cmovgl	%esi, %edx
	movl	4(%r13,%rcx,4), %esi
	cmovgl	%ecx, %eax
	cmpl	%edx, %esi
	jg	LBB0_35
## %bb.36:                              ##   in Loop: Header=BB0_34 Depth=2
	movl	%edx, %esi
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_34 Depth=2
	leal	1(%rcx), %eax
LBB0_37:                                ##   in Loop: Header=BB0_34 Depth=2
	movl	8(%r13,%rcx,4), %edi
	cmpl	%esi, %edi
	jg	LBB0_38
## %bb.39:                              ##   in Loop: Header=BB0_34 Depth=2
	movl	%esi, %edi
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_34 Depth=2
	leal	2(%rcx), %eax
LBB0_40:                                ##   in Loop: Header=BB0_34 Depth=2
	movl	12(%r13,%rcx,4), %edx
	cmpl	%edi, %edx
	jle	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_34 Depth=2
	leal	3(%rcx), %eax
	jmp	LBB0_43
LBB0_48:
	xorl	%ebx, %ebx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_49:
	callq	_OSM_LOG_EXIT
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_52
## %bb.50:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	xorl	%edx, %edx
	testb	$1, %sil
	jne	LBB0_30
	jmp	LBB0_31
LBB0_52:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_DIMENSION,4,2              ## @MAX_DIMENSION
	.comm	_OSM_LOG_ERROR,4,2              ## @OSM_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed allocating size - out of memory\n"

	.comm	_LARGE,4,2                      ## @LARGE
	.no_dead_strip	_measure_geometry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function measure_geometry
_measure_geometry:                      ; @measure_geometry
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x19, [x0, #16]
	ldr	w20, [x1]
	ldr	w26, [x0]
Lloh3:
	adrp	x8, _MAX_DIMENSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_DIMENSION@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x24, x9, x12
	mov	sp, x24
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x25, x9, x12
	mov	sp, x25
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x23, x8, x12
	mov	sp, x23
	mov	x0, x19
	bl	_OSM_LOG_ENTER
	mov	x0, x20
	mov	w1, #4
	bl	_calloc
	str	x0, [x21, #8]
	cbz	x0, LBB0_4
; %bb.1:
Lloh12:
	adrp	x8, _LARGE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LARGE@GOTPAGEOFF]
	cmp	w20, #1
	b.lt	LBB0_10
; %bb.2:
	ldr	w9, [x8]
	neg	w10, w9
	cmp	w20, #16
	b.hs	LBB0_5
; %bb.3:
	mov	x11, #0
	b	LBB0_8
LBB0_4:
Lloh14:
	adrp	x8, _OSM_LOG_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str@PAGE
Lloh18:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_OSM_LOG
	mov	w20, #-1
	b	LBB0_31
LBB0_5:
	dup.4s	v0, w10
	and	x11, x20, #0xfffffff0
	dup.4s	v1, w9
	add	x12, x25, #32
	add	x13, x24, #32
	mov	x14, x11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x13, #-32]
	stp	q1, q1, [x12, #-32]
	stp	q1, q1, [x12], #64
	stp	q0, q0, [x13], #64
	subs	x14, x14, #16
	b.ne	LBB0_6
; %bb.7:
	cmp	x11, x20
	b.eq	LBB0_10
LBB0_8:
	lsl	x13, x11, #2
	add	x12, x25, x13
	add	x13, x24, x13
	sub	x11, x20, x11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	str	w10, [x13], #4
	str	w9, [x12], #4
	subs	x11, x11, #1
	b.ne	LBB0_9
LBB0_10:
	cmp	w26, #1
	b.lt	LBB0_18
; %bb.11:
	mov	x9, #0
	ldr	x10, [x22, #8]
	ldr	w8, [x8]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x9, x9, #1
	cmp	x9, x26
	b.eq	LBB0_18
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	cmp	w20, #1
	b.lt	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x11, [x10, x9, lsl #3]
	ldr	x11, [x11]
	ldr	x11, [x11]
	mov	x12, x20
	mov	x13, x24
	mov	x14, x25
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	add	x14, x14, #4
	add	x13, x13, #4
	add	x11, x11, #4
	subs	x12, x12, #1
	b.eq	LBB0_12
LBB0_16:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w15, [x11]
	cmp	w15, w8
	b.eq	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	w16, [x13]
	cmp	w15, w16
	csel	w16, w15, w16, gt
	str	w16, [x13]
	ldr	w16, [x14]
	cmp	w15, w16
	csel	w15, w15, w16, lt
	str	w15, [x14]
	b	LBB0_15
LBB0_18:
	cmp	w20, #1
	b.lt	LBB0_30
; %bb.19:
	cmp	w20, #8
	b.hs	LBB0_21
; %bb.20:
	mov	x8, #0
	b	LBB0_24
LBB0_21:
	and	x8, x20, #0xfffffff8
	add	x9, x24, #16
	add	x10, x0, #16
	add	x11, x25, #16
	add	x12, x23, #16
	movi.4s	v0, #1
	mov	x13, x8
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x9, #-16]
	ldp	q3, q4, [x11, #-16]
	sub.4s	v1, v1, v3
	sub.4s	v2, v2, v4
	add.4s	v1, v1, v0
	add.4s	v2, v2, v0
	stp	q1, q2, [x12, #-16]
	add	x9, x9, #32
	stp	q1, q2, [x10, #-16]
	add	x10, x10, #32
	add	x11, x11, #32
	add	x12, x12, #32
	subs	x13, x13, #8
	b.ne	LBB0_22
; %bb.23:
	cmp	x8, x20
	b.eq	LBB0_26
LBB0_24:
	lsl	x12, x8, #2
	add	x9, x0, x12
	add	x10, x23, x12
	add	x11, x25, x12
	add	x12, x24, x12
	sub	x8, x20, x8
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x12], #4
	ldr	w14, [x11], #4
	sub	w13, w13, w14
	add	w13, w13, #1
	str	w13, [x10], #4
	str	w13, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_25
LBB0_26:
	mov	x8, #0
	ldr	x9, [x21, #16]
	mov	w10, #-1
LBB0_27:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_28 Depth 2
	mov	x12, #0
	mov	w11, #-1
	mov	w13, #-1
LBB0_28:                                ;   Parent Loop BB0_27 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w14, [x23, x12, lsl #2]
	cmp	w14, w13
	csel	w13, w14, w13, gt
	csel	w11, w12, w11, gt
	add	x12, x12, #1
	cmp	x20, x12
	b.ne	LBB0_28
; %bb.29:                               ;   in Loop: Header=BB0_27 Depth=1
	str	w11, [x9, x8, lsl #2]
	str	w10, [x23, w11, sxtw #2]
	add	x8, x8, #1
	cmp	x8, x20
	b.ne	LBB0_27
LBB0_30:
	mov	w20, #0
LBB0_31:
	mov	x0, x19
	bl	_OSM_LOG_EXIT
	ldur	x8, [x29, #-72]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.32:
	mov	x0, x20
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_DIMENSION,4,2              ; @MAX_DIMENSION
	.comm	_OSM_LOG_ERROR,4,2              ; @OSM_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed allocating size - out of memory\n"

	.comm	_LARGE,4,2                      ; @LARGE
	.no_dead_strip	_measure_geometry
.subsections_via_symbols
