	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_memcached_create_context   ## -- Begin function h2o_memcached_create_context
	.p2align	4, 0x90
_h2o_memcached_create_context:          ## @h2o_memcached_create_context
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r15
	movl	$40, %edi
	callq	_h2o_mem_alloc
	movq	%rax, %r14
	leaq	32(%rax), %rdi
	xorl	%esi, %esi
	callq	_pthread_mutex_init
	leaq	28(%r14), %rdi
	xorl	%esi, %esi
	callq	_pthread_cond_init
	leaq	24(%r14), %rdi
	callq	_h2o_linklist_init_anchor
	movq	$0, 16(%r14)
	movq	_SIZE_MAX@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_h2o_strdup
	movl	%eax, 12(%r14)
	movl	%r13d, 8(%r14)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r14)
	movl	(%r12), %edx
	xorl	%edi, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_h2o_strdup
	movl	%eax, 4(%r14)
	leaq	-44(%rbp), %r15
	movq	%r15, %rdi
	callq	_pthread_attr_init
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_pthread_attr_setdetachstate
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	movq	_thread_main@GOTPCREL(%rip), %r13
	leaq	-60(%rbp), %r15
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rcx
	callq	_h2o_multithread_create_thread
	decq	%rbx
	jne	LBB0_2
LBB0_3:
	leaq	-44(%rbp), %rdi
	callq	_pthread_attr_destroy
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIZE_MAX,4,2                   ## @SIZE_MAX
	.comm	_thread_main,4,2                ## @thread_main
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_memcached_create_context   ; -- Begin function h2o_memcached_create_context
	.p2align	2
_h2o_memcached_create_context:          ; @h2o_memcached_create_context
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	mov	w0, #40
	bl	_h2o_mem_alloc
	mov	x20, x0
	add	x0, x0, #32
	mov	x1, #0
	bl	_pthread_mutex_init
	add	x0, x20, #28
	mov	x1, #0
	bl	_pthread_cond_init
	add	x0, x20, #24
	bl	_h2o_linklist_init_anchor
	str	xzr, [x20, #16]
Lloh0:
	adrp	x25, _SIZE_MAX@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SIZE_MAX@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, #0
	mov	x1, x24
	bl	_h2o_strdup
	stp	w23, w0, [x20, #8]
	str	w22, [x20]
	ldr	w2, [x25]
	mov	x0, #0
	mov	x1, x21
	bl	_h2o_strdup
	str	w0, [x20, #4]
	add	x0, sp, #8
	bl	_pthread_attr_init
	add	x0, sp, #8
	mov	w1, #1
	bl	_pthread_attr_setdetachstate
	cbz	x19, LBB0_3
; %bb.1:
Lloh2:
	adrp	x21, _thread_main@GOTPAGE
Lloh3:
	ldr	x21, [x21, _thread_main@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x21]
	add	x0, sp, #12
	add	x1, sp, #8
	mov	x3, x20
	bl	_h2o_multithread_create_thread
	subs	x19, x19, #1
	b.ne	LBB0_2
LBB0_3:
	add	x0, sp, #8
	bl	_pthread_attr_destroy
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZE_MAX,4,2                   ; @SIZE_MAX
	.comm	_thread_main,4,2                ; @thread_main
.subsections_via_symbols
