	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function latlon2ul
_latlon2ul:                             ## @latlon2ul
	.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, %r15
	movq	%rdi, %r13
	movq	(%rdi), %rbx
	movzbl	(%rbx), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r14,%r14,4), %eax
	movsbl	(%rbx), %ecx
	movzbl	1(%rbx), %edi
	incq	%rbx
	leal	(%rcx,%rax,2), %r14d
	addl	$-48, %r14d
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:
	imull	$60, %r14d, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_3:
	decq	%rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rbx), %edi
	incq	%rbx
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movzbl	(%rbx), %edi
	callq	_isdigit
	xorl	%r12d, %r12d
	testq	%rax, %rax
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.9:
	movzbl	(%rbx), %edi
	callq	_isdigit
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_10
## %bb.14:
	movq	%rbx, %rcx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r14,%r14,4), %eax
	leaq	1(%rcx), %rbx
	movsbl	(%rcx), %edx
	leal	(%rdx,%rax,2), %r14d
	addl	$-48, %r14d
	movzbl	1(%rcx), %edi
	callq	_isdigit
	movq	%rbx, %rcx
	testq	%rax, %rax
	jne	LBB0_15
LBB0_10:
	decq	%rbx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rbx), %edi
	incq	%rbx
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:
	movzbl	(%rbx), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_13
## %bb.16:
	movzbl	(%rbx), %edi
	callq	_isdigit
	testq	%rax, %rax
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_17
## %bb.18:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r15,%r15,4), %eax
	leaq	1(%rbx), %r13
	movsbl	(%rbx), %ecx
	leal	(%rcx,%rax,2), %r15d
	addl	$-48, %r15d
	movzbl	1(%rbx), %edi
	callq	_isdigit
	movq	%r13, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.20:
	cmpb	$46, (%r13)
	je	LBB0_21
	jmp	LBB0_29
LBB0_6:
	xorl	%r14d, %r14d
LBB0_13:
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	jmp	LBB0_34
LBB0_17:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r13
	xorl	%r15d, %r15d
	cmpb	$46, (%r13)
	jne	LBB0_29
LBB0_21:
	movzbl	1(%r13), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_22
## %bb.23:
	movsbl	1(%r13), %eax
	imull	$100, %eax, %ebx
	movzbl	2(%r13), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_24
## %bb.25:
	movsbl	2(%r13), %eax
	leal	(%rax,%rax,4), %eax
	leal	(%rbx,%rax,2), %ebx
	addl	$-5280, %ebx                    ## imm = 0xEB60
	movzbl	3(%r13), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_26
## %bb.27:
	movsbl	3(%r13), %eax
	addq	$4, %r13
	addl	%eax, %ebx
	addl	$-48, %ebx
	jmp	LBB0_28
LBB0_22:
	incq	%r13
	jmp	LBB0_29
LBB0_24:
	addq	$2, %r13
	addl	$-4800, %ebx                    ## imm = 0xED40
LBB0_28:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_29
LBB0_26:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	addq	$3, %r13
LBB0_29:
	addq	$-2, %r13
	movq	%r13, %rbx
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movzbl	2(%rbx), %edi
	callq	_isspace
	incq	%rbx
	testq	%rax, %rax
	je	LBB0_30
## %bb.31:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rbx), %edi
	incq	%rbx
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_32
## %bb.33:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
LBB0_34:
	movsbl	(%rbx), %eax
	addl	$-69, %eax
	cmpl	$50, %eax
	ja	LBB0_38
## %bb.35:
	movabsq	$2203318223361, %rcx            ## imm = 0x20100000201
	btq	%rax, %rcx
	jb	LBB0_47
## %bb.36:
	movabsq	$1196268651298816, %rcx         ## imm = 0x4400000044000
	btq	%rax, %rcx
	jae	LBB0_38
## %bb.37:
	addl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	imull	$60, %r14d, %ecx
	addl	%r15d, %ecx
	imull	$-1000, %ecx, %r12d             ## imm = 0xFC18
	addl	$-2147483648, %r12d             ## imm = 0x80000000
	subl	%edx, %r12d
	jmp	LBB0_38
LBB0_47:
	addl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	imull	$60, %r14d, %ecx
	addl	%r15d, %ecx
	imull	$1000, %ecx, %ecx               ## imm = 0x3E8
	leal	(%rdx,%rcx), %r12d
	addl	$-2147483648, %r12d             ## imm = 0x80000000
LBB0_38:
	cmpl	$50, %eax
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	ja	LBB0_42
## %bb.39:
	movl	$1, %ecx
	movabsq	$72567767450112, %rdx           ## imm = 0x420000004200
	btq	%rax, %rdx
	jb	LBB0_43
## %bb.40:
	movabsq	$1125904202072065, %rcx         ## imm = 0x4000100040001
	btq	%rax, %rcx
	jae	LBB0_42
## %bb.41:
	movl	$2, %ecx
	jmp	LBB0_43
LBB0_42:
	xorl	%ecx, %ecx
LBB0_43:
	movl	%ecx, (%rsi)
	decq	%rbx
	.p2align	4, 0x90
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	movzbl	2(%rbx), %edi
	callq	_isspace
	incq	%rbx
	testq	%rax, %rax
	je	LBB0_44
	.p2align	4, 0x90
LBB0_45:                                ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rbx), %edi
	incq	%rbx
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_45
## %bb.46:
	movq	%rbx, (%r13)
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_latlon2ul
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function latlon2ul
_latlon2ul:                             ; @latlon2ul
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x22, [x0]
	ldrb	w0, [x22]
	bl	_isdigit
	mov	w21, #0
	cbz	x0, LBB0_4
