	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_loc_aton                       ## -- Begin function loc_aton
	.p2align	4, 0x90
_loc_aton:                              ## @loc_aton
	.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, %r15
	movq	%rdi, %r12
	movl	$0, -76(%rbp)
	movl	$0, -72(%rbp)
	movq	%rdi, -48(%rbp)
	callq	_strlen
	movl	%eax, %r14d
	leaq	-48(%rbp), %r13
	leaq	-76(%rbp), %rsi
	movq	%r13, %rdi
	callq	_latlon2ul
	movl	%eax, %ebx
	leaq	-72(%rbp), %rsi
	movq	%r13, %rdi
	callq	_latlon2ul
	movl	%eax, %ecx
	movl	-76(%rbp), %esi
	movl	-72(%rbp), %edx
	leal	(%rdx,%rsi), %edi
	xorl	%eax, %eax
	cmpl	$3, %edi
	jne	LBB0_56
## %bb.1:
	cmpl	$1, %esi
	jne	LBB0_4
## %bb.2:
	cmpl	$2, %edx
	jne	LBB0_4
## %bb.3:
	movl	%ebx, %esi
	movl	%ecx, %ebx
	jmp	LBB0_6
LBB0_4:
	cmpl	$2, %esi
	jne	LBB0_56
## %bb.5:
	movl	%ecx, %esi
	cmpl	$1, %edx
	jne	LBB0_56
LBB0_6:
	movq	-48(%rbp), %rcx
	movb	(%rcx), %al
	cmpb	$45, %al
	jne	LBB0_7
## %bb.8:
	leaq	1(%rcx), %rdx
	movq	%rdx, -48(%rbp)
	movb	1(%rcx), %al
	movl	$-1, -68(%rbp)                  ## 4-byte Folded Spill
	movq	%rdx, %rcx
	jmp	LBB0_9
LBB0_7:
	movl	$1, -68(%rbp)                   ## 4-byte Folded Spill
LBB0_9:
	movl	%r14d, %r13d
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	cmpb	$43, %al
	jne	LBB0_11
## %bb.10:
	leaq	1(%rcx), %rax
	movq	%rax, -48(%rbp)
	movb	1(%rcx), %al
LBB0_11:
	movzbl	%al, %edi
	callq	_isdigit
	xorl	%ebx, %ebx
	movl	$0, %r14d
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	leal	(%rbx,%rbx,4), %eax
	movq	-48(%rbp), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, -48(%rbp)
	movsbl	(%rcx), %edx
	leal	(%rdx,%rax,2), %ebx
	addl	$-48, %ebx
	movzbl	1(%rcx), %edi
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:
	imull	$100, %ebx, %r14d
	xorl	%ebx, %ebx
LBB0_15:
	movslq	%r13d, %r13
	movq	-48(%rbp), %rax
	cmpb	$46, (%rax)
	jne	LBB0_21
## %bb.16:
	leaq	1(%rax), %rcx
	movq	%rcx, -48(%rbp)
	movzbl	1(%rax), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_21
## %bb.17:
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, -48(%rbp)
	movsbl	(%rax), %ebx
	addl	%ebx, %ebx
	movzbl	1(%rax), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	leal	(%rbx,%rbx,4), %eax
	movq	-48(%rbp), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, -48(%rbp)
	movsbl	(%rcx), %ecx
	leal	(%rax,%rcx), %ebx
	addl	$-528, %ebx                     ## imm = 0xFDF0
	jmp	LBB0_20
LBB0_18:
	leal	(%rbx,%rbx,4), %ebx
	addl	$-480, %ebx                     ## imm = 0xFE20
LBB0_20:
	movq	-88(%rbp), %r15                 ## 8-byte Reload
LBB0_21:
	addl	%r14d, %ebx
	addq	%r13, %r12
	movq	-48(%rbp), %rax
	movzbl	(%rax), %edi
	callq	_isspace
	movq	-48(%rbp), %rcx
	testq	%rax, %rax
	jne	LBB0_23
## %bb.22:
	cmpq	%r12, %rcx
	jae	LBB0_23
## %bb.30:
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%rcx), %rax
	movq	%rax, -48(%rbp)
	movzbl	1(%rcx), %edi
	callq	_isspace
	movq	-48(%rbp), %rcx
	testq	%rax, %rax
	jne	LBB0_24
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	cmpq	%r12, %rcx
	jb	LBB0_31
	jmp	LBB0_24
LBB0_23:
	movl	-64(%rbp), %r14d                ## 4-byte Reload
LBB0_24:
	imull	-68(%rbp), %ebx                 ## 4-byte Folded Reload
	movzbl	(%rcx), %edi
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	callq	_isspace
	movq	-48(%rbp), %rdx
	cmpq	%r12, %rdx
	setb	%cl
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	cmpq	%r12, %rdx
	jae	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_25 Depth=1
	leaq	1(%rdx), %rax
	movq	%rax, -48(%rbp)
	movzbl	1(%rdx), %edi
	jmp	LBB0_25
