	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gd_strtok_r                    ## -- Begin function gd_strtok_r
	.p2align	4, 0x90
_gd_strtok_r:                           ## @gd_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	%rbx
	subq	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	-288(%rbp), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_3
## %bb.1:
	incq	%rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %eax
	movb	$1, -288(%rbp,%rax)
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_2
LBB0_3:
	testq	%r15, %r15
	je	LBB0_4
## %bb.5:
	cmpb	$0, (%r15)
	je	LBB0_6
LBB0_7:
	movq	%r15, %rax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, 1(%rax)
	leaq	1(%rax), %rax
	jne	LBB0_8
	jmp	LBB0_9
LBB0_4:
	movq	(%r14), %r15
	cmpb	$0, (%r15)
	jne	LBB0_7
LBB0_6:
	movq	%r15, %rax
	xorl	%r15d, %r15d
LBB0_9:
	movq	%rax, (%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movq	%r15, %rax
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SEP_TEST,8,3                   ## @SEP_TEST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gd_strtok_r                    ; -- Begin function gd_strtok_r
	.p2align	2
_gd_strtok_r:                           ; @gd_strtok_r
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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
	.cfi_offset w27, -56
	.cfi_offset w28, -64
	mov	x20, x2
	mov	x21, 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, #-56]
	add	x22, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldrb	w8, [x21]
	cbz	w8, LBB0_3
; %bb.1:
	add	x9, x21, #1
	mov	w10, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	and	x8, x8, #0xff
	strb	w10, [x22, x8]
	ldrb	w8, [x9], #1
	cbnz	w8, LBB0_2
LBB0_3:
	cbz	x19, LBB0_7
; %bb.4:
	ldrb	w8, [x19]
	cbz	w8, LBB0_8
LBB0_5:
	mov	x8, x19
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8, #1]!
	cbnz	w9, LBB0_6
	b	LBB0_9
LBB0_7:
	ldr	x19, [x20]
	ldrb	w8, [x19]
	cbnz	w8, LBB0_5
LBB0_8:
	mov	x8, x19
	mov	x19, #0
LBB0_9:
	str	x8, [x20]
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SEP_TEST,8,3                   ; @SEP_TEST
.subsections_via_symbols
