	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_mbulk_header
_read_mbulk_header:                     ## @read_mbulk_header
	.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	%rbx
	pushq	%rax
	movl	$4120, %eax                     ## imm = 0x1018
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	-4128(%rbp), %rsi
	leaq	-4136(%rbp), %rcx
	movl	$4095, %edx                     ## imm = 0xFFF
	callq	_redis_sock_gets
	movl	$-1, %r14d
	testq	%rax, %rax
	js	LBB0_6
## %bb.1:
	cmpb	$42, -4128(%rbp)
	jne	LBB0_2
## %bb.5:
	leaq	-4127(%rbp), %rdi
	callq	_atoi
	movl	%eax, (%r15)
	xorl	%r14d, %r14d
	jmp	LBB0_6
LBB0_2:
	movq	%rbx, %rdi
	callq	_IS_ATOMIC
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	cmpb	$45, -4128(%rbp)
	jne	LBB0_6
## %bb.4:
	leaq	-4127(%rbp), %rsi
	movq	-4136(%rbp), %rdx
	decq	%rdx
	movq	%rbx, %rdi
	callq	_redis_sock_set_err
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r14d, %eax
	addq	$4120, %rsp                     ## imm = 0x1018
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_read_mbulk_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_mbulk_header
_read_mbulk_header:                     ; @read_mbulk_header
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -40
	.cfi_offset w28, -48
	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	x20, x1
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x1, sp, #8
	mov	x3, sp
	mov	w2, #4095
	bl	_redis_sock_gets
	tbnz	x0, #63, LBB0_6
; %bb.1:
	ldrb	w8, [sp, #8]
	cmp	w8, #42
	b.ne	LBB0_3
; %bb.2:
	add	x8, sp, #8
	add	x0, x8, #1
	bl	_atoi
	mov	x8, x0
	mov	w0, #0
	str	w8, [x20]
	b	LBB0_7
LBB0_3:
	mov	x0, x19
	bl	_IS_ATOMIC
	mov	x8, x0
	mov	w0, #-1
	cbz	x8, LBB0_7
; %bb.4:
	ldrb	w8, [sp, #8]
	cmp	w8, #45
	b.ne	LBB0_7
; %bb.5:
	add	x8, sp, #8
	add	x1, x8, #1
	ldr	x8, [sp]
	sub	x2, x8, #1
	mov	x0, x19
	bl	_redis_sock_set_err
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldur	x8, [x29, #-40]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #16
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_read_mbulk_header
.subsections_via_symbols
