	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_append_georadius_opts          ## -- Begin function append_georadius_opts
	.p2align	4, 0x90
_append_georadius_opts:                 ## @append_georadius_opts
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	cmpq	$0, 48(%rcx)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_REDIS_CMD_APPEND_SSTR_STATIC
LBB0_2:
	cmpq	$0, 40(%rbx)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_REDIS_CMD_APPEND_SSTR_STATIC
LBB0_4:
	cmpq	$0, 32(%rbx)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_REDIS_CMD_APPEND_SSTR_STATIC
LBB0_6:
	movq	(%rbx), %rax
	movq	_SORT_ASC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_10
LBB0_8:
	movq	_SORT_DESC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
LBB0_10:
	movq	%r15, %rdi
	callq	_REDIS_CMD_APPEND_SSTR_STATIC
LBB0_11:
	cmpq	$0, 24(%rbx)
	je	LBB0_13
## %bb.12:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_REDIS_CMD_APPEND_SSTR_STATIC
	movq	24(%rbx), %rsi
	movq	%r15, %rdi
	callq	_redis_cmd_append_sstr_long
LBB0_13:
	movq	8(%rbx), %rax
	movq	_STORE_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.14:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.15:
	callq	_ZSTR_VAL
	movq	%rax, -40(%rbp)
	movq	16(%rbx), %rdi
	callq	_ZSTR_LEN
	movq	%rax, -48(%rbp)
	leaq	-40(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	callq	_redis_key_prefix
	movl	%eax, %r12d
	movq	8(%rbx), %rax
	movq	_STORE_COORD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	L_.str.6(%rip), %rax
	leaq	L_.str.7(%rip), %rsi
	cmoveq	%rax, %rsi
	movq	%r15, %rdi
	callq	_REDIS_CMD_APPEND_SSTR_STATIC
	movq	-40(%rbp), %rsi
	movq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	_redis_cmd_append_sstr
	movq	-40(%rbp), %rsi
	movq	-48(%rbp), %rdx
	movq	%r14, %rdi
	callq	_CMD_SET_SLOT
	testl	%r12d, %r12d
	je	LBB0_17
## %bb.16:
	movq	-40(%rbp), %rdi
	callq	_free
LBB0_17:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WITHCOORD"

L_.str.1:                               ## @.str.1
	.asciz	"WITHDIST"

L_.str.2:                               ## @.str.2
	.asciz	"WITHHASH"

	.comm	_SORT_ASC,8,3                   ## @SORT_ASC
L_.str.3:                               ## @.str.3
	.asciz	"ASC"

	.comm	_SORT_DESC,8,3                  ## @SORT_DESC
L_.str.4:                               ## @.str.4
	.asciz	"DESC"

L_.str.5:                               ## @.str.5
	.asciz	"COUNT"

	.comm	_STORE_NONE,8,3                 ## @STORE_NONE
	.comm	_STORE_COORD,8,3                ## @STORE_COORD
L_.str.6:                               ## @.str.6
	.asciz	"STORE"

L_.str.7:                               ## @.str.7
	.asciz	"STOREDIST"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_append_georadius_opts          ; -- Begin function append_georadius_opts
	.p2align	2
_append_georadius_opts:                 ; @append_georadius_opts
	.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	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x8, [x3, #48]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_REDIS_CMD_APPEND_SSTR_STATIC
LBB0_2:
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_REDIS_CMD_APPEND_SSTR_STATIC
LBB0_4:
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_6
; %bb.5:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_REDIS_CMD_APPEND_SSTR_STATIC
LBB0_6:
	ldr	x8, [x21]
Lloh6:
	adrp	x9, _SORT_ASC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SORT_ASC@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_8:
Lloh11:
	adrp	x9, _SORT_DESC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SORT_DESC@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.9:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_10:
	mov	x0, x20
	bl	_REDIS_CMD_APPEND_SSTR_STATIC
LBB0_11:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_13
; %bb.12:
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_REDIS_CMD_APPEND_SSTR_STATIC
	ldr	x1, [x21, #24]
	mov	x0, x20
	bl	_redis_cmd_append_sstr_long
LBB0_13:
	ldr	x8, [x21, #8]
Lloh18:
	adrp	x9, _STORE_NONE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _STORE_NONE@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_17
; %bb.14:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_17
; %bb.15:
	bl	_ZSTR_VAL
	str	x0, [sp, #8]
	ldr	x0, [x21, #16]
	bl	_ZSTR_LEN
	str	x0, [sp]
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x22
	bl	_redis_key_prefix
	mov	x22, x0
	ldr	x8, [x21, #8]
Lloh21:
	adrp	x9, _STORE_COORD@GOTPAGE
Lloh22:
	ldr	x9, [x9, _STORE_COORD@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
Lloh24:
	adrp	x10, l_.str.7@PAGE
Lloh25:
	add	x10, x10, l_.str.7@PAGEOFF
Lloh26:
	adrp	x11, l_.str.6@PAGE
Lloh27:
	add	x11, x11, l_.str.6@PAGEOFF
	cmp	x8, x9
	csel	x1, x11, x10, eq
	mov	x0, x20
	bl	_REDIS_CMD_APPEND_SSTR_STATIC
	ldp	x2, x1, [sp]
	mov	x0, x20
	bl	_redis_cmd_append_sstr
	ldp	x2, x1, [sp]
	mov	x0, x19
	bl	_CMD_SET_SLOT
	cbz	w22, LBB0_17
; %bb.16:
	ldr	x0, [sp, #8]
	bl	_free
LBB0_17:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WITHCOORD"

l_.str.1:                               ; @.str.1
	.asciz	"WITHDIST"

l_.str.2:                               ; @.str.2
	.asciz	"WITHHASH"

	.comm	_SORT_ASC,8,3                   ; @SORT_ASC
l_.str.3:                               ; @.str.3
	.asciz	"ASC"

	.comm	_SORT_DESC,8,3                  ; @SORT_DESC
l_.str.4:                               ; @.str.4
	.asciz	"DESC"

l_.str.5:                               ; @.str.5
	.asciz	"COUNT"

	.comm	_STORE_NONE,8,3                 ; @STORE_NONE
	.comm	_STORE_COORD,8,3                ; @STORE_COORD
l_.str.6:                               ; @.str.6
	.asciz	"STORE"

l_.str.7:                               ; @.str.7
	.asciz	"STOREDIST"

.subsections_via_symbols
