	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl_bitmask_check
_ssl_bitmask_check:                     ## @ssl_bitmask_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	shrq	$3, %rax
	cmpq	$8, %rsi
	jb	LBB0_4
## %bb.1:
	cmpq	$2, %rax
	movl	$1, %ecx
	cmovaeq	%rax, %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$-1, (%rdi,%rdx)
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_2
LBB0_4:
	andq	$7, %rsi
	je	LBB0_7
## %bb.5:
	movzbl	(%rdi,%rax), %ecx
	movl	$-1, %eax
	testb	$-128, %cl
	jne	LBB0_9
LBB0_6:
	popq	%rbp
	retq
LBB0_8:
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_9:
	cmpl	$1, %esi
	jne	LBB0_11
LBB0_7:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_11:
	testb	$64, %cl
	je	LBB0_6
## %bb.12:
	cmpl	$2, %esi
	je	LBB0_7
## %bb.14:
	testb	$32, %cl
	je	LBB0_6
## %bb.15:
	cmpl	$3, %esi
	je	LBB0_7
## %bb.17:
	testb	$16, %cl
	je	LBB0_6
## %bb.18:
	cmpl	$4, %esi
	je	LBB0_7
## %bb.20:
	testb	$8, %cl
	je	LBB0_6
## %bb.21:
	cmpl	$5, %esi
	je	LBB0_7
## %bb.23:
	testb	$4, %cl
	je	LBB0_6
## %bb.24:
	movl	$0, %eax
	cmpl	$6, %esi
	je	LBB0_6
## %bb.25:
	andl	$2, %ecx
	xorl	%eax, %eax
	cmpl	$1, %ecx
	sbbl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ssl_bitmask_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssl_bitmask_check
_ssl_bitmask_check:                     ; @ssl_bitmask_check
	.cfi_startproc
; %bb.0:
	lsr	x9, x1, #3
	cmp	x1, #8
	b.lo	LBB0_4
; %bb.1:
	cmp	x9, #1
	csinc	x8, x9, xzr, hi
	mov	x10, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x10]
	cmp	w11, #255
	b.ne	LBB0_16
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #1
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_4:
	ands	x8, x1, #0x7
	b.eq	LBB0_18
; %bb.5:
	ldrb	w9, [x0, x9]
	tbz	w9, #7, LBB0_16
; %bb.6:
	cmp	x8, #1
	b.eq	LBB0_18
; %bb.7:
	tbz	w9, #6, LBB0_16
; %bb.8:
	cmp	x8, #2
	b.eq	LBB0_18
; %bb.9:
	tbz	w9, #5, LBB0_16
; %bb.10:
	cmp	x8, #3
	b.eq	LBB0_18
; %bb.11:
	tbz	w9, #4, LBB0_16
; %bb.12:
	cmp	x8, #4
	b.eq	LBB0_18
; %bb.13:
	tbz	w9, #3, LBB0_16
; %bb.14:
	cmp	x8, #5
	b.eq	LBB0_18
; %bb.15:
	tbnz	w9, #2, LBB0_17
LBB0_16:
	mov	w0, #-1
	ret
LBB0_17:
	cmp	x8, #6
	b.ne	LBB0_19
LBB0_18:
	mov	w0, #0
	ret
LBB0_19:
	tst	w9, #0x2
	csetm	w0, eq
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ssl_bitmask_check
.subsections_via_symbols
