	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function redis_read_variant_line
_redis_read_variant_line:               ## @redis_read_variant_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	%r12
	pushq	%rbx
	movl	$4128, %eax                     ## imm = 0x1020
	callq	____chkstk_darwin
	subq	%rax, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-4144(%rbp), %rsi
	leaq	-4152(%rbp), %rcx
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_redis_sock_gets
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	_TYPE_ERR@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	-4152(%rbp), %rdx
	leaq	-4144(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_redis_sock_set_err
	movq	%rbx, %rdi
	callq	_redis_error_throw
	movq	%r14, %rdi
	callq	_ZVAL_FALSE
	jmp	LBB0_7
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_8
LBB0_4:
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.5:
	movq	-4152(%rbp), %rdx
	leaq	-4144(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ZVAL_STRINGL
	jmp	LBB0_7
LBB0_6:
	movq	%r14, %rdi
	callq	_ZVAL_TRUE
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	addq	$4128, %rsp                     ## imm = 0x1020
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_ERR,8,3                   ## @TYPE_ERR
	.no_dead_strip	_redis_read_variant_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function redis_read_variant_line
_redis_read_variant_line:               ; @redis_read_variant_line
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -56
	.cfi_offset w28, -64
	mov	w9, #4112
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #16
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	add	x1, sp, #8
	mov	x3, sp
	mov	w2, #4096
	bl	_redis_sock_gets
	tbnz	x0, #63, LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _TYPE_ERR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TYPE_ERR@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_4
; %bb.2:
	ldr	x2, [sp]
	add	x1, sp, #8
	mov	x0, x20
	bl	_redis_sock_set_err
	mov	x0, x20
	bl	_redis_error_throw
	mov	x0, x19
	bl	_ZVAL_FALSE
	b	LBB0_7
LBB0_3:
	mov	w0, #-1
	b	LBB0_8
LBB0_4:
	cbz	w21, LBB0_6
; %bb.5:
	ldr	x2, [sp]
	add	x1, sp, #8
	mov	x0, x19
	bl	_ZVAL_STRINGL
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_ZVAL_TRUE
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldur	x8, [x29, #-56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #16
	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
	ldp	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_ERR,8,3                   ; @TYPE_ERR
	.no_dead_strip	_redis_read_variant_line
.subsections_via_symbols
