	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_ssl_ctx
_create_ssl_ctx:                        ## @create_ssl_ctx
	.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
	xorl	%eax, %eax
	callq	_SSLv23_client_method
	movl	%eax, %edi
	callq	_SSL_CTX_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_SSL_CTX_get_options
	movq	_SSL_OP_NO_SSLv2@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	movq	_SSL_OP_NO_SSLv3@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_SSL_CTX_set_options
	movq	_H2O_SESSID_CTX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_H2O_SESSID_CTX_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_SSL_CTX_set_session_id_context
	movq	_SSL_SESS_CACHE_CLIENT@GOTPCREL(%rip), %rax
	movq	_SSL_SESS_CACHE_NO_INTERNAL_STORE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_SSL_CTX_set_session_cache_mode
	movq	_h2o_socket_ssl_new_session_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_SSL_CTX_sess_set_new_cb
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_OP_NO_SSLv2,8,3            ## @SSL_OP_NO_SSLv2
	.comm	_SSL_OP_NO_SSLv3,8,3            ## @SSL_OP_NO_SSLv3
	.comm	_H2O_SESSID_CTX,4,2             ## @H2O_SESSID_CTX
	.comm	_H2O_SESSID_CTX_LEN,4,2         ## @H2O_SESSID_CTX_LEN
	.comm	_SSL_SESS_CACHE_CLIENT,4,2      ## @SSL_SESS_CACHE_CLIENT
	.comm	_SSL_SESS_CACHE_NO_INTERNAL_STORE,4,2 ## @SSL_SESS_CACHE_NO_INTERNAL_STORE
	.comm	_h2o_socket_ssl_new_session_cb,4,2 ## @h2o_socket_ssl_new_session_cb
	.comm	_SSL_OP_NO_RENEGOTIATION,8,3    ## @SSL_OP_NO_RENEGOTIATION
	.no_dead_strip	_create_ssl_ctx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_ssl_ctx
_create_ssl_ctx:                        ; @create_ssl_ctx
	.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
	bl	_SSLv23_client_method
	bl	_SSL_CTX_new
	mov	x19, x0
	bl	_SSL_CTX_get_options
Lloh0:
	adrp	x8, _SSL_OP_NO_SSLv2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_OP_NO_SSLv2@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	orr	x8, x8, x0
Lloh3:
	adrp	x9, _SSL_OP_NO_SSLv3@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SSL_OP_NO_SSLv3@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	orr	x1, x8, x9
	mov	x0, x19
	bl	_SSL_CTX_set_options
Lloh6:
	adrp	x8, _H2O_SESSID_CTX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _H2O_SESSID_CTX@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _H2O_SESSID_CTX_LEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _H2O_SESSID_CTX_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_SSL_CTX_set_session_id_context
Lloh12:
	adrp	x8, _SSL_SESS_CACHE_CLIENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSL_SESS_CACHE_CLIENT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _SSL_SESS_CACHE_NO_INTERNAL_STORE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SSL_SESS_CACHE_NO_INTERNAL_STORE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_SSL_CTX_set_session_cache_mode
Lloh18:
	adrp	x8, _h2o_socket_ssl_new_session_cb@GOTPAGE
Lloh19:
	ldr	x8, [x8, _h2o_socket_ssl_new_session_cb@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SSL_CTX_sess_set_new_cb
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_OP_NO_SSLv2,8,3            ; @SSL_OP_NO_SSLv2
	.comm	_SSL_OP_NO_SSLv3,8,3            ; @SSL_OP_NO_SSLv3
	.comm	_H2O_SESSID_CTX,4,2             ; @H2O_SESSID_CTX
	.comm	_H2O_SESSID_CTX_LEN,4,2         ; @H2O_SESSID_CTX_LEN
	.comm	_SSL_SESS_CACHE_CLIENT,4,2      ; @SSL_SESS_CACHE_CLIENT
	.comm	_SSL_SESS_CACHE_NO_INTERNAL_STORE,4,2 ; @SSL_SESS_CACHE_NO_INTERNAL_STORE
	.comm	_h2o_socket_ssl_new_session_cb,4,2 ; @h2o_socket_ssl_new_session_cb
	.comm	_SSL_OP_NO_RENEGOTIATION,8,3    ; @SSL_OP_NO_RENEGOTIATION
	.no_dead_strip	_create_ssl_ctx
.subsections_via_symbols
