	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redisProcessCallbacks          ## -- Begin function redisProcessCallbacks
	.p2align	4, 0x90
_redisProcessCallbacks:                 ## @redisProcessCallbacks
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	leaq	8(%rdi), %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_redisGetReply
	movl	%eax, %ebx
	movq	_REDIS_OK@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jne	LBB0_19
## %bb.1:
	cmpq	$0, -48(%rbp)
	je	LBB0_7
## %bb.2:
	leaq	-96(%rbp), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	___redisShiftCallback
	cmpl	(%r12), %eax
	je	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax
	movq	(%rax), %rcx
	movq	_REDIS_REPLY_ERROR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_5
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_REDIS_SUBSCRIBED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	_REDIS_MONITORING@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	xorl	%edi, %edi
	andl	(%r14), %eax
	setne	%dil
	callq	_assert
	movl	(%rbx), %eax
	testl	%eax, (%r14)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rsi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	___redisGetSubscribeCallback
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -96(%rbp)
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	___redisRunCallback
	movq	16(%r13), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rdi
	callq	*(%rax)
	movq	_REDIS_FREEING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r13)
	je	LBB0_18
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r13), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rdi
	callq	*(%rax)
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	leaq	-48(%rbp), %rsi
	callq	_redisGetReply
	movl	%eax, %ebx
	cmpl	(%r12), %eax
	jne	LBB0_19
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -48(%rbp)
	jne	LBB0_3
LBB0_7:
	movq	_REDIS_DISCONNECTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_10
## %bb.8:
	movl	32(%r13), %edi
	callq	_sdslen
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	cmpq	$0, (%r13)
	je	LBB0_20
LBB0_10:
	movq	_REDIS_MONITORING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_19
## %bb.11:
	leaq	-96(%rbp), %rsi
	movq	%r13, %rdi
	callq	___redisPushCallback
LBB0_19:
	cmpl	(%r12), %ebx
	je	LBB0_21
LBB0_20:
	movq	%r13, %rdi
	callq	___redisAsyncDisconnect
LBB0_21:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	%r13, %rdi
	callq	___redisAsyncFree
	jmp	LBB0_21
LBB0_5:
	movq	_REDIS_ERR_OTHER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%r13)
	movl	24(%r13), %edi
	movq	8(%rax), %rcx
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	movq	16(%r13), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rdi
	callq	*(%rax)
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_REDIS_OK,4,2                   ## @REDIS_OK
	.comm	_REDIS_DISCONNECTING,4,2        ## @REDIS_DISCONNECTING
	.comm	_REDIS_MONITORING,4,2           ## @REDIS_MONITORING
	.comm	_REDIS_REPLY_ERROR,8,3          ## @REDIS_REPLY_ERROR
	.comm	_REDIS_ERR_OTHER,4,2            ## @REDIS_ERR_OTHER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_REDIS_SUBSCRIBED,4,2           ## @REDIS_SUBSCRIBED
	.comm	_REDIS_FREEING,4,2              ## @REDIS_FREEING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redisProcessCallbacks          ; -- Begin function redisProcessCallbacks
	.p2align	2
_redisProcessCallbacks:                 ; @redisProcessCallbacks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x0
	add	x20, x0, #8
	str	xzr, [sp, #48]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	str	xzr, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_redisGetReply
	mov	x21, x0
Lloh0:
	adrp	x22, _REDIS_OK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _REDIS_OK@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_17
; %bb.1:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_12
; %bb.2:
Lloh2:
	adrp	x23, _REDIS_FREEING@GOTPAGE
Lloh3:
	ldr	x23, [x23, _REDIS_FREEING@GOTPAGEOFF]
Lloh4:
	adrp	x24, _REDIS_REPLY_ERROR@GOTPAGE
Lloh5:
	ldr	x24, [x24, _REDIS_REPLY_ERROR@GOTPAGEOFF]
Lloh6:
	adrp	x25, _REDIS_SUBSCRIBED@GOTPAGE
Lloh7:
	ldr	x25, [x25, _REDIS_SUBSCRIBED@GOTPAGEOFF]
Lloh8:
	adrp	x26, _REDIS_MONITORING@GOTPAGE
Lloh9:
	ldr	x26, [x26, _REDIS_MONITORING@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #16
	mov	x0, x19
	bl	___redisShiftCallback
	ldr	w8, [x22]
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x8]
	ldr	x10, [x24]
	cmp	x9, x10
	b.eq	LBB0_21
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20]
	ldr	w9, [x25]
	ldr	w10, [x26]
	orr	w9, w9, w10
	tst	w9, w8
	cset	w0, ne
	bl	_assert
	ldr	w8, [x20]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #8]
	add	x2, sp, #16
	mov	x0, x19
	bl	___redisGetSubscribeCallback
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [sp, #8]
	add	x1, sp, #16
	mov	x0, x19
	bl	___redisRunCallback
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x0, [sp, #8]
	blr	x8
	ldr	w8, [x19, #8]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_10
	b	LBB0_20
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x0, [sp, #8]
	blr	x8
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #8
	mov	x0, x20
	bl	_redisGetReply
	mov	x21, x0
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_3
LBB0_12:
	ldr	w8, [x20]
Lloh10:
	adrp	x9, _REDIS_DISCONNECTING@GOTPAGE
Lloh11:
	ldr	x9, [x9, _REDIS_DISCONNECTING@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.13:
	ldr	w0, [x19, #32]
	bl	_sdslen
	cbnz	x0, LBB0_15
; %bb.14:
	ldr	x8, [x19]
	cbz	x8, LBB0_18
LBB0_15:
	ldr	w8, [x20]
Lloh13:
	adrp	x9, _REDIS_MONITORING@GOTPAGE
Lloh14:
	ldr	x9, [x9, _REDIS_MONITORING@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.16:
	add	x1, sp, #16
	mov	x0, x19
	bl	___redisPushCallback
LBB0_17:
	ldr	w8, [x22]
	cmp	w21, w8
	b.eq	LBB0_19
LBB0_18:
	mov	x0, x19
	bl	___redisAsyncDisconnect
LBB0_19:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_20:
	mov	x0, x19
	bl	___redisAsyncFree
	b	LBB0_19
LBB0_21:
Lloh16:
	adrp	x9, _REDIS_ERR_OTHER@GOTPAGE
Lloh17:
	ldr	x9, [x9, _REDIS_ERR_OTHER@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	str	w9, [x19, #28]
	ldr	w0, [x19, #24]
	ldr	x3, [x8, #8]
Lloh19:
	adrp	x2, l_.str@PAGE
Lloh20:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	_snprintf
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x0, [sp, #8]
	blr	x8
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_REDIS_OK,4,2                   ; @REDIS_OK
	.comm	_REDIS_DISCONNECTING,4,2        ; @REDIS_DISCONNECTING
	.comm	_REDIS_MONITORING,4,2           ; @REDIS_MONITORING
	.comm	_REDIS_REPLY_ERROR,8,3          ; @REDIS_REPLY_ERROR
	.comm	_REDIS_ERR_OTHER,4,2            ; @REDIS_ERR_OTHER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_REDIS_SUBSCRIBED,4,2           ; @REDIS_SUBSCRIBED
	.comm	_REDIS_FREEING,4,2              ; @REDIS_FREEING
.subsections_via_symbols
