	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function redisSetBlocking
_redisSetBlocking:                      ## @redisSetBlocking
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_F_GETFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%eax, %eax
	callq	_fcntl
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movq	_O_NONBLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, %ecx
	notl	%ecx
	andl	%eax, %ecx
	orl	%eax, %edx
	testl	%r14d, %r14d
	cmovnel	%ecx, %edx
	movl	(%rbx), %edi
	movq	_F_SETFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%eax, %eax
	callq	_fcntl
	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	%rbx, %rdi
	callq	_redisNetClose
	movq	_REDIS_ERR@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F_GETFL,4,2                    ## @F_GETFL
	.comm	_REDIS_ERR_IO,4,2               ## @REDIS_ERR_IO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fcntl(F_GETFL)"

	.comm	_REDIS_ERR,4,2                  ## @REDIS_ERR
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
	.comm	_F_SETFL,4,2                    ## @F_SETFL
L_.str.1:                               ## @.str.1
	.asciz	"fcntl(F_SETFL)"

	.comm	_REDIS_OK,4,2                   ## @REDIS_OK
	.comm	_FIONBIO,4,2                    ## @FIONBIO
	.no_dead_strip	_redisSetBlocking
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function redisSetBlocking
_redisSetBlocking:                      ; @redisSetBlocking
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _F_GETFL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F_GETFL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_fcntl
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _O_NONBLOCK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_NONBLOCK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bic	w9, w0, w8
	orr	w8, w8, w0
	cmp	w20, #0
	csel	w8, w8, w9, eq
	ldr	w0, [x19]
Lloh6:
	adrp	x9, _F_SETFL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _F_SETFL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	str	x8, [sp]
	bl	_fcntl
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:
Lloh9:
	adrp	x8, _REDIS_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REDIS_OK@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_5:
Lloh15:
	adrp	x8, _REDIS_ERR_IO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REDIS_ERR_IO@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	___redisSetErrorFromErrno
	mov	x0, x19
	bl	_redisNetClose
Lloh18:
	adrp	x8, _REDIS_ERR@GOTPAGE
Lloh19:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_F_GETFL,4,2                    ; @F_GETFL
	.comm	_REDIS_ERR_IO,4,2               ; @REDIS_ERR_IO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fcntl(F_GETFL)"

	.comm	_REDIS_ERR,4,2                  ; @REDIS_ERR
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
	.comm	_F_SETFL,4,2                    ; @F_SETFL
l_.str.1:                               ; @.str.1
	.asciz	"fcntl(F_SETFL)"

	.comm	_REDIS_OK,4,2                   ; @REDIS_OK
	.comm	_FIONBIO,4,2                    ; @FIONBIO
	.no_dead_strip	_redisSetBlocking
.subsections_via_symbols
