	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_socket_ssl_resume_server_handshake ## -- Begin function h2o_socket_ssl_resume_server_handshake
	.p2align	4, 0x90
_h2o_socket_ssl_resume_server_handshake: ## @h2o_socket_ssl_resume_server_handshake
	.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
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rax
	movq	%rdx, -16(%rbp)
	leaq	-16(%rbp), %rsi
	xorl	%edi, %edi
	movq	%rax, %rdx
	callq	_d2i_SSL_SESSION
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_3
LBB0_1:
	movq	(%rbx), %rcx
LBB0_3:
	movq	_ASYNC_RESUMPTION_STATE_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rcx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_proceed_handshake
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_SSL_SESSION_free
	movq	(%rbx), %rax
	movq	$0, (%rax)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASYNC_RESUMPTION_STATE_COMPLETE,4,2 ## @ASYNC_RESUMPTION_STATE_COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_socket_ssl_resume_server_handshake ; -- Begin function h2o_socket_ssl_resume_server_handshake
	.p2align	2
_h2o_socket_ssl_resume_server_handshake: ; @h2o_socket_ssl_resume_server_handshake
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	cbz	x1, LBB0_2
; %bb.1:
	mov	x8, x1
	str	x2, [sp, #8]
	add	x1, sp, #8
	mov	x0, #0
	mov	x2, x8
	bl	_d2i_SSL_SESSION
	ldr	x8, [x19]
	str	x0, [x8]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
LBB0_3:
Lloh0:
	adrp	x9, _ASYNC_RESUMPTION_STATE_COMPLETE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ASYNC_RESUMPTION_STATE_COMPLETE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x8, #8]
	mov	x0, x19
	mov	w1, #0
	bl	_proceed_handshake
	ldr	x8, [x19]
	ldr	x0, [x8]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_SSL_SESSION_free
	ldr	x8, [x19]
	str	xzr, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ASYNC_RESUMPTION_STATE_COMPLETE,4,2 ; @ASYNC_RESUMPTION_STATE_COMPLETE
.subsections_via_symbols
