	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_get_fields                 ## -- Begin function rpc_get_fields
	.p2align	4, 0x90
_rpc_get_fields:                        ## @rpc_get_fields
	.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
	movl	%ecx, %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -48(%rbp)
	movl	$-1, %r15d
	testl	%eax, %eax
	je	LBB0_61
## %bb.1:
	movl	%eax, %ecx
	andl	$3, %ecx
	testq	%rcx, %rcx
	jne	LBB0_61
## %bb.2:
	movq	%rsi, %r14
	movq	_types@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movslq	%edi, %rdi
	shlq	$4, %rdi
	movq	(%rsi,%rdi), %rcx
	movq	%r14, %rbx
	shrq	%cl, %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movq	_TL_ERROR_BAD_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_tl_fetch_set_error_format
	jmp	LBB0_61
LBB0_4:
	movslq	%eax, %r11
	addq	%rdx, %r11
	movq	_field_changes_n@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	movq	_location_changes_n@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	testq	%rcx, %rcx
	jle	LBB0_6
## %bb.5:
	leaq	(%rsi,%rdi), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	(%rsi,%rdi), %r8
	addq	$8, %r8
	xorl	%r13d, %r13d
	movq	_field_changes@GOTPCREL(%rip), %r9
	xorl	%r10d, %r10d
	xorl	%r12d, %r12d
	movq	%r11, -88(%rbp)                 ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_16
LBB0_6:
	xorl	%r10d, %r10d
LBB0_7:
	cmpq	%r11, %rdx
	je	LBB0_10
## %bb.8:
	movq	_TL_ERROR_BAD_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
LBB0_59:
	xorl	%eax, %eax
	callq	_tl_fetch_set_error_format
LBB0_60:
	movl	$-1, %r15d
	jmp	LBB0_61
LBB0_10:
	movl	%r10d, %r15d
LBB0_61:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_63
## %bb.62:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	(%r15), %r10
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
LBB0_12:                                ##   in Loop: Header=BB0_16 Depth=1
	decq	%r10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-72(%rbp), %r14                 ## 8-byte Reload
LBB0_14:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r10
	movq	%r10, (%r15)
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r12
	cmpq	%r12, %rcx
	jle	LBB0_7
LBB0_16:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_27 Depth 2
	btq	%r12, %r14
	jae	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	(%r9), %rdi
	leaq	(%r10,%r10,2), %rbx
	shlq	$4, %rbx
	movl	%r12d, (%rdi,%rbx)
	movq	(%r8), %rsi
	movl	(%rsi,%r12,4), %esi
	movl	%esi, 4(%rdi,%rbx)
	addl	$-128, %esi
	cmpl	$4, %esi
	ja	LBB0_14
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	leaq	LJTI0_0(%rip), %r14
	movslq	(%r14,%rsi,4), %rsi
	addq	%r14, %rsi
	jmpq	*%rsi
LBB0_19:                                ##   in Loop: Header=BB0_16 Depth=1
	cmpq	%r11, %rdx
	je	LBB0_60
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=1
	leaq	4(%rdx), %r8
	movzbl	(%rdx), %r9d
	cmpl	$253, %r9d
	ja	LBB0_51
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=1
	subq	%r8, %r11
	sarq	$2, %r11
	movq	%r9, %rsi
	shrq	$2, %rsi
	cmpq	%rsi, %r11
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jl	LBB0_60
## %bb.22:                              ##   in Loop: Header=BB0_16 Depth=1
	incq	%rdx
	movq	%rdx, %r11
	jmp	LBB0_54
LBB0_23:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%r11, %rsi
	subq	%rdx, %rsi
	cmpq	$4, %rsi
	jl	LBB0_60
## %bb.24:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	(%rdx), %r14d
	addq	$4, %rdx
	testl	%r14d, %r14d
	jne	LBB0_27
	jmp	LBB0_12
LBB0_25:                                ##   in Loop: Header=BB0_27 Depth=2
	leaq	(%r15,%rbx,4), %rdx
