	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_ws_message
_on_ws_message:                         ## @on_ws_message
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	movq	%rsi, %rbx
	movl	8(%rsi), %edi
	callq	_wslay_is_ctrl_frame
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	8(%rbx), %eax
	movl	%eax, -32(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -28(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -24(%rbp)
	movl	(%r14), %edi
	leaq	-32(%rbp), %rsi
	callq	_wslay_event_queue_msg
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_h2o_websocket_close            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_on_ws_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_ws_message
_on_ws_message:                         ; @on_ws_message
	.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_4
; %bb.1:
	mov	x20, x1
	ldr	w0, [x1, #8]
	bl	_wslay_is_ctrl_frame
	cbnz	w0, LBB0_3
; %bb.2:
	ldur	d0, [x20, #4]
	rev64.2s	v0, v0
	str	d0, [sp]
	ldr	w8, [x20]
	str	w8, [sp, #8]
	ldr	w0, [x19]
	mov	x1, sp
	bl	_wslay_event_queue_msg
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_h2o_websocket_close
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_on_ws_message
.subsections_via_symbols
