	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_redis_command
_on_redis_command:                      ## @on_redis_command
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	8(%rsi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r12
	xorl	%eax, %eax
	callq	_mrb_nil_value
	movq	%r12, %rdi
	callq	_mrb_gc_arena_save
	movl	%eax, %r15d
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.3:
	movq	_h2o_redis_error_connection@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_4
## %bb.5:
	movq	_h2o_redis_error_protocol@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_6
## %bb.7:
	movq	_h2o_redis_error_connect_timeout@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_8
## %bb.9:
	movq	_h2o_redis_error_command_timeout@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rsi
	cmoveq	%rax, %rsi
	jmp	LBB0_10
LBB0_1:
	testq	%r13, %r13
	je	LBB0_12
## %bb.2:
	movl	(%r14), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_decode_redis_reply
	jmp	LBB0_11
LBB0_4:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_10
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_10
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
LBB0_10:
	movq	%r12, %rdi
	callq	_get_error_class
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_mrb_exc_new
LBB0_11:
	movl	%eax, %esi
	movq	%r14, %rdi
	callq	_pass_reply
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_mrb_gc_arena_restore
	movl	(%r14), %esi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mrb_gc_unregister              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_h2o_redis_error_connection,8,3 ## @h2o_redis_error_connection
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ConnectionError"

	.comm	_h2o_redis_error_protocol,8,3   ## @h2o_redis_error_protocol
L_.str.1:                               ## @.str.1
	.asciz	"ProtocolError"

	.comm	_h2o_redis_error_connect_timeout,8,3 ## @h2o_redis_error_connect_timeout
L_.str.2:                               ## @.str.2
	.asciz	"ConnectTimeoutError"

	.comm	_h2o_redis_error_command_timeout,8,3 ## @h2o_redis_error_command_timeout
L_.str.3:                               ## @.str.3
	.asciz	"CommandTimeoutError"

L_.str.4:                               ## @.str.4
	.asciz	"UnknownError"

	.no_dead_strip	_on_redis_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_redis_command
_on_redis_command:                      ; @on_redis_command
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x19, x1
	mov	x23, x0
	ldr	x8, [x1, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x20, [x8]
	bl	_mrb_nil_value
	mov	x0, x20
	bl	_mrb_gc_arena_save
	mov	x21, x0
	cbz	x22, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _h2o_redis_error_connection@GOTPAGE
Lloh1:
	ldr	x8, [x8, _h2o_redis_error_connection@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x22
	b.eq	LBB0_7
; %bb.2:
Lloh3:
	adrp	x8, _h2o_redis_error_protocol@GOTPAGE
Lloh4:
	ldr	x8, [x8, _h2o_redis_error_protocol@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x22
	b.eq	LBB0_8
; %bb.3:
Lloh6:
	adrp	x8, _h2o_redis_error_connect_timeout@GOTPAGE
Lloh7:
	ldr	x8, [x8, _h2o_redis_error_connect_timeout@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x22
	b.eq	LBB0_10
; %bb.4:
Lloh9:
	adrp	x8, _h2o_redis_error_command_timeout@GOTPAGE
Lloh10:
	ldr	x8, [x8, _h2o_redis_error_command_timeout@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, l_.str.4@PAGE
Lloh13:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh14:
	adrp	x10, l_.str.3@PAGE
Lloh15:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	x8, x22
	csel	x1, x10, x9, eq
	b	LBB0_11
LBB0_5:
	cbz	x23, LBB0_9
; %bb.6:
	ldr	w2, [x19]
	mov	x0, x20
	mov	x1, x23
	bl	_decode_redis_reply
	b	LBB0_12
LBB0_7:
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_11
LBB0_8:
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_9:
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_11:
	mov	x0, x20
	bl	_get_error_class
	mov	x23, x0
	mov	x0, x22
	bl	_strlen
	mov	x3, x0
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	bl	_mrb_exc_new
LBB0_12:
	mov	x1, x0
	mov	x0, x19
	bl	_pass_reply
	mov	x0, x20
	mov	x1, x21
	bl	_mrb_gc_arena_restore
	ldr	w1, [x19]
	mov	x0, x20
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mrb_gc_unregister
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_h2o_redis_error_connection,8,3 ; @h2o_redis_error_connection
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ConnectionError"

	.comm	_h2o_redis_error_protocol,8,3   ; @h2o_redis_error_protocol
l_.str.1:                               ; @.str.1
	.asciz	"ProtocolError"

	.comm	_h2o_redis_error_connect_timeout,8,3 ; @h2o_redis_error_connect_timeout
l_.str.2:                               ; @.str.2
	.asciz	"ConnectTimeoutError"

	.comm	_h2o_redis_error_command_timeout,8,3 ; @h2o_redis_error_command_timeout
l_.str.3:                               ; @.str.3
	.asciz	"CommandTimeoutError"

l_.str.4:                               ; @.str.4
	.asciz	"UnknownError"

	.no_dead_strip	_on_redis_command
.subsections_via_symbols