LBB0_26:                                ##   in Loop: Header=BB0_27 Depth=2
	decl	%r14d
	movq	_location_changes_n@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	incq	%r13
	movq	%r13, (%rcx)
	testl	%r14d, %r14d
	movq	-88(%rbp), %r11                 ## 8-byte Reload
	movq	_field_changes_n@GOTPCREL(%rip), %r15
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	_field_changes@GOTPCREL(%rip), %r9
	je	LBB0_11
LBB0_27:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_MAX_LOCATIONS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_55
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	%r11, %rcx
	subq	%rdx, %rcx
	cmpq	$4, %rcx
	jl	LBB0_60
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	_location_changes@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	(,%r13,8), %rsi
	addq	%r13, %rsi
	movl	%r12d, (%rcx,%rsi,8)
	leaq	4(%rdx), %rax
	movl	(%rdx), %edi
	movq	_TL_PHOTO_PHOTO_LOCATION@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %edi
	je	LBB0_41
## %bb.30:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	_TL_PHOTO_AUDIO_LOCATION@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %edi
	je	LBB0_41
## %bb.31:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	_TL_PHOTO_VIDEO_LOCATION@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %edi
	je	LBB0_41
## %bb.32:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	_TL_PHOTO_PHOTO_LOCATION_STORAGE@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %edi
	je	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	_TL_PHOTO_AUDIO_LOCATION_STORAGE@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %edi
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	_TL_PHOTO_VIDEO_LOCATION_STORAGE@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %edi
	jne	LBB0_60
LBB0_35:                                ##   in Loop: Header=BB0_27 Depth=2
	movl	$1, 4(%rcx,%rsi,8)
	movq	%r11, %rdi
	subq	%rax, %rdi
	cmpq	$28, %rdi
	jl	LBB0_60
## %bb.36:                              ##   in Loop: Header=BB0_27 Depth=2
	movl	4(%rdx), %eax
	movl	%eax, 32(%rcx,%rsi,8)
	movl	8(%rdx), %eax
	movl	%eax, %edi
	andl	$-65281, %edi                   ## imm = 0xFFFF00FF
	cmpl	$1, %edi
	jne	LBB0_56
## %bb.37:                              ##   in Loop: Header=BB0_27 Depth=2
	shrl	$8, %eax
	movl	%eax, 8(%rcx,%rsi,8)
	movl	12(%rdx), %eax
	movl	%eax, 28(%rcx,%rsi,8)
	movl	16(%rdx), %eax
	movl	%eax, 24(%rcx,%rsi,8)
	movl	20(%rdx), %eax
	movl	%eax, 20(%rcx,%rsi,8)
	movl	24(%rdx), %eax
	movl	%eax, 16(%rcx,%rsi,8)
	movzbl	28(%rdx), %r13d
	cmpl	$11, %r13d
	ja	LBB0_57
## %bb.38:                              ##   in Loop: Header=BB0_27 Depth=2
	leaq	32(%rdx), %r15
	movq	%r11, %rax
	subq	%r15, %rax
	sarq	$2, %rax
	movq	%r13, %rbx
	shrq	$2, %rbx
	cmpq	%rbx, %rax
	jl	LBB0_60
## %bb.39:                              ##   in Loop: Header=BB0_27 Depth=2
	addq	$29, %rdx
	leaq	-60(%rbp), %rdi
	movq	%rdx, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	movl	%r13d, %eax
	movb	$0, -60(%rbp,%rax)
	movq	_location_changes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_location_changes_n@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rcx,%rcx,8), %rcx
	leaq	(%rax,%rcx,8), %rsi
	addq	$12, %rsi
	leaq	-60(%rbp), %rdi
	callq	_base64url_to_secret
	testl	%eax, %eax
	je	LBB0_25
	jmp	LBB0_40
LBB0_41:                                ##   in Loop: Header=BB0_27 Depth=2
	movl	$0, 4(%rcx,%rsi,8)
	movq	%r11, %rdi
	subq	%rax, %rdi
	cmpq	$20, %rdi
	jl	LBB0_60
