	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_socket_get_ssl_session_id  ## -- Begin function h2o_socket_get_ssl_session_id
	.p2align	4, 0x90
_h2o_socket_get_ssl_session_id:         ## @h2o_socket_get_ssl_session_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	cmpq	$0, 16(%rax)
	je	LBB0_2
LBB0_6:
	xorl	%edi, %edi
	xorl	%esi, %esi
	addq	$16, %rsp
	popq	%rbp
	jmp	_h2o_iovec_init                 ## TAILCALL
LBB0_2:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.3:
	movq	8(%rax), %rax
	movq	_ASYNC_RESUMPTION_STATE_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	callq	_SSL_get_session
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	-4(%rbp), %rsi
	movq	%rax, %rdi
	callq	_SSL_SESSION_get_id
	movl	-4(%rbp), %esi
	movq	%rax, %rdi
	callq	_h2o_iovec_init
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASYNC_RESUMPTION_STATE_COMPLETE,8,3 ## @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_get_ssl_session_id  ; -- Begin function h2o_socket_get_ssl_session_id
	.p2align	2
_h2o_socket_get_ssl_session_id:         ; @h2o_socket_get_ssl_session_id
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_3
LBB0_2:
	mov	x0, #0
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_h2o_iovec_init
LBB0_3:
	ldr	x0, [x8]
	cbz	x0, LBB0_2
; %bb.4:
	ldr	x8, [x8, #8]
Lloh0:
	adrp	x9, _ASYNC_RESUMPTION_STATE_COMPLETE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ASYNC_RESUMPTION_STATE_COMPLETE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.5:
	bl	_SSL_get_session
	cbz	x0, LBB0_2
; %bb.6:
	sub	x1, x29, #4
	bl	_SSL_SESSION_get_id
	ldur	w1, [x29, #-4]
	bl	_h2o_iovec_init
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ASYNC_RESUMPTION_STATE_COMPLETE,8,3 ; @ASYNC_RESUMPTION_STATE_COMPLETE
.subsections_via_symbols
