	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function processBulkItem
_processBulkItem:                       ## @processBulkItem
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	shlq	$2, %r15
	addq	40(%rdi), %r15
	movslq	16(%rdi), %rdi
	movl	20(%rbx), %esi
	subl	%edi, %esi
	addq	8(%rbx), %rdi
	callq	_seekNewline
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r12
	movslq	16(%rbx), %rdi
	addq	8(%rbx), %rdi
	movq	%rax, %r14
	subq	%rdi, %r14
	leaq	-48(%rbp), %rdx
	movq	%r14, %rsi
	callq	_string2ll
	movq	%rax, %rcx
	movq	_REDIS_ERR@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	cmpq	%rax, %rcx
	jne	LBB0_4
## %bb.2:
	movq	_REDIS_ERR_PROTOCOL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_8
LBB0_3:
	movq	_REDIS_ERR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_10
LBB0_4:
	movq	-48(%rbp), %rdx
	cmpq	$-1, %rdx
	jl	LBB0_7
## %bb.5:
	movq	_LLONG_MAX@GOTPCREL(%rip), %rsi
	movq	_SIZE_MAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rsi)
	jle	LBB0_11
## %bb.6:
	cmpq	%rcx, %rdx
	jle	LBB0_11
LBB0_7:
	movq	_REDIS_ERR_PROTOCOL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_8:
	movq	%rbx, %rdi
	callq	___redisReaderSetError
LBB0_9:
	movl	(%r13), %eax
LBB0_10:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	cmpq	$-1, %rdx
	je	LBB0_16
## %bb.12:
	leaq	(%r14,%rdx), %rcx
	movslq	16(%rbx), %rsi
	addq	%rsi, %rcx
	addq	$4, %rcx
	movslq	20(%rbx), %rsi
	cmpq	%rsi, %rcx
	ja	LBB0_10
## %bb.13:
	addq	%rdx, %r14
	addq	$4, %r14
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.14:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.15:
	addq	$2, %r12
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	*%rax
	jmp	LBB0_22
LBB0_16:
	addq	$2, %r14
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	%r15, %rdi
	callq	*%rax
	jmp	LBB0_22
LBB0_19:
	movq	_REDIS_REPLY_NIL@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_20:
	movq	_REDIS_REPLY_STRING@GOTPCREL(%rip), %rax
LBB0_21:
	movq	(%rax), %rax
LBB0_22:
	testq	%rax, %rax
	je	LBB0_26
## %bb.23:
	addl	%r14d, 16(%rbx)
	cmpq	$0, (%rbx)
	jne	LBB0_25
## %bb.24:
	movq	%rax, 24(%rbx)
LBB0_25:
	movq	%rbx, %rdi
	callq	_moveToNextTask
	movq	_REDIS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_10
LBB0_26:
	movq	%rbx, %rdi
	callq	___redisReaderSetErrorOOM
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_REDIS_ERR,8,3                  ## @REDIS_ERR
	.comm	_REDIS_ERR_PROTOCOL,4,2         ## @REDIS_ERR_PROTOCOL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad bulk string length"

	.comm	_LLONG_MAX,8,3                  ## @LLONG_MAX
	.comm	_SIZE_MAX,8,3                   ## @SIZE_MAX
L_.str.1:                               ## @.str.1
	.asciz	"Bulk string length out of range"

	.comm	_REDIS_REPLY_NIL,8,3            ## @REDIS_REPLY_NIL
	.comm	_REDIS_REPLY_STRING,8,3         ## @REDIS_REPLY_STRING
	.comm	_REDIS_OK,4,2                   ## @REDIS_OK
	.no_dead_strip	_processBulkItem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function processBulkItem
