	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_on_frame                       ## -- Begin function on_frame
	.p2align	4, 0x90
_on_frame:                              ## @on_frame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	leal	-128(%rdx), %eax
	cmpl	$4, %eax
	ja	LBB0_10
## %bb.1:
	leaq	LJTI0_0(%rip), %r10
	movslq	(%r10,%rax,4), %rax
	addq	%r10, %rax
	jmpq	*%rax
LBB0_2:
	testl	%esi, %esi
	je	LBB0_3
## %bb.5:
	testl	%ecx, %ecx
	je	LBB0_12
## %bb.6:
	movq	(%rdi), %rax
	movl	$1, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	LBB0_7
LBB0_10:
	movq	_WS_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	(%rdi), %rax
	movl	$1, %esi
	movl	$129, %edx
LBB0_7:
	xorl	%ecx, %ecx
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_8:
	movq	8(%rdi), %rax
	movq	_CLOSE_NORMAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%edx, %edx
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_3:
	movq	16(%rbp), %rax
	movl	$1, (%rax)
LBB0_4:
	movq	_WS_SUCCESS@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_12:
	movq	8(%rdi), %rax
	movq	_CLOSE_PROTOCOL_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_WS_SUCCESS,4,2                 ## @WS_SUCCESS
	.comm	_CLOSE_PROTOCOL_ERROR,4,2       ## @CLOSE_PROTOCOL_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Clients must mask"

	.comm	_CLOSE_NORMAL,4,2               ## @CLOSE_NORMAL
	.comm	_WS_ERROR,4,2                   ## @WS_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_on_frame                       ; -- Begin function on_frame
	.p2align	2
_on_frame:                              ; @on_frame
	.cfi_startproc
; %bb.0:
	sub	w8, w2, #128
	cmp	w8, #4
	b.hi	LBB0_5
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	cbz	w1, LBB0_8
; %bb.3:
	cbz	w3, LBB0_10
; %bb.4:
	ldr	x6, [x0]
	mov	w1, #1
	mov	w3, #0
	br	x6
LBB0_5:
Lloh2:
	adrp	x8, _WS_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WS_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ret
LBB0_6:
	ldr	x6, [x0]
	mov	w1, #1
	mov	w2, #129
	mov	w3, #0
	br	x6
LBB0_7:
	ldr	x3, [x0, #8]
Lloh5:
	adrp	x8, _CLOSE_NORMAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CLOSE_NORMAL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x2, #0
	br	x3
LBB0_8:
	mov	w8, #1
	str	w8, [x6]
LBB0_9:
Lloh8:
	adrp	x8, _WS_SUCCESS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WS_SUCCESS@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ret
LBB0_10:
	ldr	x3, [x0, #8]
Lloh11:
	adrp	x8, _CLOSE_PROTOCOL_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CLOSE_PROTOCOL_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	br	x3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_WS_SUCCESS,4,2                 ; @WS_SUCCESS
	.comm	_CLOSE_PROTOCOL_ERROR,4,2       ; @CLOSE_PROTOCOL_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Clients must mask"

	.comm	_CLOSE_NORMAL,4,2               ; @CLOSE_NORMAL
	.comm	_WS_ERROR,4,2                   ; @WS_ERROR
.subsections_via_symbols
