	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_config_enter
_on_config_enter:                       ## @on_config_enter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	leaq	16(%rsi), %rdi
	movl	$16, %edx
	callq	_memcpy
	movq	(%rbx), %rax
	movq	24(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_h2o_mem_addref_shared
	movq	(%rbx), %rax
LBB0_2:
	addq	$16, %rax
	movq	%rax, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	cmpq	$0, 8(%r14)
	jne	LBB0_7
## %bb.3:
	cmpq	$0, (%r14)
	je	LBB0_4
LBB0_7:
	movl	(%rax), %edi
	callq	_SSL_CTX_up_ref
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	callq	_create_ssl_ctx
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str(%rip), %rdi
	callq	_h2o_configurator_get_cmd_path
	movq	%rax, %r14
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_SSL_CTX_load_verify_locations
	cmpl	$1, %eax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_h2o_error_printf
LBB0_6:
	movq	%r14, %rdi
	callq	_free
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	_SSL_VERIFY_PEER@GOTPCREL(%rip), %rax
	movq	_SSL_VERIFY_FAIL_IF_NO_PEER_CERT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	xorl	%edx, %edx
	callq	_SSL_CTX_set_verify
	movq	_H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_CAPACITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_DURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_create_ssl_session_cache
	movq	(%rbx), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	callq	_h2o_socket_ssl_set_session_cache
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"share/h2o/ca-bundle.crt"

L_.str.1:                               ## @.str.1
	.asciz	"Warning: failed to load the default certificates file at %s. Proxying to HTTPS servers may fail.\n"

	.comm	_SSL_VERIFY_PEER,4,2            ## @SSL_VERIFY_PEER
	.comm	_SSL_VERIFY_FAIL_IF_NO_PEER_CERT,4,2 ## @SSL_VERIFY_FAIL_IF_NO_PEER_CERT
	.comm	_H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_CAPACITY,4,2 ## @H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_CAPACITY
	.comm	_H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_DURATION,4,2 ## @H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_DURATION
	.no_dead_strip	_on_config_enter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_config_enter
_on_config_enter:                       ; @on_config_enter
	.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	x20, x1
	mov	x19, x0
	ldr	x1, [x0]
	add	x0, x1, #16
	mov	w2, #16
	bl	_memcpy
	ldr	x8, [x19]
	ldr	x0, [x8, #24]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_h2o_mem_addref_shared
	ldr	x8, [x19]
LBB0_2:
	add	x8, x8, #16
	stp	xzr, xzr, [x19, #8]
	str	x8, [x19]
	ldr	x9, [x20, #8]
	cbnz	x9, LBB0_4
; %bb.3:
	ldr	x9, [x20]
	cbz	x9, LBB0_6
LBB0_4:
	ldr	w0, [x8]
	bl	_SSL_CTX_up_ref
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	_create_ssl_ctx
	ldr	x8, [x19]
	str	w0, [x8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_h2o_configurator_get_cmd_path
	mov	x20, x0
	ldr	x8, [x19]
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, #0
	bl	_SSL_CTX_load_verify_locations
	cmp	w0, #1
	b.eq	LBB0_8
; %bb.7:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_h2o_error_printf
LBB0_8:
	mov	x0, x20
	bl	_free
	ldr	x8, [x19]
Lloh4:
	adrp	x9, _SSL_VERIFY_PEER@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SSL_VERIFY_PEER@GOTPAGEOFF]
	ldr	w0, [x8]
Lloh6:
	ldr	w8, [x9]
Lloh7:
	adrp	x9, _SSL_VERIFY_FAIL_IF_NO_PEER_CERT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SSL_VERIFY_FAIL_IF_NO_PEER_CERT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x2, #0
	bl	_SSL_CTX_set_verify
Lloh10:
	adrp	x8, _H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_CAPACITY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_CAPACITY@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_DURATION@GOTPAGE
Lloh14:
	ldr	x8, [x8, _H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_DURATION@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_create_ssl_session_cache
	mov	x1, x0
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_h2o_socket_ssl_set_session_cache
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"share/h2o/ca-bundle.crt"

l_.str.1:                               ; @.str.1
	.asciz	"Warning: failed to load the default certificates file at %s. Proxying to HTTPS servers may fail.\n"

	.comm	_SSL_VERIFY_PEER,4,2            ; @SSL_VERIFY_PEER
	.comm	_SSL_VERIFY_FAIL_IF_NO_PEER_CERT,4,2 ; @SSL_VERIFY_FAIL_IF_NO_PEER_CERT
	.comm	_H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_CAPACITY,4,2 ; @H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_CAPACITY
	.comm	_H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_DURATION,4,2 ; @H2O_DEFAULT_PROXY_SSL_SESSION_CACHE_DURATION
	.no_dead_strip	_on_config_enter
.subsections_via_symbols
