	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strcspn                        ## -- Begin function strcspn
	.p2align	4, 0x90
_strcspn:                               ## @strcspn
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_UCHAR_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	movq	_LONG_BIT@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %r15d
	leaq	(,%r15,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	cmpb	$0, (%r14)
	je	LBB0_1
## %bb.2:
	movl	$1, (%r12)
	cmpl	$2, %r15d
	jb	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	addq	$4, %rdi
	addl	$-2, %r15d
	leaq	4(,%r15,4), %rsi
	callq	___bzero
LBB0_4:
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_7
## %bb.5:
	incq	%rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_IDX
	movl	%eax, %r15d
	movsbl	-1(%rbx), %edi
	callq	_BIT
	movslq	%r15d, %rcx
	orl	%eax, (%r12,%rcx,4)
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_6
LBB0_7:
	movq	$-1, %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	1(%r14,%rbx), %edi
	callq	_IDX
	movl	%eax, %r15d
	movsbl	1(%r14,%rbx), %edi
	callq	_BIT
	movslq	%r15d, %rcx
	incq	%rbx
	testl	%eax, (%r12,%rcx,4)
	je	LBB0_8
	jmp	LBB0_9
LBB0_1:
	xorl	%ebx, %ebx
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movq	%rbx, %rax
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_UCHAR_MAX,4,2                  ## @UCHAR_MAX
	.comm	_LONG_BIT,4,2                   ## @LONG_BIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strcspn                        ; -- Begin function strcspn
	.p2align	2
_strcspn:                               ; @strcspn
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	sub	sp, sp, #16
	mov	x20, x1
	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]
Lloh3:
	adrp	x8, _UCHAR_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UCHAR_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _LONG_BIT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LONG_BIT@GOTPAGEOFF]
	add	w8, w8, #1
Lloh8:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	lsl	x9, x8, #2
	add	x10, x9, #15
	and	x12, x10, #0x7fffffff0
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x21, x9, x12
	mov	sp, x21
	ldrb	w9, [x0]
	cbz	w9, LBB0_9
; %bb.1:
	mov	w9, #1
	str	w9, [x21]
	subs	w8, w8, #2
	b.lo	LBB0_3
; %bb.2:
	add	x0, x21, #4
	lsl	x8, x8, #2
	add	x1, x8, #4
	bl	_bzero
LBB0_3:
	ldrb	w8, [x20]
	cbz	w8, LBB0_6
; %bb.4:
	add	x22, x20, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_IDX
	mov	x20, x0
	ldursb	w0, [x22, #-1]
	bl	_BIT
	sbfiz	x8, x20, #2, #32
	ldr	w9, [x21, x8]
	orr	w9, w9, w0
	str	w9, [x21, x8]
	ldrb	w8, [x22], #1
	cbnz	w8, LBB0_5
LBB0_6:
	mov	x22, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x19, x22]
	bl	_IDX
	mov	x20, x0
	ldrsb	w0, [x19, x22]
	bl	_BIT
	ldr	w8, [x21, w20, sxtw #2]
	add	x22, x22, #1
	tst	w8, w0
	b.eq	LBB0_7
; %bb.8:
	sub	x0, x22, #1
	b	LBB0_10
LBB0_9:
	mov	x0, #0
LBB0_10:
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_UCHAR_MAX,4,2                  ; @UCHAR_MAX
	.comm	_LONG_BIT,4,2                   ; @LONG_BIT
.subsections_via_symbols