LBB0_28:
	addl	$10000000, %ebx                 ## imm = 0x989680
	movl	%ebx, %r13d
	movl	$18, %ebx
	movl	$19, %eax
	movl	$22, %edx
	testb	%cl, %cl
	je	LBB0_29
## %bb.33:
	leaq	-48(%rbp), %rdi
	callq	_precsize_aton
	movq	%rax, %rbx
	movq	-48(%rbp), %rax
	movzbl	(%rax), %edi
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	callq	_isspace
	movq	-48(%rbp), %rcx
	testq	%rax, %rax
	jne	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	cmpq	%r12, %rcx
	jae	LBB0_36
## %bb.42:                              ##   in Loop: Header=BB0_34 Depth=1
	leaq	1(%rcx), %rax
	movq	%rax, -48(%rbp)
	movzbl	1(%rcx), %edi
	jmp	LBB0_34
LBB0_29:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_55
LBB0_36:
	movzbl	(%rcx), %edi
	.p2align	4, 0x90
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	callq	_isspace
	movq	-48(%rbp), %rcx
	cmpq	%r12, %rcx
	setb	%dl
	testq	%rax, %rax
	je	LBB0_40
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=1
	cmpq	%r12, %rcx
	jae	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_37 Depth=1
	leaq	1(%rcx), %rax
	movq	%rax, -48(%rbp)
	movzbl	1(%rcx), %edi
	jmp	LBB0_37
LBB0_40:
	testb	%dl, %dl
	je	LBB0_41
## %bb.43:
	leaq	-48(%rbp), %rdi
	callq	_precsize_aton
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax
	movzbl	(%rax), %edi
	.p2align	4, 0x90
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	callq	_isspace
	movq	-48(%rbp), %rcx
	testq	%rax, %rax
	jne	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_44 Depth=1
	cmpq	%r12, %rcx
	jae	LBB0_46
## %bb.52:                              ##   in Loop: Header=BB0_44 Depth=1
	leaq	1(%rcx), %rax
	movq	%rax, -48(%rbp)
	movzbl	1(%rcx), %edi
	jmp	LBB0_44
LBB0_41:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	$19, %eax
	movl	$22, %edx
	jmp	LBB0_55
LBB0_46:
	movzbl	(%rcx), %edi
	.p2align	4, 0x90
LBB0_47:                                ## =>This Inner Loop Header: Depth=1
	callq	_isspace
	movq	-48(%rbp), %rcx
	cmpq	%r12, %rcx
	setb	%dl
	testq	%rax, %rax
	je	LBB0_50
## %bb.48:                              ##   in Loop: Header=BB0_47 Depth=1
	cmpq	%r12, %rcx
	jae	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_47 Depth=1
	leaq	1(%rcx), %rax
	movq	%rax, -48(%rbp)
	movzbl	1(%rcx), %edi
	jmp	LBB0_47
LBB0_50:
	testb	%dl, %dl
	je	LBB0_51
## %bb.53:
	leaq	-48(%rbp), %rdi
	callq	_precsize_aton
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_54
LBB0_51:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	$19, %eax
LBB0_54:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
LBB0_55:
	movl	$0, (%r15)
	movl	%ebx, 4(%r15)
	movl	%edx, 8(%r15)
	movl	%eax, 12(%r15)
	addq	$16, %r15
	movq	%r15, %rsi
	callq	_PUTLONG
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_PUTLONG
	movl	%r13d, %edi
	movq	%r15, %rsi
	callq	_PUTLONG
	movl	$16, %eax
LBB0_56:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_loc_aton                       ; -- Begin function loc_aton
	.p2align	2
_loc_aton:                              ; @loc_aton
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x1
	mov	x22, x0
	stp	xzr, x0, [sp]
	bl	_strlen
	mov	x23, x0
	add	x0, sp, #8
	add	x1, sp, #4
	bl	_latlon2ul
	mov	x20, x0
	add	x0, sp, #8
	mov	x1, sp
	bl	_latlon2ul
	mov	x1, x0
	mov	w0, #0
	ldp	w8, w9, [sp]
	add	w10, w8, w9
	cmp	w10, #3
	b.ne	LBB0_39
; %bb.1:
	cmp	w9, #1
	ccmp	w8, #2, #0, eq
	b.eq	LBB0_4
; %bb.2:
	mov	w0, #0
	cmp	w9, #2
	b.ne	LBB0_39
; %bb.3:
	mov	x21, x1
	cmp	w8, #1
	b.eq	LBB0_5
	b	LBB0_39
LBB0_4:
	mov	x21, x20
	mov	x20, x1