; %bb.1:
	mov	w23, #10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x22
	ldrb	w0, [x22, #1]!
	ldrsb	w8, [x8]
	madd	w8, w21, w23, w8
	sub	w21, w8, #48
	bl	_isdigit
	cbnz	x0, LBB0_2
; %bb.3:
	mov	w8, #60
	mul	w21, w21, w8
LBB0_4:
	sub	x22, x22, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x22, #1]!
	bl	_isspace
	cbnz	x0, LBB0_5
; %bb.6:
	ldrb	w0, [x22]
	bl	_isdigit
	cbz	x0, LBB0_21
; %bb.7:
	ldrb	w0, [x22]
	bl	_isdigit
	mov	w23, #0
	cbz	x0, LBB0_10
; %bb.8:
	mov	w24, #10
	mov	x8, x22
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x22, #1]!
	ldrsb	w8, [x8]
	madd	w8, w23, w24, w8
	sub	w23, w8, #48
	bl	_isdigit
	mov	x8, x22
	cbnz	x0, LBB0_9
LBB0_10:
	sub	x22, x22, #1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x22, #1]!
	bl	_isspace
	cbnz	x0, LBB0_11
; %bb.12:
	ldrb	w0, [x22]
	bl	_isdigit
	cbz	x0, LBB0_22
; %bb.13:
	ldrb	w0, [x22]
	bl	_isdigit
	mov	w24, #0
	cbz	x0, LBB0_16
; %bb.14:
	mov	w25, #10
	mov	x8, x22
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x22, #1]!
	ldrsb	w8, [x8]
	madd	w8, w24, w25, w8
	sub	w24, w8, #48
	bl	_isdigit
	mov	x8, x22
	cbnz	x0, LBB0_15
LBB0_16:
	ldrb	w8, [x22]
	cmp	w8, #46
	b.ne	LBB0_23
; %bb.17:
	mov	x26, x22
	ldrb	w0, [x26, #1]!
	bl	_isdigit
	cbz	x0, LBB0_24
; %bb.18:
	mov	x26, x22
	ldrb	w0, [x26, #2]!
	ldursb	w8, [x26, #-1]
	mov	w9, #100
	mul	w25, w8, w9
	bl	_isdigit
	cbz	x0, LBB0_25
; %bb.19:
	mov	x26, x22
	ldrb	w0, [x26, #3]!
	ldursb	w8, [x26, #-1]
	mov	w9, #10
	madd	w8, w8, w9, w25
	mov	w9, #-5280
	add	w25, w8, w9
	bl	_isdigit
	cbz	x0, LBB0_26
; %bb.20:
	ldrsb	w8, [x22, #3]
	add	x22, x22, #4
	add	w8, w25, w8
	sub	w25, w8, #48
	b	LBB0_27
LBB0_21:
	mov	w23, #0
LBB0_22:
	mov	w24, #0
	mov	w25, #0
	b	LBB0_30
LBB0_23:
	mov	w25, #0
	b	LBB0_27
LBB0_24:
	mov	w25, #0
	b	LBB0_26
LBB0_25:
	mov	w8, #-4800
	add	w25, w25, w8
LBB0_26:
	mov	x22, x26
LBB0_27:
	sub	x22, x22, #2
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x22, #2]
	bl	_isspace
	add	x22, x22, #1
	cbz	x0, LBB0_28
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x22, #1]!
	bl	_isspace
	cbnz	x0, LBB0_29
LBB0_30:
	ldrsb	w8, [x22]
	sub	w8, w8, #69
	mov	w9, #1
	lsl	x9, x9, x8
	mov	x10, #513
	movk	x10, #513, lsl #32
	add	w11, w23, w21
	mov	w12, #60
	madd	w11, w11, w12, w24
	mov	w12, #1000
	madd	w12, w11, w12, w25
	mov	w13, #-2147483648
	add	w12, w12, w13
	mov	w13, #1
	lsl	x13, x13, x8
	mov	x14, #4611756388245323776
	movk	x14, #4, lsl #16
	movk	x14, #4, lsl #48
	mov	w15, #-1000
	mul	w11, w11, w15
	eor	w11, w11, #0x80000000
	sub	w11, w11, w25
	tst	x13, x14
	csel	w11, w11, wzr, ne
	tst	x9, x10
	csel	w9, w12, w11, ne
	cmp	w8, #50
	csel	w21, wzr, w9, hi
	b.hi	LBB0_35
; %bb.31:
	mov	w9, #1
	lsl	x9, x9, x8
	mov	x10, #16896
	movk	x10, #16896, lsl #32
	tst	x9, x10
	b.ne	LBB0_34
; %bb.32:
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #1125917086973956
	movk	x9, #1
	movk	x9, #1, lsl #32
	tst	x8, x9
	b.eq	LBB0_35
; %bb.33:
	mov	w8, #2
	b	LBB0_36
LBB0_34:
	mov	w8, #1
	b	LBB0_36
LBB0_35:
	mov	w8, #0
LBB0_36:
	str	w8, [x20]
	sub	x20, x22, #1
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x20, #2]
	bl	_isspace
	add	x20, x20, #1
	cbz	x0, LBB0_37
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x20, #1]!
	bl	_isspace
	cbnz	x0, LBB0_38
; %bb.39:
	str	x20, [x19]
	mov	x0, x21
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_latlon2ul
.subsections_via_symbols
