	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redisKeepAlive                 ## -- Begin function redisKeepAlive
	.p2align	4, 0x90
_redisKeepAlive:                        ## @redisKeepAlive
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	$1, -28(%rbp)
	movl	(%rdi), %ebx
	movq	_SOL_SOCKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SO_KEEPALIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-28(%rbp), %rcx
	movl	%ebx, %edi
	movl	$4, %r8d
	callq	_setsockopt
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.1:
	movl	%r15d, -28(%rbp)
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TCP_KEEPALIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-28(%rbp), %rcx
	movl	%ebx, %edi
	movl	$4, %r8d
	callq	_setsockopt
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	movq	_REDIS_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_REDIS_ERR_OTHER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	___redisSetError
	movq	_REDIS_ERR@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOL_SOCKET,4,2                 ## @SOL_SOCKET
	.comm	_SO_KEEPALIVE,4,2               ## @SO_KEEPALIVE
	.comm	_REDIS_ERR_OTHER,4,2            ## @REDIS_ERR_OTHER
	.comm	_errno,4,2                      ## @errno
	.comm	_REDIS_ERR,4,2                  ## @REDIS_ERR
	.comm	_IPPROTO_TCP,4,2                ## @IPPROTO_TCP
	.comm	_TCP_KEEPALIVE,4,2              ## @TCP_KEEPALIVE
	.comm	_REDIS_OK,4,2                   ## @REDIS_OK
	.comm	_TCP_KEEPCNT,4,2                ## @TCP_KEEPCNT
	.comm	_TCP_KEEPIDLE,4,2               ## @TCP_KEEPIDLE
	.comm	_TCP_KEEPINTVL,4,2              ## @TCP_KEEPINTVL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redisKeepAlive                 ; -- Begin function redisKeepAlive
	.p2align	2
_redisKeepAlive:                        ; @redisKeepAlive
	.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	x19, x0
	mov	w8, #1
	str	w8, [sp, #12]
	ldr	w20, [x0]
Lloh0:
	adrp	x8, _SOL_SOCKET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOL_SOCKET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _SO_KEEPALIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SO_KEEPALIVE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x20
	mov	w4, #4
	bl	_setsockopt
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
	str	w21, [sp, #12]
Lloh6:
	adrp	x8, _IPPROTO_TCP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IPPROTO_TCP@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _TCP_KEEPALIVE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TCP_KEEPALIVE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x20
	mov	w4, #4
	bl	_setsockopt
	tbnz	w0, #31, LBB0_3
; %bb.2:
Lloh12:
	adrp	x8, _REDIS_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REDIS_OK@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh14:
	adrp	x8, _REDIS_ERR_OTHER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REDIS_ERR_OTHER@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
Lloh17:
	adrp	x8, _errno@GOTPAGE
Lloh18:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	___redisSetError
Lloh20:
	adrp	x8, _REDIS_ERR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _REDIS_ERR@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SOL_SOCKET,4,2                 ; @SOL_SOCKET
	.comm	_SO_KEEPALIVE,4,2               ; @SO_KEEPALIVE
	.comm	_REDIS_ERR_OTHER,4,2            ; @REDIS_ERR_OTHER
	.comm	_errno,4,2                      ; @errno
	.comm	_REDIS_ERR,4,2                  ; @REDIS_ERR
	.comm	_IPPROTO_TCP,4,2                ; @IPPROTO_TCP
	.comm	_TCP_KEEPALIVE,4,2              ; @TCP_KEEPALIVE
	.comm	_REDIS_OK,4,2                   ; @REDIS_OK
	.comm	_TCP_KEEPCNT,4,2                ; @TCP_KEEPCNT
	.comm	_TCP_KEEPIDLE,4,2               ; @TCP_KEEPIDLE
	.comm	_TCP_KEEPINTVL,4,2              ; @TCP_KEEPINTVL
.subsections_via_symbols
