	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dt_pid_get_pid
_dt_pid_get_pid:                        ## @dt_pid_get_pid
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movb	(%r12), %al
	leaq	L_.str(%rip), %r13
	movq	_D_PROC_BADPROV@GOTPCREL(%rip), %r15
	testb	%al, %al
	je	LBB0_10
## %bb.1:
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_isdigit
	testl	%eax, %eax
	cmoveq	%r12, %r14
	movzbl	1(%r12), %eax
	incq	%r12
	testb	%al, %al
	jne	LBB0_2
## %bb.3:
	testq	%r14, %r14
	je	LBB0_4
## %bb.5:
	cmpb	$0, 1(%r14)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_10
## %bb.6:
	incq	%r14
	movq	_errno@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	leaq	-72(%rbp), %rsi
	movq	%r14, %rdi
	movl	$10, %edx
	callq	_strtol
	leaq	L_.str.1(%rip), %r13
	movq	_D_PROC_BADPID@GOTPCREL(%rip), %r15
	cmpq	$0, (%r12)
	je	LBB0_7
LBB0_4:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_10:
	movl	(%r15), %r8d
	movq	(%rbx), %rax
	movq	%rax, (%rsp)
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	xorl	%ecx, %ecx
	movq	%r13, %r9
	callq	_dt_pid_error
	movl	$-1, %eax
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	-72(%rbp), %rcx
	cmpq	%r14, %rcx
	je	LBB0_4
## %bb.8:
	cmpb	$0, (%rcx)
	jne	LBB0_4
## %bb.9:
	testl	%eax, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	jg	LBB0_11
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_D_PROC_BADPROV,4,2             ## @D_PROC_BADPROV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"'%s' is not a valid provider"

	.comm	_errno,8,3                      ## @errno
	.comm	_D_PROC_BADPID,4,2              ## @D_PROC_BADPID
L_.str.1:                               ## @.str.1
	.asciz	"'%s' does not contain a valid pid"

	.no_dead_strip	_dt_pid_get_pid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dt_pid_get_pid
_dt_pid_get_pid:                        ; @dt_pid_get_pid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x24, [x0]
	ldrb	w8, [x24]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_isdigit
	cmp	w0, #0
	csel	x23, x24, x23, eq
	ldrb	w8, [x24, #1]!
	cbnz	w8, LBB0_2
; %bb.3:
	cbz	x23, LBB0_7
; %bb.4:
	ldrb	w8, [x23, #1]!
	cbz	w8, LBB0_7
; %bb.5:
Lloh0:
	adrp	x24, _errno@GOTPAGE
Lloh1:
	ldr	x24, [x24, _errno@GOTPAGEOFF]
	str	xzr, [x24]
	add	x1, sp, #8
	mov	x0, x23
	mov	w2, #10
	bl	_strtol
	ldr	x8, [x24]
	cbz	x8, LBB0_10
LBB0_6:
Lloh2:
	adrp	x5, l_.str.1@PAGE
Lloh3:
	add	x5, x5, l_.str.1@PAGEOFF
Lloh4:
	adrp	x8, _D_PROC_BADPID@GOTPAGE
Lloh5:
	ldr	x8, [x8, _D_PROC_BADPID@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh6:
	adrp	x5, l_.str@PAGE
Lloh7:
	add	x5, x5, l_.str@PAGEOFF
Lloh8:
	adrp	x8, _D_PROC_BADPROV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _D_PROC_BADPROV@GOTPAGEOFF]
LBB0_8:
	ldr	w4, [x8]
	ldr	x6, [x22]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, #0
	bl	_dt_pid_error
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
	ldr	x8, [sp, #8]
	cmp	x8, x23
	b.eq	LBB0_6
; %bb.11:
	ldrb	w9, [x8]
Lloh10:
	adrp	x5, l_.str.1@PAGE
Lloh11:
	add	x5, x5, l_.str.1@PAGEOFF
Lloh12:
	adrp	x8, _D_PROC_BADPID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _D_PROC_BADPID@GOTPAGEOFF]
	cbnz	w9, LBB0_8
; %bb.12:
	cmp	w0, #0
	b.gt	LBB0_9
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_D_PROC_BADPROV,4,2             ; @D_PROC_BADPROV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"'%s' is not a valid provider"

	.comm	_errno,8,3                      ; @errno
	.comm	_D_PROC_BADPID,4,2              ; @D_PROC_BADPID
l_.str.1:                               ; @.str.1
	.asciz	"'%s' does not contain a valid pid"

	.no_dead_strip	_dt_pid_get_pid
.subsections_via_symbols
