	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r13d
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	xorl	%eax, %eax
	callq	_event_base_new
	cmpl	$4, %r13d
	jle	LBB0_9
## %bb.1:
	movq	%rax, %r14
	movq	8(%rbx), %r12
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %r15
	movq	24(%rbx), %rdi
	callq	_atoi
	cmpl	$5, %r13d
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_3
## %bb.2:
	xorl	%r13d, %r13d
	jmp	LBB0_4
LBB0_3:
	movq	48(%rbx), %r13
LBB0_4:
	movq	32(%rbx), %r14
	movq	40(%rbx), %r12
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_redisAsyncConnect
	movq	%rax, %rbx
	cmpq	$0, 16(%rax)
	je	LBB0_6
## %bb.5:
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	$1, %r13d
	jmp	LBB0_8
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rdi
	leaq	L_.str.2(%rip), %r8
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_redisSecureConnection
	movq	_REDIS_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.7:
	movq	%rbx, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_redisLibeventAttach
	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
	leaq	L_.str.4(%rip), %rcx
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	xorl	%eax, %eax
	callq	_redisAsyncCommand
	movq	_getCallback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	leaq	L_.str.6(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_redisAsyncCommand
	movq	%r14, %rdi
	callq	_event_base_dispatch
LBB0_8:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_10:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Usage: %s <key> <host> <port> <cert> <certKey> [ca]\n"

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

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

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

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

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

L_str:                                  ## @str
	.asciz	"SSL Error!"

.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, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x22, x1
	mov	x23, 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	_event_base_new
	cmp	w23, #4
	b.le	LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	x20, [x22, #8]
	mov	x0, x20
	bl	_strlen
	mov	x21, x0
	ldp	x24, x0, [x22, #16]
	bl	_atoi
	mov	x1, x0
	cmp	w23, #5
	b.ne	LBB0_3
; %bb.2:
	mov	x23, #0
	b	LBB0_4
LBB0_3:
	ldr	x23, [x22, #48]
LBB0_4:
	ldp	x25, x26, [x22, #32]
	mov	x0, x24
	bl	_redisAsyncConnect
	mov	x22, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	x8, [x22]
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	mov	w0, #1
	b	LBB0_8
LBB0_6:
	add	x0, x22, #8
Lloh8:
	adrp	x4, l_.str.2@PAGE
Lloh9:
	add	x4, x4, l_.str.2@PAGEOFF
	mov	x1, x23
	mov	x2, x25
	mov	x3, x26
	bl	_redisSecureConnection
Lloh10:
	adrp	x8, _REDIS_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _REDIS_OK@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.7:
	mov	x0, x22
	mov	x1, x19
	bl	_redisLibeventAttach
Lloh13:
	adrp	x8, _connectCallback@GOTPAGE
Lloh14:
	ldr	x8, [x8, _connectCallback@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_redisAsyncSetConnectCallback
Lloh16:
	adrp	x8, _disconnectCallback@GOTPAGE
Lloh17:
	ldr	x8, [x8, _disconnectCallback@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_redisAsyncSetDisconnectCallback
	stp	x20, x21, [sp]
Lloh19:
	adrp	x3, l_.str.4@PAGE
Lloh20:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x22
	mov	w1, #0
	mov	x2, #0
	bl	_redisAsyncCommand
Lloh21:
	adrp	x8, _getCallback@GOTPAGE
Lloh22:
	ldr	x8, [x8, _getCallback@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x2, l_.str.5@PAGE
Lloh25:
	add	x2, x2, l_.str.5@PAGEOFF
Lloh26:
	adrp	x3, l_.str.6@PAGE
Lloh27:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_redisAsyncCommand
	mov	x0, x19
	bl	_event_base_dispatch
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_9:
Lloh28:
	adrp	x8, _stderr@GOTPAGE
Lloh29:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	ldr	x2, [x22]
Lloh31:
	adrp	x1, l_.str@PAGE
Lloh32:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_10:
Lloh33:
	adrp	x0, l_str@PAGE
Lloh34:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Usage: %s <key> <host> <port> <cert> <certKey> [ca]\n"

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

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

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

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

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

l_str:                                  ; @str
	.asciz	"SSL Error!"

.subsections_via_symbols
