	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redisContextSetTimeout         ## -- Begin function redisContextSetTimeout
	.p2align	4, 0x90
_redisContextSetTimeout:                ## @redisContextSetTimeout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	%rsi, -24(%rbp)
	movl	(%rdi), %edi
	movq	_SOL_SOCKET@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_SO_RCVTIMEO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rcx
	movl	$8, %r8d
	callq	_setsockopt
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %edi
	movl	(%r14), %esi
	movq	_SO_SNDTIMEO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rcx
	movl	$8, %r8d
	callq	_setsockopt
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.3:
	movq	_REDIS_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rdx
LBB0_5:
	movq	_REDIS_ERR_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	___redisSetErrorFromErrno
	movq	_REDIS_ERR@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOL_SOCKET,4,2                 ## @SOL_SOCKET
	.comm	_SO_RCVTIMEO,4,2                ## @SO_RCVTIMEO
	.comm	_REDIS_ERR_IO,4,2               ## @REDIS_ERR_IO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setsockopt(SO_RCVTIMEO)"

	.comm	_REDIS_ERR,4,2                  ## @REDIS_ERR
	.comm	_SO_SNDTIMEO,4,2                ## @SO_SNDTIMEO
L_.str.1:                               ## @.str.1
	.asciz	"setsockopt(SO_SNDTIMEO)"

	.comm	_REDIS_OK,4,2                   ## @REDIS_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redisContextSetTimeout         ; -- Begin function redisContextSetTimeout
	.p2align	2
_redisContextSetTimeout:                ; @redisContextSetTimeout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	x1, [sp, #8]
	ldr	w0, [x0]
Lloh0:
	adrp	x20, _SOL_SOCKET@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SOL_SOCKET@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _SO_RCVTIMEO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SO_RCVTIMEO@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	w4, #8
	bl	_setsockopt
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
	ldr	w0, [x19]
	ldr	w1, [x20]
Lloh5:
	adrp	x8, _SO_SNDTIMEO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SO_SNDTIMEO@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	w4, #8
	bl	_setsockopt
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:
Lloh8:
	adrp	x8, _REDIS_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REDIS_OK@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_5:
Lloh14:
	adrp	x8, _REDIS_ERR_IO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REDIS_ERR_IO@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	___redisSetErrorFromErrno
Lloh17:
	adrp	x8, _REDIS_ERR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _REDIS_ERR@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SOL_SOCKET,4,2                 ; @SOL_SOCKET
	.comm	_SO_RCVTIMEO,4,2                ; @SO_RCVTIMEO
	.comm	_REDIS_ERR_IO,4,2               ; @REDIS_ERR_IO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setsockopt(SO_RCVTIMEO)"

	.comm	_REDIS_ERR,4,2                  ; @REDIS_ERR
	.comm	_SO_SNDTIMEO,4,2                ; @SO_SNDTIMEO
l_.str.1:                               ; @.str.1
	.asciz	"setsockopt(SO_SNDTIMEO)"

	.comm	_REDIS_OK,4,2                   ; @REDIS_OK
.subsections_via_symbols