## %bb.42:                              ##   in Loop: Header=BB0_27 Depth=2
	movl	4(%rdx), %eax
	movl	%eax, 68(%rcx,%rsi,8)
	movl	8(%rdx), %eax
	movl	%eax, 64(%rcx,%rsi,8)
	movl	12(%rdx), %eax
	movl	%eax, 60(%rcx,%rsi,8)
	movl	16(%rdx), %eax
	movl	%eax, 56(%rcx,%rsi,8)
	movzbl	20(%rdx), %ebx
	cmpl	$126, %ebx
	ja	LBB0_60
## %bb.43:                              ##   in Loop: Header=BB0_27 Depth=2
	leaq	24(%rdx), %r8
	movq	%r11, %rdi
	subq	%r8, %rdi
	sarq	$2, %rdi
	movq	%rbx, %rax
	shrq	$2, %rax
	cmpq	%rax, %rdi
	jl	LBB0_60
## %bb.44:                              ##   in Loop: Header=BB0_27 Depth=2
	addq	$21, %rdx
	leaq	(%r8,%rax,4), %r15
	movl	%ebx, 40(%rcx,%rsi,8)
	movq	48(%rcx,%rsi,8), %rdi
	movq	%rdx, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movq	%r15, %rdx
	jmp	LBB0_26
LBB0_45:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%r11, %rsi
	subq	%rdx, %rsi
	cmpq	$8, %rsi
	jl	LBB0_60
## %bb.46:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	(%rdx), %rsi
	movq	%rsi, 16(%rdi,%rbx)
	addq	$8, %rdx
	jmp	LBB0_13
LBB0_47:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%r11, %rsi
	subq	%rdx, %rsi
	cmpq	$4, %rsi
	jl	LBB0_60
## %bb.48:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	(%rdx), %esi
	movl	%esi, 8(%rdi,%rbx)
	addq	$4, %rdx
	jmp	LBB0_13
LBB0_49:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%r11, %rsi
	subq	%rdx, %rsi
	cmpq	$8, %rsi
	jl	LBB0_60
## %bb.50:                              ##   in Loop: Header=BB0_16 Depth=1
	movsd	(%rdx), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, 24(%rdi,%rbx)
	addq	$8, %rdx
	jmp	LBB0_13
LBB0_51:                                ##   in Loop: Header=BB0_16 Depth=1
	cmpb	$-2, %r9b
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_60
## %bb.52:                              ##   in Loop: Header=BB0_16 Depth=1
	movzwl	1(%rdx), %r9d
	movzbl	3(%rdx), %edx
	shlq	$16, %rdx
	subq	%r8, %r11
	sarq	$2, %r11
	leaq	(%r9,%rdx), %rsi
	addq	$3, %rsi
	shrq	$2, %rsi
	cmpq	%rsi, %r11
	jl	LBB0_60
## %bb.53:                              ##   in Loop: Header=BB0_16 Depth=1
	orq	%rdx, %r9
	movq	%r8, %r11
LBB0_54:                                ##   in Loop: Header=BB0_16 Depth=1
	leaq	(%r8,%rsi,4), %rdx
	movl	%r9d, 32(%rdi,%rbx)
	movq	%r11, 40(%rdi,%rbx)
	movq	-88(%rbp), %r11                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	_field_changes@GOTPCREL(%rip), %r9
	jmp	LBB0_14
LBB0_55:
	movq	_TL_ERROR_BAD_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_59
LBB0_56:
	movq	_TL_ERROR_BAD_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_59
LBB0_57:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_58
LBB0_40:
	leaq	L_.str.4(%rip), %rsi
LBB0_58:
	movq	_TL_ERROR_BAD_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_59
