	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %r8d
	movslq	%eax, %rdx
	xorl	%eax, %eax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%edi, %ecx
	addq	%rcx, %rax
	incq	%r14
	testl	%edi, %edi
	je	LBB0_9
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movb	(%r14), %cl
	testb	%cl, %cl
	je	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r8d, %r8d
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	-1(%r15,%rdi), %ebx
	cmpb	%bl, %cl
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	leaq	1(%rdi), %rsi
	cmpq	%rdx, %rdi
	movq	%rsi, %rdi
	jl	LBB0_5
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edi, %edi
	cmpb	%bl, %cl
	setne	%dil
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.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	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_strlen
	mov	x8, x0
	mov	x0, #0
	sxtw	x8, w8
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w9, #1
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, w9, uxtw
	add	x20, x20, #1
	cbz	w9, LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldrb	w9, [x20]
	cbz	w9, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #1
	b.lt	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x10, #0
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w11, [x19, x10]
	add	x10, x10, #1
	cmp	w9, w11
	ccmp	x10, x8, #0, ne
	b.lt	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w9, w11
	cset	w9, ne
	b	LBB0_2
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
