	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_geolocation                ## -- Begin function set_geolocation
	.p2align	4, 0x90
_set_geolocation:                       ## @set_geolocation
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	$0, -44(%rbp)
	xorl	%eax, %eax
	callq	_is_geoip_resource
	movl	$1, %ebx
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	callq	_invalid_ipaddr
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movl	-44(%rbp), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_geoip_get_country
	movl	-44(%rbp), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_geoip_get_continent
	movq	_conf@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movl	-44(%rbp), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_geoip_get_city
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_conf,8,3                       ## @conf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_geolocation                ; -- Begin function set_geolocation
	.p2align	2
_set_geolocation:                       ; @set_geolocation
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	str	wzr, [sp, #12]
	bl	_is_geoip_resource
	cbz	w0, LBB0_2
; %bb.1:
	add	x1, sp, #12
	mov	x0, x20
	bl	_invalid_ipaddr
	cbz	x0, LBB0_3
LBB0_2:
	mov	w0, #1
	b	LBB0_6
LBB0_3:
	ldr	w2, [sp, #12]
	mov	x0, x20
	mov	x1, x22
	bl	_geoip_get_country
	ldr	w2, [sp, #12]
	mov	x0, x20
	mov	x1, x21
	bl	_geoip_get_continent
Lloh0:
	adrp	x8, _conf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _conf@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w2, [sp, #12]
	mov	x0, x20
	mov	x1, x19
	bl	_geoip_get_city
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_conf,8,3                       ; @conf
.subsections_via_symbols
