	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_country                  ## -- Begin function parse_country
	.p2align	4, 0x90
_parse_country:                         ## @parse_country
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_buff@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_parse_pos@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	xorl	%edx, %edx
	cmpb	$44, (%rax,%rcx)
	sete	%dl
	leaq	(%rcx,%rdx), %rsi
	addq	%rdx, %rcx
	incq	%rcx
	movq	%rcx, (%r15)
	xorl	%edi, %edi
	cmpb	$34, (%rax,%rsi)
	sete	%dil
	callq	_assert
	movq	(%r14), %rax
	movq	(%r15), %rcx
	xorl	%ebx, %ebx
	cmpb	$34, (%rax,%rcx)
	je	LBB0_2
## %bb.1:
	leaq	1(%rcx), %rdx
	movq	%rdx, (%r15)
	movsbl	(%rax,%rcx), %edx
	shll	$8, %edx
	leaq	2(%rcx), %rsi
	movq	%rsi, (%r15)
	movsbl	1(%rax,%rcx), %ebx
	addl	%edx, %ebx
	movq	%rsi, %rcx
LBB0_2:
	leaq	1(%rcx), %rdx
	movq	%rdx, (%r15)
	xorl	%edi, %edi
	cmpb	$34, (%rax,%rcx)
	sete	%dil
	callq	_assert
	movq	(%r14), %rax
	movq	(%r15), %rcx
	movzbl	(%rax,%rcx), %eax
	cmpq	$44, %rax
	ja	LBB0_4
## %bb.3:
	movl	$1, %edi
	movabsq	$17592186045441, %rcx           ## imm = 0x100000000401
	btq	%rax, %rcx
	jb	LBB0_5
LBB0_4:
	xorl	%edi, %edi
	cmpb	$13, %al
	sete	%dil
LBB0_5:
	callq	_assert
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_buff,8,3                       ## @buff
	.comm	_parse_pos,8,3                  ## @parse_pos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_country                  ; -- Begin function parse_country
	.p2align	2
_parse_country:                         ; @parse_country
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x20, _buff@GOTPAGE
Lloh1:
	ldr	x20, [x20, _buff@GOTPAGEOFF]
Lloh2:
	adrp	x21, _parse_pos@GOTPAGE
Lloh3:
	ldr	x21, [x21, _parse_pos@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldrb	w10, [x8, x9]
	cmp	w10, #44
	cinc	x9, x9, eq
	add	x10, x9, #1
	str	x10, [x21]
	ldrb	w8, [x8, x9]
	cmp	w8, #34
	cset	w0, eq
	bl	_assert
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldrb	w10, [x8, x9]
	cmp	w10, #34
	b.ne	LBB0_2
; %bb.1:
	mov	w19, #0
	b	LBB0_3
LBB0_2:
	add	x10, x9, #1
	str	x10, [x21]
	ldrsb	w11, [x8, x9]
	add	x9, x9, #2
	str	x9, [x21]
	ldrsb	w10, [x8, x10]
	add	w19, w10, w11, lsl #8
LBB0_3:
	add	x10, x9, #1
	str	x10, [x21]
	ldrb	w8, [x8, x9]
	cmp	w8, #34
	cset	w0, eq
	bl	_assert
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldrb	w8, [x8, x9]
	cmp	w8, #44
	mov	w9, #1
	lsl	x9, x9, x8
	mov	x10, #1025
	movk	x10, #4096, lsl #32
	and	x9, x9, x10
	ccmp	x9, #0, #4, ls
	b.eq	LBB0_5
; %bb.4:
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	cmp	w8, #13
	cset	w0, eq
LBB0_6:
	bl	_assert
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_buff,8,3                       ; @buff
	.comm	_parse_pos,8,3                  ; @parse_pos
.subsections_via_symbols
