	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function redis_resumption_new
_redis_resumption_new:                  ## @redis_resumption_new
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_get_redis_client
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	_H2O_REDIS_CONNECTION_STATE_CLOSED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_async_resumption_context@GOTPCREL(%rip), %rax
	movl	8(%rax), %edx
	movl	12(%rax), %esi
	movq	%r12, %rdi
	callq	_h2o_redis_connect
LBB0_2:
	movq	_async_resumption_context@GOTPCREL(%rip), %r13
	movl	4(%r13), %esi
	movl	%r15d, %edi
	callq	_build_redis_key
	movl	%eax, %r15d
	movl	%r14d, %edi
	callq	_build_redis_value
	movl	%eax, %ebx
	movl	(%r13), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %r9d
	movl	%ebx, (%rsp)
	leaq	L_.str(%rip), %rcx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r15d, %r8d
	callq	_h2o_redis_command
	movl	%r15d, %edi
	callq	_free
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_REDIS_CONNECTION_STATE_CLOSED,8,3 ## @H2O_REDIS_CONNECTION_STATE_CLOSED
	.comm	_async_resumption_context,16,2  ## @async_resumption_context
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SETEX %s %d %s"

	.no_dead_strip	_redis_resumption_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function redis_resumption_new
_redis_resumption_new:                  ; @redis_resumption_new
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_get_redis_client
	mov	x19, x0
	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]
Lloh3:
	adrp	x22, _async_resumption_context@GOTPAGE
Lloh4:
	ldr	x22, [x22, _async_resumption_context@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldp	w2, w1, [x22, #8]
	mov	x0, x19
	bl	_h2o_redis_connect
LBB0_2:
	ldr	w1, [x22, #4]
	and	x0, x21, #0xffffffff
	bl	_build_redis_key
	mov	x21, x0
	and	x0, x20, #0xffffffff
	bl	_build_redis_value
	mov	x20, x0
	ldr	w8, [x22]
	add	w8, w8, w8, lsl #2
	lsl	w5, w8, #1
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x4, x21
	mov	x6, x20
	bl	_h2o_redis_command
	mov	x0, x21
	bl	_free
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_REDIS_CONNECTION_STATE_CLOSED,8,3 ; @H2O_REDIS_CONNECTION_STATE_CLOSED
	.comm	_async_resumption_context,16,2  ; @async_resumption_context
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SETEX %s %d %s"

	.no_dead_strip	_redis_resumption_new
.subsections_via_symbols
