	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_accept_key
_create_accept_key:                     ## @create_accept_key
	.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	%rbx
	subq	$328, %rsp                      ## imm = 0x148
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	-352(%rbp), %r14
	movq	%r14, %rdi
	movl	$24, %edx
	callq	_memcpy
	leaq	-256(%rbp), %rdi
	movq	_WS_GUID@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$36, %edx
	callq	_memcpy
	leaq	-112(%rbp), %r15
	movq	%r14, %rdi
	movl	$240, %esi
	movq	%r15, %rdx
	callq	_SHA1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$80, %edx
	xorl	%ecx, %ecx
	callq	_h2o_base64_encode
	movb	$0, 28(%rbx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$328, %rsp                      ## imm = 0x148
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_WS_GUID,8,3                    ## @WS_GUID
	.no_dead_strip	_create_accept_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_accept_key
_create_accept_key:                     ; @create_accept_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #384
	.cfi_def_cfa_offset 384
	stp	x28, x27, [sp, #336]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #352]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #368]            ; 16-byte Folded Spill
	add	x29, sp, #368
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x20, sp, #8
	add	x0, sp, #8
	mov	w2, #24
	bl	_memcpy
	add	x0, x20, #96
Lloh3:
	adrp	x8, _WS_GUID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WS_GUID@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	mov	w2, #36
	bl	_memcpy
	add	x0, sp, #8
	sub	x2, x29, #120
	mov	w1, #240
	bl	_SHA1
	sub	x1, x29, #120
	mov	x0, x19
	mov	w2, #80
	mov	w3, #0
	bl	_h2o_base64_encode
	strb	wzr, [x19, #28]
	ldur	x8, [x29, #-40]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #368]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #352]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #336]            ; 16-byte Folded Reload
	add	sp, sp, #384
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WS_GUID,8,3                    ; @WS_GUID
	.no_dead_strip	_create_accept_key
.subsections_via_symbols
