	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_config_ssl_session_cache
_on_config_ssl_session_cache:           ## @on_config_ssl_session_cache
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %r12
	movq	$0, -48(%rbp)
	movq	(%r12), %rax
	movl	(%rax), %edi
	callq	_h2o_socket_ssl_get_session_cache
	movq	%rax, %r14
	movl	(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_11
## %bb.2:
	movl	4(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.3:
	movl	4(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.4:
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_12
LBB0_5:
	leaq	L_.str.3(%rip), %rdx
	leaq	-40(%rbp), %r8
	leaq	-64(%rbp), %r9
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_h2o_configurator_parse_mapping
	testl	%eax, %eax
	jne	LBB0_27
## %bb.6:
	movq	-40(%rbp), %rax
	movq	(%rax), %rsi
	leaq	L_.str.4(%rip), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_h2o_configurator_scanf
	testl	%eax, %eax
	jne	LBB0_27
## %bb.7:
	cmpq	$0, -48(%rbp)
	je	LBB0_23
## %bb.8:
	movl	$0, -52(%rbp)
	movq	-64(%rbp), %rax
	movq	(%rax), %rsi
	leaq	L_.str.6(%rip), %rdx
	leaq	-52(%rbp), %rcx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_h2o_configurator_scanf
	testl	%eax, %eax
	jne	LBB0_27
## %bb.9:
	movl	-52(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_24
## %bb.10:
	imull	$1000, %eax, %r15d              ## imm = 0x3E8
	jmp	LBB0_16
LBB0_11:
	leaq	L_.str.8(%rip), %rdx
LBB0_12:
	movq	%r15, %rdi
	movq	%rbx, %rsi
LBB0_26:
	callq	_h2o_configurator_errprintf
LBB0_27:
	movl	$-1, %ebx
LBB0_28:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	testq	%r14, %r14
	je	LBB0_19
## %bb.14:
	movq	$0, -40(%rbp)
	jmp	LBB0_22
LBB0_15:
	movq	_H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_CAPACITY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_DURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_16:
	testq	%r14, %r14
	je	LBB0_20
## %bb.17:
	movq	%r14, %rdi
	callq	_h2o_cache_get_capacity
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_h2o_cache_get_duration
	movq	-48(%rbp), %rdi
	cmpq	%rbx, %rdi
	sete	%cl
	cmpl	%eax, %r15d
	sete	%al
	andb	%cl, %al
	je	LBB0_21
## %bb.18:
	movzbl	%al, %ebx
	decl	%ebx
	jmp	LBB0_28
LBB0_19:
	xorl	%ebx, %ebx
	jmp	LBB0_28
LBB0_20:
	movq	-48(%rbp), %rdi
LBB0_21:
	movl	%r15d, %esi
	callq	_create_ssl_session_cache
	movq	%rax, -40(%rbp)
LBB0_22:
	movq	(%r12), %rdi
	xorl	%ebx, %ebx
	leaq	-40(%rbp), %rcx
	xorl	%esi, %esi
	movl	$-1, %edx
	callq	_update_ssl_ctx
	jmp	LBB0_28
LBB0_23:
	movq	-40(%rbp), %rax
	movq	(%rax), %rsi
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_25
LBB0_24:
	movq	-64(%rbp), %rax
	movq	(%rax), %rsi
	leaq	L_.str.7(%rip), %rdx
LBB0_25:
	movq	%r15, %rdi
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OFF"

L_.str.1:                               ## @.str.1
	.asciz	"ON"

	.comm	_H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_CAPACITY,8,3 ## @H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_CAPACITY
	.comm	_H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_DURATION,4,2 ## @H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_DURATION
L_.str.2:                               ## @.str.2
	.asciz	"scalar argument must be either of: `OFF`, `ON`"

L_.str.3:                               ## @.str.3
	.asciz	"capacity:*,lifetime:*"

L_.str.4:                               ## @.str.4
	.asciz	"%zu"

L_.str.5:                               ## @.str.5
	.asciz	"capacity must be greater than zero"

L_.str.6:                               ## @.str.6
	.asciz	"%u"

L_.str.7:                               ## @.str.7
	.asciz	"lifetime must be greater than zero"

L_.str.8:                               ## @.str.8
	.asciz	"node must be a scalar or a mapping"

	.no_dead_strip	_on_config_ssl_session_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_config_ssl_session_cache
_on_config_ssl_session_cache:           ; @on_config_ssl_session_cache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x21, x2
	mov	x19, x0
	ldr	x22, [x0]
	str	xzr, [sp, #40]
	ldr	x8, [x22]
	ldr	w0, [x8]
	bl	_h2o_socket_ssl_get_session_cache
	mov	x20, x0
	ldr	w8, [x21]
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_11
; %bb.2:
	ldr	w0, [x21, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcasecmp
	cbz	w0, LBB0_16
; %bb.3:
	ldr	w0, [x21, #4]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcasecmp
	cbz	w0, LBB0_18
; %bb.4:
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_5:
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x4, sp, #32
	add	x5, sp, #24
	mov	x0, x19
	mov	x1, x21
	mov	x3, #0
	bl	_h2o_configurator_parse_mapping
	cbnz	w0, LBB0_14
; %bb.6:
	ldr	x8, [sp, #32]
	ldr	x1, [x8]
	add	x8, sp, #40
	str	x8, [sp]
Lloh8:
	adrp	x2, l_.str.4@PAGE
Lloh9:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_h2o_configurator_scanf
	cbnz	w0, LBB0_14
; %bb.7:
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_25
; %bb.8:
	str	wzr, [sp, #20]
	ldr	x8, [sp, #24]
	ldr	x1, [x8]
	add	x8, sp, #20
	str	x8, [sp]
Lloh10:
	adrp	x2, l_.str.6@PAGE
Lloh11:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_h2o_configurator_scanf
	cbnz	w0, LBB0_14
; %bb.9:
	ldr	w8, [sp, #20]
	cbz	w8, LBB0_26
; %bb.10:
	mov	w9, #1000
	mul	w19, w8, w9
	b	LBB0_19
LBB0_11:
Lloh12:
	adrp	x2, l_.str.8@PAGE
Lloh13:
	add	x2, x2, l_.str.8@PAGEOFF
LBB0_12:
	mov	x0, x19
	mov	x1, x21
LBB0_13:
	bl	_h2o_configurator_errprintf
LBB0_14:
	mov	w0, #-1
LBB0_15:
	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
	add	sp, sp, #96
	ret
LBB0_16:
	cbz	x20, LBB0_24
; %bb.17:
	str	xzr, [sp, #32]
	b	LBB0_23
LBB0_18:
Lloh14:
	adrp	x8, _H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_CAPACITY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_CAPACITY@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh17:
	adrp	x8, _H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_DURATION@GOTPAGE
Lloh18:
	ldr	x8, [x8, _H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_DURATION@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x8]
LBB0_19:
	cbz	x20, LBB0_21
; %bb.20:
	mov	x0, x20
	bl	_h2o_cache_get_capacity
	mov	x21, x0
	mov	x0, x20
	bl	_h2o_cache_get_duration
	ldr	x8, [sp, #40]
	cmp	x8, x21
	ccmp	w19, w0, #0, eq
	csetm	w0, ne
	b.ne	LBB0_22
	b	LBB0_15
LBB0_21:
	ldr	x8, [sp, #40]
LBB0_22:
	mov	x0, x8
	mov	x1, x19
	bl	_create_ssl_session_cache
	str	x0, [sp, #32]
LBB0_23:
	ldr	x0, [x22]
	add	x3, sp, #32
	mov	x1, #0
	mov	w2, #-1
	bl	_update_ssl_ctx
LBB0_24:
	mov	w0, #0
	b	LBB0_15
LBB0_25:
	ldr	x8, [sp, #32]
	ldr	x1, [x8]
Lloh20:
	adrp	x2, l_.str.5@PAGE
Lloh21:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_27
LBB0_26:
	ldr	x8, [sp, #24]
	ldr	x1, [x8]
Lloh22:
	adrp	x2, l_.str.7@PAGE
Lloh23:
	add	x2, x2, l_.str.7@PAGEOFF
LBB0_27:
	mov	x0, x19
	b	LBB0_13
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OFF"

l_.str.1:                               ; @.str.1
	.asciz	"ON"

	.comm	_H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_CAPACITY,8,3 ; @H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_CAPACITY
	.comm	_H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_DURATION,4,2 ; @H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_DURATION
l_.str.2:                               ; @.str.2
	.asciz	"scalar argument must be either of: `OFF`, `ON`"

l_.str.3:                               ; @.str.3
	.asciz	"capacity:*,lifetime:*"

l_.str.4:                               ; @.str.4
	.asciz	"%zu"

l_.str.5:                               ; @.str.5
	.asciz	"capacity must be greater than zero"

l_.str.6:                               ; @.str.6
	.asciz	"%u"

l_.str.7:                               ; @.str.7
	.asciz	"lifetime must be greater than zero"

l_.str.8:                               ; @.str.8
	.asciz	"node must be a scalar or a mapping"

	.no_dead_strip	_on_config_ssl_session_cache
.subsections_via_symbols