_processBulkItem:                       ; @processBulkItem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	x23, [x0, #40]
	ldp	x24, x8, [x0]
	ldp	w9, w10, [x0, #16]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	x0, x8, x9
	sub	w1, w10, w9
	bl	_seekNewline
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19, #16]
	add	x0, x8, x9
	sub	x21, x20, x0
	add	x2, sp, #8
	mov	x1, x21
	bl	_string2ll
	mov	x8, x0
Lloh0:
	adrp	x22, _REDIS_ERR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _REDIS_ERR@GOTPAGEOFF]
	ldr	x0, [x22]
	cmp	x8, x0
	b.ne	LBB0_4
; %bb.2:
Lloh2:
	adrp	x8, _REDIS_ERR_PROTOCOL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REDIS_ERR_PROTOCOL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_12
LBB0_3:
Lloh7:
	adrp	x8, _REDIS_ERR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _REDIS_ERR@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
	b	LBB0_14
LBB0_4:
	ldr	x2, [sp, #8]
	cmn	x2, #1
	b.lt	LBB0_11
; %bb.5:
Lloh10:
	adrp	x8, _LLONG_MAX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LLONG_MAX@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _SIZE_MAX@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SIZE_MAX@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	x2, x9, #4, gt
	b.gt	LBB0_11
; %bb.6:
	add	x8, x23, x24, lsl #2
	cmn	x2, #1
	b.eq	LBB0_15
; %bb.7:
	add	x9, x21, x2
	add	x21, x9, #4
	ldpsw	x9, x10, [x19, #16]
	add	x9, x21, x9
	cmp	x9, x10
	b.hi	LBB0_14
; %bb.8:
	ldr	x9, [x19, #32]
	cbz	x9, LBB0_19
; %bb.9:
	ldr	x9, [x9]
	cbz	x9, LBB0_19
; %bb.10:
	add	x1, x20, #2
	mov	x0, x8
	blr	x9
	b	LBB0_21
LBB0_11:
Lloh16:
	adrp	x8, _REDIS_ERR_PROTOCOL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _REDIS_ERR_PROTOCOL@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x2, l_.str.1@PAGE
Lloh20:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_12:
	mov	x0, x19
	bl	___redisReaderSetError
LBB0_13:
	ldr	w0, [x22]
LBB0_14:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_15:
	add	x21, x21, #2
	ldr	x9, [x19, #32]
	cbz	x9, LBB0_18
; %bb.16:
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_18
; %bb.17:
	mov	x0, x8
	blr	x9
	b	LBB0_21
LBB0_18:
Lloh21:
	adrp	x8, _REDIS_REPLY_NIL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _REDIS_REPLY_NIL@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:
Lloh23:
	adrp	x8, _REDIS_REPLY_STRING@GOTPAGE
Lloh24:
	ldr	x8, [x8, _REDIS_REPLY_STRING@GOTPAGEOFF]
LBB0_20:
	ldr	x0, [x8]
LBB0_21:
	cbz	x0, LBB0_25
; %bb.22:
	ldr	w8, [x19, #16]
	add	w8, w8, w21
	str	w8, [x19, #16]
	ldr	x8, [x19]
	cbnz	x8, LBB0_24
; %bb.23:
	str	x0, [x19, #24]
LBB0_24:
	mov	x0, x19
	bl	_moveToNextTask
Lloh25:
	adrp	x8, _REDIS_OK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _REDIS_OK@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	b	LBB0_14
LBB0_25:
	mov	x0, x19
	bl	___redisReaderSetErrorOOM
	b	LBB0_13
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_REDIS_ERR,8,3                  ; @REDIS_ERR
	.comm	_REDIS_ERR_PROTOCOL,4,2         ; @REDIS_ERR_PROTOCOL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad bulk string length"

	.comm	_LLONG_MAX,8,3                  ; @LLONG_MAX
	.comm	_SIZE_MAX,8,3                   ; @SIZE_MAX
l_.str.1:                               ; @.str.1
	.asciz	"Bulk string length out of range"

	.comm	_REDIS_REPLY_NIL,8,3            ; @REDIS_REPLY_NIL
	.comm	_REDIS_REPLY_STRING,8,3         ; @REDIS_REPLY_STRING
	.comm	_REDIS_OK,4,2                   ; @REDIS_OK
	.no_dead_strip	_processBulkItem
.subsections_via_symbols
