	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function redis_send_discard
_redis_send_discard:                    ## @redis_send_discard
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_FAILURE@GOTPCREL(%rip), %r12
	movl	(%r12), %r15d
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	leaq	-48(%rbp), %rdi
	callq	_REDIS_SPPRINTF
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_redis_sock_write
	testq	%rax, %rax
	js	LBB0_6
## %bb.1:
	leaq	-36(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_redis_sock_read
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %r14
	cmpl	$3, -36(%rbp)
	jne	LBB0_5
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$3, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	_SUCCESS@GOTPCREL(%rip), %r12
LBB0_5:
	movl	(%r12), %r15d
	movq	%r14, %rdi
	callq	_efree
LBB0_6:
	movq	-48(%rbp), %rdi
	callq	_efree
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FAILURE,4,2                    ## @FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DISCARD"

L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	"+OK"

	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_redis_send_discard
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function redis_send_discard
_redis_send_discard:                    ; @redis_send_discard
	.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, x0
Lloh0:
	adrp	x8, _FAILURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_REDIS_SPPRINTF
	mov	x2, x0
	ldr	x1, [sp, #8]
	mov	x0, x20
	bl	_redis_sock_write
	tbnz	x0, #63, LBB0_7
; %bb.1:
	add	x1, sp, #4
	mov	x0, x20
	bl	_redis_sock_read
	cbz	x0, LBB0_7
; %bb.2:
	mov	x20, x0
	ldr	w8, [sp, #4]
	cmp	w8, #3
	b.ne	LBB0_4
; %bb.3:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w2, #3
	bl	_strncmp
	cbz	x0, LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _FAILURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
LBB0_6:
	ldr	w19, [x8]
	mov	x0, x20
	bl	_efree
LBB0_7:
	ldr	x0, [sp, #8]
	bl	_efree
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_FAILURE,4,2                    ; @FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DISCARD"

l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	"+OK"

	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_redis_send_discard
.subsections_via_symbols
