	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_str2DRPath                     ## -- Begin function str2DRPath
	.p2align	4, 0x90
_str2DRPath:                            ## @str2DRPath
	.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, %r14
	movq	%rdi, %rbx
	movl	$-1, (%rsi)
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_DEBUG
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	cmpb	$0, (%rbx)
	je	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	movb	$0, (%rax)
	movq	%rbx, %rdi
	callq	_atoi
	movq	8(%r14), %rcx
	movslq	(%r14), %rdx
	leaq	1(%rdx), %rsi
	movl	%esi, (%r14)
	movb	%al, 1(%rcx,%rdx)
	movq	%r15, %rbx
	incq	%rbx
	cmpb	$0, 1(%r15)
	jne	LBB0_2
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_atoi
	movq	8(%r14), %rcx
	movslq	(%r14), %rdx
	leaq	1(%rdx), %rsi
	movl	%esi, (%r14)
	movb	%al, 1(%rcx,%rdx)
LBB0_5:
	movl	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DR str: %s"

	.comm	_dev_port,1,0                   ## @dev_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_str2DRPath                     ; -- Begin function str2DRPath
	.p2align	2
_str2DRPath:                            ; @str2DRPath
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
	mov	w8, #-1
	str	w8, [x1]
	str	x0, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DEBUG
	cbz	x20, LBB0_5
; %bb.1:
	ldrb	w8, [x20]
	cbz	w8, LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #44
	bl	_strchr
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, x0
	strb	wzr, [x0]
	mov	x0, x20
	bl	_atoi
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	x9, x9, #1
	str	w9, [x19]
	strb	w0, [x8, x9]
	ldrb	w8, [x21, #1]!
	mov	x20, x21
	cbnz	w8, LBB0_2
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_atoi
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	x9, x9, #1
	str	w9, [x19]
	strb	w0, [x8, x9]
LBB0_5:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DR str: %s"

	.comm	_dev_port,1,0                   ; @dev_port
.subsections_via_symbols
