	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function strtok_r
_strtok_r:                              ## @strtok_r
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	movq	(%r14), %r15
	testq	%r15, %r15
	je	LBB0_11
LBB0_2:
	movb	(%r15), %al
	testb	%al, %al
	je	LBB0_11
## %bb.3:
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_strchr
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movzbl	1(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_4
	jmp	LBB0_9
LBB0_11:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_7:
	cmpb	$0, (%rbx)
	je	LBB0_9
## %bb.8:
	movb	$0, (%rbx)
	incq	%rbx
	movq	%rbx, %rax
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
	cmpq	%r15, %rbx
	je	LBB0_12
LBB0_10:
	movq	%rax, (%r14)
	movq	%r15, %rax
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_strtok_r
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function strtok_r
_strtok_r:                              ; @strtok_r
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x20, [x19]
	cbz	x20, LBB0_6
LBB0_2:
	ldrb	w8, [x20]
	cbz	w8, LBB0_6
; %bb.3:
	mov	x22, x20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w1, w8
	mov	x0, x21
	bl	_strchr
	cbnz	w0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x22, #1]!
	cbnz	w8, LBB0_4
	b	LBB0_9
LBB0_6:
	mov	x0, #0
	b	LBB0_11
LBB0_7:
	ldrb	w8, [x22]
	cbz	w8, LBB0_9
; %bb.8:
	strb	wzr, [x22], #1
	b	LBB0_10
LBB0_9:
	mov	x0, #0
	cmp	x22, x20
	mov	x22, #0
	b.eq	LBB0_11
LBB0_10:
	str	x22, [x19]
	mov	x0, x20
LBB0_11:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_strtok_r
.subsections_via_symbols