LBB0_5:
	ldr	x8, [sp, #8]
	ldrb	w0, [x8]
	cmp	w0, #45
	b.ne	LBB0_7
; %bb.6:
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrb	w0, [x8, #1]
	mov	w24, #-1
	mov	x8, x9
	cmp	w0, #43
	b.eq	LBB0_8
	b	LBB0_9
LBB0_7:
	mov	w24, #1
	cmp	w0, #43
	b.ne	LBB0_9
LBB0_8:
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrb	w0, [x8, #1]
LBB0_9:
	bl	_isdigit
	cbz	x0, LBB0_13
; %bb.10:
	mov	w25, #0
	mov	w26, #10
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrsb	w9, [x8]
	madd	w9, w25, w26, w9
	sub	w25, w9, #48
	ldrb	w0, [x8, #1]
	bl	_isdigit
	cbnz	x0, LBB0_11
; %bb.12:
	mov	w8, #100
	mul	w26, w25, w8
	b	LBB0_14
LBB0_13:
	mov	w26, #0
LBB0_14:
	add	x25, x22, w23, sxtw
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cmp	w9, #46
	b.ne	LBB0_18
; %bb.15:
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrb	w0, [x8, #1]
	bl	_isdigit
	cbz	x0, LBB0_18
; %bb.16:
	ldr	x8, [sp, #8]
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrsb	w9, [x8]
	add	w9, w9, w9, lsl #2
	lsl	w22, w9, #1
	ldrb	w0, [x8, #1]
	bl	_isdigit
	cbz	x0, LBB0_45
; %bb.17:
	ldr	x8, [sp, #8]
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrsb	w8, [x8]
	add	w8, w22, w8
	sub	w8, w8, #528
	b	LBB0_19
LBB0_18:
	mov	w8, #0
LBB0_19:
	add	w22, w8, w26
	mov	w23, #38528
	movk	w23, #152, lsl #16
	ldr	x8, [sp, #8]
	ldrb	w0, [x8]
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	bl	_isspace
	ldr	x8, [sp, #8]
	cmp	x0, #0
	ccmp	x8, x25, #2, eq
	b.hs	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrb	w0, [x8, #1]
	b	LBB0_20
LBB0_22:
	madd	w22, w22, w24, w23
	ldrb	w0, [x8]
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	bl	_isspace
	ldr	x8, [sp, #8]
	cmp	x8, x25
	cset	w9, lo
	cmp	x0, #0
	ccmp	x8, x25, #2, ne
	b.hs	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrb	w0, [x8, #1]
	b	LBB0_23
LBB0_25:
	cbz	w9, LBB0_29
; %bb.26:
	add	x0, sp, #8
	bl	_precsize_aton
	mov	x23, x0
	ldr	x8, [sp, #8]
	ldrb	w0, [x8]
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	bl	_isspace
	ldr	x8, [sp, #8]
	cmp	x0, #0
	ccmp	x8, x25, #2, eq
	b.hs	LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrb	w0, [x8, #1]
	b	LBB0_27
LBB0_29:
	mov	w23, #18
	b	LBB0_37
LBB0_30:
	ldrb	w0, [x8]
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	bl	_isspace
	ldr	x8, [sp, #8]
	cmp	x8, x25
	cset	w9, lo
	cmp	x0, #0
	ccmp	x8, x25, #2, ne
	b.hs	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrb	w0, [x8, #1]
	b	LBB0_31
LBB0_33:
	cbz	w9, LBB0_37
; %bb.34:
	add	x0, sp, #8
	bl	_precsize_aton
	mov	x24, x0
	ldr	x8, [sp, #8]
	ldrb	w0, [x8]
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	bl	_isspace
	ldr	x8, [sp, #8]
	cmp	x0, #0
	ccmp	x8, x25, #2, eq
	b.hs	LBB0_40
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrb	w0, [x8, #1]
	b	LBB0_35
LBB0_37:
	mov	w0, #19
	mov	w24, #22
LBB0_38:
	stp	wzr, w23, [x19]
	add	x23, x19, #16
	stp	w24, w0, [x19, #8]
	mov	x0, x21
	mov	x1, x23
	bl	_PUTLONG
	mov	x0, x20
	mov	x1, x23
	bl	_PUTLONG
	mov	x0, x22
	mov	x1, x23
	bl	_PUTLONG
	mov	w0, #16
LBB0_39:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_40:
	ldrb	w0, [x8]
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	bl	_isspace
	ldr	x8, [sp, #8]
	cmp	x8, x25
	cset	w9, lo
	cmp	x0, #0
	ccmp	x8, x25, #2, ne
	b.hs	LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=1
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrb	w0, [x8, #1]
	b	LBB0_41
LBB0_43:
	cbz	w9, LBB0_46
; %bb.44:
	add	x0, sp, #8
	bl	_precsize_aton
	b	LBB0_38
LBB0_45:
	sub	w8, w22, #480
	b	LBB0_19
LBB0_46:
	mov	w0, #19
	b	LBB0_38
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