LBB0_63:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_47, LBB0_47-LJTI0_0
.set L0_0_set_49, LBB0_49-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_23
	.long	L0_0_set_45
	.long	L0_0_set_47
	.long	L0_0_set_49
	.end_data_region
                                        ## -- End function
	.comm	_types,8,3                      ## @types
	.comm	_TL_ERROR_BAD_VALUE,4,2         ## @TL_ERROR_BAD_VALUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Wrong mask = %llx specified"

	.comm	_field_changes_n,8,3            ## @field_changes_n
	.comm	_location_changes_n,8,3         ## @location_changes_n
	.comm	_field_changes,8,3              ## @field_changes
	.comm	_MAX_LOCATIONS,8,3              ## @MAX_LOCATIONS
L_.str.1:                               ## @.str.1
	.asciz	"Too much locations specified"

	.comm	_location_changes,8,3           ## @location_changes
	.comm	_TL_PHOTO_PHOTO_LOCATION,4,2    ## @TL_PHOTO_PHOTO_LOCATION
	.comm	_TL_PHOTO_AUDIO_LOCATION,4,2    ## @TL_PHOTO_AUDIO_LOCATION
	.comm	_TL_PHOTO_VIDEO_LOCATION,4,2    ## @TL_PHOTO_VIDEO_LOCATION
	.comm	_TL_PHOTO_PHOTO_LOCATION_STORAGE,4,2 ## @TL_PHOTO_PHOTO_LOCATION_STORAGE
	.comm	_TL_PHOTO_AUDIO_LOCATION_STORAGE,4,2 ## @TL_PHOTO_AUDIO_LOCATION_STORAGE
	.comm	_TL_PHOTO_VIDEO_LOCATION_STORAGE,4,2 ## @TL_PHOTO_VIDEO_LOCATION_STORAGE
L_.str.2:                               ## @.str.2
	.asciz	"Wrong size specified. Size must contain exactly one symbol 'a' - 'z'"

L_.str.3:                               ## @.str.3
	.asciz	"Url_secret is too long"

L_.str.4:                               ## @.str.4
	.asciz	"Can't decode url_secret"

L_.str.5:                               ## @.str.5
	.asciz	"Not all data fetched"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_get_fields                 ; -- Begin function rpc_get_fields
	.p2align	2
