	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redis_sock_read_single_line    ## -- Begin function redis_sock_read_single_line
	.p2align	4, 0x90
_redis_sock_read_single_line:           ## @redis_sock_read_single_line
	.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
	movl	%r8d, %r13d
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	leaq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	callq	_redis_read_reply_type
	movl	$-1, %ebx
	testq	%rax, %rax
	js	LBB0_9
## %bb.1:
	movq	-48(%rbp), %rax
	movq	_TYPE_LINE@GOTPCREL(%rip), %rcx
	movq	_TYPE_ERR@GOTPCREL(%rip), %rdx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	cmpq	(%rdx), %rax
	jne	LBB0_9
LBB0_3:
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_redis_sock_gets
	testq	%rax, %rax
	js	LBB0_9
## %bb.4:
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.5:
	movq	-48(%rbp), %rax
	movq	_TYPE_ERR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	movq	%r12, %rdi
	callq	_IS_ATOMIC
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	(%r15), %rdx
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_redis_sock_set_err
LBB0_8:
	movq	-48(%rbp), %rax
	xorl	%ebx, %ebx
	movq	_TYPE_LINE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setne	%bl
	negl	%ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_LINE,8,3                  ## @TYPE_LINE
	.comm	_TYPE_ERR,8,3                   ## @TYPE_ERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redis_sock_read_single_line    ; -- Begin function redis_sock_read_single_line
	.p2align	2
_redis_sock_read_single_line:           ; @redis_sock_read_single_line
	.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, x4
	mov	x20, x3
	mov	x23, x2
	mov	x19, x1
	mov	x21, x0
	add	x1, sp, #8
	mov	x2, sp
	bl	_redis_read_reply_type
	tbnz	x0, #63, LBB0_8
; %bb.1:
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x24, _TYPE_LINE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TYPE_LINE@GOTPAGEOFF]
	ldr	x9, [x24]
Lloh2:
	adrp	x25, _TYPE_ERR@GOTPAGE
Lloh3:
	ldr	x25, [x25, _TYPE_ERR@GOTPAGEOFF]
	ldr	x10, [x25]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_8
; %bb.2:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x23
	mov	x3, x20
	bl	_redis_sock_gets
	tbnz	x0, #63, LBB0_8
; %bb.3:
	cbz	w22, LBB0_7
; %bb.4:
	ldr	x8, [sp, #8]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x21
	bl	_IS_ATOMIC
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x2, [x20]
	mov	x0, x21
	mov	x1, x19
	bl	_redis_sock_set_err
LBB0_7:
	ldr	x8, [sp, #8]
	ldr	x9, [x24]
	cmp	x8, x9
	csetm	w0, ne
	b	LBB0_9
LBB0_8:
	mov	w0, #-1
LBB0_9:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_LINE,8,3                  ; @TYPE_LINE
	.comm	_TYPE_ERR,8,3                   ; @TYPE_ERR
.subsections_via_symbols
