	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%rsi, %r12
	movl	%edi, %r13d
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_uv_default_loop
	movq	%rax, %r14
	leaq	L_.str(%rip), %rdi
	movl	$6379, %esi                     ## imm = 0x18EB
	callq	_redisAsyncConnect
	movq	%rax, %rbx
	cmpq	$0, 8(%rax)
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_printf
	movl	$1, %r15d
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_redisLibuvAttach
	movq	_connectCallback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_redisAsyncSetConnectCallback
	movq	_disconnectCallback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_redisAsyncSetDisconnectCallback
	movslq	%r13d, %rax
	movq	-8(%r12,%rax,8), %r12
	movq	%r12, %rdi
	callq	_strlen
	leaq	L_.str.2(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%r12, %r8
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_redisAsyncCommand
	movq	_getCallback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	leaq	L_.str.4(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_redisAsyncCommand
	movq	_UV_RUN_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_uv_run
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"127.0.0.1"

L_.str.1:                               ## @.str.1
	.asciz	"Error: %s\n"

	.comm	_connectCallback,4,2            ## @connectCallback
	.comm	_disconnectCallback,4,2         ## @disconnectCallback
L_.str.2:                               ## @.str.2
	.asciz	"SET key %b"

	.comm	_getCallback,4,2                ## @getCallback
L_.str.3:                               ## @.str.3
	.asciz	"end-1"

L_.str.4:                               ## @.str.4
	.asciz	"GET key"

	.comm	_UV_RUN_DEFAULT,4,2             ## @UV_RUN_DEFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_signal
	bl	_uv_default_loop
	mov	x19, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #6379
	bl	_redisAsyncConnect
	mov	x20, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x1, [x20]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_redisLibuvAttach
Lloh10:
	adrp	x8, _connectCallback@GOTPAGE
Lloh11:
	ldr	x8, [x8, _connectCallback@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_redisAsyncSetConnectCallback
Lloh13:
	adrp	x8, _disconnectCallback@GOTPAGE
Lloh14:
	ldr	x8, [x8, _disconnectCallback@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_redisAsyncSetDisconnectCallback
	sub	w8, w22, #1
	ldr	x21, [x21, w8, sxtw #3]
	mov	x0, x21
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh16:
	adrp	x3, l_.str.2@PAGE
Lloh17:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	mov	x2, #0
	bl	_redisAsyncCommand
Lloh18:
	adrp	x8, _getCallback@GOTPAGE
Lloh19:
	ldr	x8, [x8, _getCallback@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x2, l_.str.3@PAGE
Lloh22:
	add	x2, x2, l_.str.3@PAGEOFF
Lloh23:
	adrp	x3, l_.str.4@PAGE
Lloh24:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_redisAsyncCommand
Lloh25:
	adrp	x8, _UV_RUN_DEFAULT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _UV_RUN_DEFAULT@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_uv_run
	mov	w0, #0
LBB0_3:
	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	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"127.0.0.1"

l_.str.1:                               ; @.str.1
	.asciz	"Error: %s\n"

	.comm	_connectCallback,4,2            ; @connectCallback
	.comm	_disconnectCallback,4,2         ; @disconnectCallback
l_.str.2:                               ; @.str.2
	.asciz	"SET key %b"

	.comm	_getCallback,4,2                ; @getCallback
l_.str.3:                               ; @.str.3
	.asciz	"end-1"

l_.str.4:                               ; @.str.4
	.asciz	"GET key"

	.comm	_UV_RUN_DEFAULT,4,2             ; @UV_RUN_DEFAULT
.subsections_via_symbols
