	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_strtok_r                  ## -- Begin function pcap_strtok_r
	.p2align	4, 0x90
_pcap_strtok_r:                         ## @pcap_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
	movq	%rdi, %rax
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.1:
	movq	(%rdx), %rax
	testq	%rax, %rax
	je	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	leaq	1(%rax), %r9
	movb	(%rax), %r8b
	movq	%rsi, %rdi
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rdi), %ecx
	testb	%cl, %cl
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	incq	%rdi
	cmpb	%cl, %r8b
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r9, %rax
	jmp	LBB0_3
LBB0_7:
	testb	%r8b, %r8b
	je	LBB0_8
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	leaq	1(%r9), %r8
	movb	(%r9), %r10b
	movq	%rsi, %rdi
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rdi), %ecx
	cmpb	%r10b, %cl
	je	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=2
	incq	%rdi
	testb	%cl, %cl
	jne	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r8, %r9
	jmp	LBB0_9
LBB0_11:
	testb	%r10b, %r10b
	je	LBB0_12
## %bb.15:
	movb	$0, (%r9)
	jmp	LBB0_16
LBB0_8:
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_12:
	xorl	%r8d, %r8d
LBB0_16:
	movq	%r8, (%rdx)
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	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	_pcap_strtok_r                  ; -- Begin function pcap_strtok_r
	.p2align	2
_pcap_strtok_r:                         ; @pcap_strtok_r
	.cfi_startproc
; %bb.0:
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x2]
	cbz	x0, LBB0_18
LBB0_2:
	mov	x8, x0
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldrb	w9, [x8], #1
	mov	x10, x1
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w11, [x10]
	cbz	w11, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	add	x10, x10, #1
	cmp	w9, w11
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x8
	b	LBB0_3
LBB0_7:
	cbz	w9, LBB0_15
; %bb.8:
	mov	x9, x8
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldrb	w10, [x9], #1
	mov	x11, x1
LBB0_10:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w12, [x11]
	cmp	w12, w10
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	add	x11, x11, #1
	cbnz	w12, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x8, x9
	b	LBB0_9
LBB0_13:
	cbz	w10, LBB0_16
; %bb.14:
	strb	wzr, [x8]
	b	LBB0_17
LBB0_15:
	mov	x9, #0
	mov	x0, #0
	b	LBB0_17
LBB0_16:
	mov	x9, #0
LBB0_17:
	str	x9, [x2]
LBB0_18:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