_rpc_get_fields:                        ; @rpc_get_fields
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
                                        ; kill: def $w3 killed $w3 def $x3
	mov	x8, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	str	x9, [sp, #56]
	mov	w0, #-1
	cbz	w3, LBB0_6
; %bb.1:
	sxtw	x9, w3
	and	x10, x9, #0x3
	cbnz	x10, LBB0_6
; %bb.2:
Lloh3:
	adrp	x10, _types@GOTPAGE
Lloh4:
	ldr	x10, [x10, _types@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x10]
	add	x13, x11, w8, sxtw #4
	ldr	x10, [x13]
	lsr	x12, x1, x10
	cbz	x12, LBB0_8
; %bb.3:
Lloh6:
	adrp	x8, _TL_ERROR_BAD_VALUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TL_ERROR_BAD_VALUE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	str	x1, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	bl	_tl_fetch_set_error_format
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldr	x8, [sp, #56]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_56
; %bb.7:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_8:
	mov	x21, x2
Lloh14:
	adrp	x16, _field_changes_n@GOTPAGE
Lloh15:
	ldr	x16, [x16, _field_changes_n@GOTPAGEOFF]
	add	x25, x2, x9
	str	xzr, [x16]
Lloh16:
	adrp	x22, _location_changes_n@GOTPAGE
Lloh17:
	ldr	x22, [x22, _location_changes_n@GOTPAGEOFF]
	str	xzr, [x22]
	cmp	x10, #1
	b.lt	LBB0_10
; %bb.9:
	str	x13, [sp, #16]                  ; 8-byte Folded Spill
	mov	x9, #0
	mov	x0, #0
	mov	x27, #0
	sxtw	x8, w8
	add	x8, x11, x8, lsl #4
	add	x17, x8, #8
Lloh18:
	adrp	x4, _field_changes@GOTPAGE
Lloh19:
	ldr	x4, [x4, _field_changes@GOTPAGEOFF]
Lloh20:
	adrp	x2, lJTI0_0@PAGE
Lloh21:
	add	x2, x2, lJTI0_0@PAGEOFF
	mov	w3, #48
Lloh22:
	adrp	x20, _MAX_LOCATIONS@GOTPAGE
Lloh23:
	ldr	x20, [x20, _MAX_LOCATIONS@GOTPAGEOFF]
Lloh24:
	adrp	x24, _location_changes@GOTPAGE
Lloh25:
	ldr	x24, [x24, _location_changes@GOTPAGEOFF]
	mov	w19, #72
Lloh26:
	adrp	x23, _TL_PHOTO_PHOTO_LOCATION@GOTPAGE
Lloh27:
	ldr	x23, [x23, _TL_PHOTO_PHOTO_LOCATION@GOTPAGEOFF]
Lloh28:
	adrp	x28, _TL_PHOTO_AUDIO_LOCATION@GOTPAGE
Lloh29:
	ldr	x28, [x28, _TL_PHOTO_AUDIO_LOCATION@GOTPAGEOFF]
	b	LBB0_17
LBB0_10:
	mov	x0, #0
LBB0_11:
	cmp	x21, x25
	b.eq	LBB0_6
; %bb.12:
Lloh30:
	adrp	x8, _TL_ERROR_BAD_VALUE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TL_ERROR_BAD_VALUE@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x1, l_.str.5@PAGE
Lloh34:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_17 Depth=1
	sub	x15, x25, x11
	lsr	x14, x13, #2
	cmp	x14, x15, asr #2
	b.gt	LBB0_5
LBB0_14:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x21, x11, x14, lsl #2
	madd	x8, x0, x3, x8
	str	w13, [x8, #32]
	str	x12, [x8, #40]
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x0, x0, #1
	str	x0, [x16]
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x27, x27, #1
	cmp	x10, x27
	b.le	LBB0_11
LBB0_17:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_31 Depth 2
	lsr	x8, x1, x27
	tbz	w8, #0, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x4]
	madd	x11, x0, x3, x8
	str	w27, [x11]
	ldr	x12, [x17]
	ldr	w12, [x12, x27, lsl #2]
	str	w12, [x11, #4]
	sub	w11, w12, #128
	cmp	w11, #4
	b.hi	LBB0_15
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	adr	x12, LBB0_20
	ldrb	w13, [x2, x11]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_20:                                ;   in Loop: Header=BB0_17 Depth=1
	cmp	x21, x25
	b.eq	LBB0_5
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x11, x21, #4
	mov	x12, x21
	ldrb	w13, [x12], #1
	cmp	w13, #253
	b.ls	LBB0_13
; %bb.22:                               ;   in Loop: Header=BB0_17 Depth=1
	cmp	w13, #254
	b.ne	LBB0_5
; %bb.23:                               ;   in Loop: Header=BB0_17 Depth=1
	ldurh	w13, [x21, #1]
	ldrb	w12, [x21, #3]
	bfi	x13, x12, #16, #8
	sub	x12, x25, x11
	add	x14, x13, #3
	lsr	x14, x14, #2
	cmp	x14, x12, asr #2
	b.gt	LBB0_5
; %bb.24:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x12, x11
                                        ; kill: def $w13 killed $w13 killed $x13 def $x13
	b	LBB0_14
LBB0_25:                                ;   in Loop: Header=BB0_17 Depth=1
	sub	x8, x25, x21
	cmp	x8, #4
	b.lt	LBB0_5
; %bb.26:                               ;   in Loop: Header=BB0_17 Depth=1
	stp	x1, x17, [sp, #24]              ; 16-byte Folded Spill
	ldr	w26, [x21], #4
	cbnz	w26, LBB0_31
; %bb.27:                               ;   in Loop: Header=BB0_17 Depth=1
Lloh35:
	adrp	x16, _field_changes_n@GOTPAGE
Lloh36:
	ldr	x16, [x16, _field_changes_n@GOTPAGEOFF]
LBB0_28:                                ;   in Loop: Header=BB0_17 Depth=1
	sub	x0, x0, #1
	ldp	x1, x17, [sp, #24]              ; 16-byte Folded Reload
Lloh37:
	adrp	x4, _field_changes@GOTPAGE
Lloh38:
	ldr	x4, [x4, _field_changes@GOTPAGEOFF]
Lloh39:
	adrp	x2, lJTI0_0@PAGE
Lloh40:
	add	x2, x2, lJTI0_0@PAGEOFF
	mov	w3, #48
	b	LBB0_15
LBB0_29:                                ;   in Loop: Header=BB0_31 Depth=2
	add	x21, x20, x25, lsl #2
	mov	x20, x23
	mov	x25, x19
	mov	w19, #72
Lloh41:
	adrp	x23, _TL_PHOTO_PHOTO_LOCATION@GOTPAGE
Lloh42:
	ldr	x23, [x23, _TL_PHOTO_PHOTO_LOCATION@GOTPAGEOFF]
Lloh43:
	adrp	x28, _TL_PHOTO_AUDIO_LOCATION@GOTPAGE
Lloh44:
	ldr	x28, [x28, _TL_PHOTO_AUDIO_LOCATION@GOTPAGEOFF]
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=2
	ldr	x8, [x22]
	add	x9, x8, #1
	str	x9, [x22]
	sub	w26, w26, #1
	cbz	w26, LBB0_50
LBB0_31:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20]
	cmp	x9, x8
	b.eq	LBB0_51
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=2
	sub	x8, x25, x21
	cmp	x8, #4
	b.lt	LBB0_5
; %bb.33:                               ;   in Loop: Header=BB0_31 Depth=2
	ldr	x8, [x24]
	mul	x10, x9, x19
	str	w27, [x8, x10]
	mov	x10, x21
	ldr	w11, [x10], #4
	ldr	w12, [x23]
	ldr	w13, [x28]
Lloh45:
	adrp	x14, _TL_PHOTO_VIDEO_LOCATION@GOTPAGE
Lloh46:
	ldr	x14, [x14, _TL_PHOTO_VIDEO_LOCATION@GOTPAGEOFF]
Lloh47:
	ldr	w14, [x14]
	cmp	w11, w12
	ccmp	w11, w13, #4, ne
	ccmp	w11, w14, #4, ne
	b.ne	LBB0_38
; %bb.34:                               ;   in Loop: Header=BB0_31 Depth=2
	madd	x11, x9, x19, x8
	str	wzr, [x11, #4]
	sub	x10, x25, x10
	cmp	x10, #20
	b.lt	LBB0_5
; %bb.35:                               ;   in Loop: Header=BB0_31 Depth=2
	ldr	w10, [x21, #4]
	madd	x11, x9, x19, x8
	str	w10, [x11, #68]
	ldr	w10, [x21, #8]
	str	w10, [x11, #64]
	ldr	w10, [x21, #12]
	str	w10, [x11, #60]
	ldr	w10, [x21, #16]
	str	w10, [x11, #56]
	ldrb	w2, [x21, #20]
	cmp	w2, #126
	b.hi	LBB0_5
; %bb.36:                               ;   in Loop: Header=BB0_31 Depth=2
	add	x10, x21, #24
	sub	x12, x25, x10
	lsr	x11, x2, #2
	cmp	x11, x12, asr #2
	b.gt	LBB0_5
; %bb.37:                               ;   in Loop: Header=BB0_31 Depth=2
	add	x1, x21, #21
	add	x21, x10, x11, lsl #2
	madd	x8, x9, x19, x8
	str	w2, [x8, #40]
	ldr	x0, [x8, #48]
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcpy
	b	LBB0_30
LBB0_38:                                ;   in Loop: Header=BB0_31 Depth=2
Lloh48:
	adrp	x12, _TL_PHOTO_PHOTO_LOCATION_STORAGE@GOTPAGE
Lloh49:
	ldr	x12, [x12, _TL_PHOTO_PHOTO_LOCATION_STORAGE@GOTPAGEOFF]
Lloh50:
	ldr	w12, [x12]
Lloh51:
	adrp	x13, _TL_PHOTO_AUDIO_LOCATION_STORAGE@GOTPAGE
Lloh52:
	ldr	x13, [x13, _TL_PHOTO_AUDIO_LOCATION_STORAGE@GOTPAGEOFF]
Lloh53:
	ldr	w13, [x13]
Lloh54:
	adrp	x14, _TL_PHOTO_VIDEO_LOCATION_STORAGE@GOTPAGE
Lloh55:
	ldr	x14, [x14, _TL_PHOTO_VIDEO_LOCATION_STORAGE@GOTPAGEOFF]
Lloh56:
	ldr	w14, [x14]
	cmp	w11, w12
	ccmp	w11, w13, #4, ne
	ccmp	w11, w14, #4, ne
	b.ne	LBB0_5
; %bb.39:                               ;   in Loop: Header=BB0_31 Depth=2
	madd	x11, x9, x19, x8
	mov	w12, #1
	str	w12, [x11, #4]
	sub	x10, x25, x10
	cmp	x10, #28
	b.lt	LBB0_5
; %bb.40:                               ;   in Loop: Header=BB0_31 Depth=2
	ldr	w10, [x21, #4]
	madd	x11, x9, x19, x8
	str	w10, [x11, #32]
	ldr	w10, [x21, #8]
	and	w11, w10, #0xffff00ff
	cmp	w11, #1
	b.ne	LBB0_52
; %bb.41:                               ;   in Loop: Header=BB0_31 Depth=2
	mov	x28, x22
	lsr	w10, w10, #8
	madd	x8, x9, x19, x8
	str	w10, [x8, #8]
	ldr	w9, [x21, #12]
	str	w9, [x8, #28]
	ldr	w9, [x21, #16]
	str	w9, [x8, #24]
	ldr	w9, [x21, #20]
	str	w9, [x8, #20]
	ldr	w9, [x21, #24]
	str	w9, [x8, #16]
	ldrb	w22, [x21, #28]
	cmp	w22, #11
	b.hi	LBB0_53
; %bb.42:                               ;   in Loop: Header=BB0_31 Depth=2
	mov	x23, x20
	add	x20, x21, #32
	mov	x19, x25
	sub	x8, x25, x20
	lsr	x25, x22, #2
	cmp	x25, x8, asr #2
	b.gt	LBB0_5
; %bb.43:                               ;   in Loop: Header=BB0_31 Depth=2
	add	x1, x21, #29
	add	x0, sp, #44
	mov	x2, x22
	bl	_memcpy
	add	x8, sp, #44
	strb	wzr, [x8, w22, uxtw]
	ldr	x8, [x24]
	mov	x22, x28
	ldr	x9, [x28]
	mov	w10, #72
	madd	x8, x9, x10, x8
	add	x1, x8, #12
	add	x0, sp, #44
	bl	_base64url_to_secret
	cbz	w0, LBB0_29
	b	LBB0_54
LBB0_44:                                ;   in Loop: Header=BB0_17 Depth=1
	sub	x11, x25, x21
	cmp	x11, #8
	b.lt	LBB0_5
; %bb.45:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x11, [x21], #8
	madd	x8, x0, x3, x8
	str	x11, [x8, #16]
	b	LBB0_15
LBB0_46:                                ;   in Loop: Header=BB0_17 Depth=1
	sub	x11, x25, x21
	cmp	x11, #4
	b.lt	LBB0_5
; %bb.47:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w11, [x21], #4
	madd	x8, x0, x3, x8
	str	w11, [x8, #8]
	b	LBB0_15
LBB0_48:                                ;   in Loop: Header=BB0_17 Depth=1
	sub	x11, x25, x21
	cmp	x11, #8
	b.lt	LBB0_5
; %bb.49:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	d0, [x21], #8
	madd	x8, x0, x3, x8
	str	d0, [x8, #24]
	b	LBB0_15
LBB0_50:                                ;   in Loop: Header=BB0_17 Depth=1
Lloh57:
	adrp	x16, _field_changes_n@GOTPAGE
Lloh58:
	ldr	x16, [x16, _field_changes_n@GOTPAGEOFF]
	ldr	x0, [x16]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x10, [x8]
	b	LBB0_28
LBB0_51:
Lloh59:
	adrp	x8, _TL_ERROR_BAD_VALUE@GOTPAGE
Lloh60:
	ldr	x8, [x8, _TL_ERROR_BAD_VALUE@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
Lloh62:
	adrp	x1, l_.str.1@PAGE
Lloh63:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_52:
Lloh64:
	adrp	x8, _TL_ERROR_BAD_VALUE@GOTPAGE
Lloh65:
	ldr	x8, [x8, _TL_ERROR_BAD_VALUE@GOTPAGEOFF]
Lloh66:
	ldr	w0, [x8]
Lloh67:
	adrp	x1, l_.str.2@PAGE
Lloh68:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_53:
Lloh69:
	adrp	x1, l_.str.3@PAGE
Lloh70:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_55
LBB0_54:
Lloh71:
	adrp	x1, l_.str.4@PAGE
Lloh72:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_55:
Lloh73:
	adrp	x8, _TL_ERROR_BAD_VALUE@GOTPAGE
Lloh74:
	ldr	x8, [x8, _TL_ERROR_BAD_VALUE@GOTPAGEOFF]
Lloh75:
	ldr	w0, [x8]
	b	LBB0_4
LBB0_56:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_20-LBB0_20)>>2
	.byte	(LBB0_25-LBB0_20)>>2
	.byte	(LBB0_44-LBB0_20)>>2
	.byte	(LBB0_46-LBB0_20)>>2
	.byte	(LBB0_48-LBB0_20)>>2
                                        ; -- End function
	.comm	_types,8,3                      ; @types
	.comm	_TL_ERROR_BAD_VALUE,4,2         ; @TL_ERROR_BAD_VALUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Wrong mask = %llx specified"

	.comm	_field_changes_n,8,3            ; @field_changes_n
	.comm	_location_changes_n,8,3         ; @location_changes_n
	.comm	_field_changes,8,3              ; @field_changes
	.comm	_MAX_LOCATIONS,8,3              ; @MAX_LOCATIONS
l_.str.1:                               ; @.str.1
	.asciz	"Too much locations specified"

	.comm	_location_changes,8,3           ; @location_changes
	.comm	_TL_PHOTO_PHOTO_LOCATION,4,2    ; @TL_PHOTO_PHOTO_LOCATION
	.comm	_TL_PHOTO_AUDIO_LOCATION,4,2    ; @TL_PHOTO_AUDIO_LOCATION
	.comm	_TL_PHOTO_VIDEO_LOCATION,4,2    ; @TL_PHOTO_VIDEO_LOCATION
	.comm	_TL_PHOTO_PHOTO_LOCATION_STORAGE,4,2 ; @TL_PHOTO_PHOTO_LOCATION_STORAGE
	.comm	_TL_PHOTO_AUDIO_LOCATION_STORAGE,4,2 ; @TL_PHOTO_AUDIO_LOCATION_STORAGE
	.comm	_TL_PHOTO_VIDEO_LOCATION_STORAGE,4,2 ; @TL_PHOTO_VIDEO_LOCATION_STORAGE
l_.str.2:                               ; @.str.2
	.asciz	"Wrong size specified. Size must contain exactly one symbol 'a' - 'z'"

l_.str.3:                               ; @.str.3
	.asciz	"Url_secret is too long"

l_.str.4:                               ; @.str.4
	.asciz	"Can't decode url_secret"

l_.str.5:                               ; @.str.5
	.asciz	"Not all data fetched"

.subsections_via_symbols
