	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_command
_send_command:                          ## @send_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.3:
	movq	%rcx, %r8
	movq	%rdx, %rcx
	movq	(%rdi), %rax
	movq	_H2O_REDIS_CONNECTION_STATE_CLOSED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_h2o_redis_error_connection@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_2
LBB0_5:
	movq	(%rbx), %rax
	movq	_H2O_REDIS_COMMAND_TYPE_MONITOR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_2
LBB0_7:
	movl	8(%rdi), %edi
	movq	_on_command@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_redisAsyncFormattedCommand
	movq	_REDIS_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.2(%rip), %rdx
LBB0_2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_handle_reply                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to create command"

	.comm	_H2O_REDIS_CONNECTION_STATE_CLOSED,8,3 ## @H2O_REDIS_CONNECTION_STATE_CLOSED
	.comm	_h2o_redis_error_connection,8,3 ## @h2o_redis_error_connection
	.comm	_H2O_REDIS_COMMAND_TYPE_MONITOR,8,3 ## @H2O_REDIS_COMMAND_TYPE_MONITOR
L_.str.1:                               ## @.str.1
	.asciz	"Unsupported command"

	.comm	_on_command,4,2                 ## @on_command
	.comm	_REDIS_OK,4,2                   ## @REDIS_OK
L_.str.2:                               ## @.str.2
	.asciz	"Failed to send command"

	.no_dead_strip	_send_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_command
_send_command:                          ; @send_command
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	cbz	x2, LBB0_3
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _H2O_REDIS_CONNECTION_STATE_CLOSED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _H2O_REDIS_CONNECTION_STATE_CLOSED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _h2o_redis_error_connection@GOTPAGE
Lloh4:
	ldr	x8, [x8, _h2o_redis_error_connection@GOTPAGEOFF]
Lloh5:
	ldr	x2, [x8]
	b	LBB0_9
LBB0_3:
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_9
LBB0_4:
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _H2O_REDIS_COMMAND_TYPE_MONITOR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _H2O_REDIS_COMMAND_TYPE_MONITOR@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_6:
	mov	x4, x3
	mov	x3, x2
	ldr	w0, [x0, #8]
Lloh13:
	adrp	x8, _on_command@GOTPAGE
Lloh14:
	ldr	x8, [x8, _on_command@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_redisAsyncFormattedCommand
Lloh16:
	adrp	x8, _REDIS_OK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _REDIS_OK@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh19:
	adrp	x2, l_.str.2@PAGE
Lloh20:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_9:
	mov	x0, x19
	mov	x1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_handle_reply
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to create command"

	.comm	_H2O_REDIS_CONNECTION_STATE_CLOSED,8,3 ; @H2O_REDIS_CONNECTION_STATE_CLOSED
	.comm	_h2o_redis_error_connection,8,3 ; @h2o_redis_error_connection
	.comm	_H2O_REDIS_COMMAND_TYPE_MONITOR,8,3 ; @H2O_REDIS_COMMAND_TYPE_MONITOR
l_.str.1:                               ; @.str.1
	.asciz	"Unsupported command"

	.comm	_on_command,4,2                 ; @on_command
	.comm	_REDIS_OK,4,2                   ; @REDIS_OK
l_.str.2:                               ; @.str.2
	.asciz	"Failed to send command"

	.no_dead_strip	_send_command
.subsections_via_symbols
