	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtrace_errmsg                  ## -- Begin function dtrace_errmsg
	.p2align	4, 0x90
_dtrace_errmsg:                         ## @dtrace_errmsg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	_EDT_COMPILER@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	(%rdi), %rax
	cmpb	$0, (%rax)
	jne	LBB0_16
LBB0_3:
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.4:
	movq	_EDT_CTF@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_7
## %bb.5:
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_ctf_errmsg
	jmp	LBB0_16
LBB0_7:
	movq	_EDT_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%esi, %eax
	jg	LBB0_15
## %bb.8:
	movl	%esi, %edx
	subl	%eax, %edx
	movq	__dt_nerr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%ecx, %edx
	jge	LBB0_15
## %bb.9:
	testl	%ecx, %ecx
	jle	LBB0_10
## %bb.11:
	movq	__dt_errlist@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	shlq	$4, %rcx
	xorl	%eax, %eax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, (%rdx,%rdi)
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	addq	$16, %rdi
	cmpq	%rdi, %rcx
	jne	LBB0_12
	jmp	LBB0_16
LBB0_15:
	movl	%esi, %edi
	callq	_strerror
LBB0_16:
	testq	%rax, %rax
	leaq	L_.str(%rip), %rcx
	cmovneq	%rax, %rcx
LBB0_17:
	movq	%rcx, %rax
	popq	%rbp
	retq
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_13:
	movq	8(%rdx,%rdi), %rcx
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_EDT_COMPILER,4,2               ## @EDT_COMPILER
	.comm	_EDT_CTF,4,2                    ## @EDT_CTF
	.comm	_EDT_BASE,4,2                   ## @EDT_BASE
	.comm	__dt_nerr,4,2                   ## @_dt_nerr
	.comm	__dt_errlist,8,3                ## @_dt_errlist
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown error"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtrace_errmsg                  ; -- Begin function dtrace_errmsg
	.p2align	2
_dtrace_errmsg:                         ; @dtrace_errmsg
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _EDT_COMPILER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EDT_COMPILER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x0]
	ldrb	w9, [x8]
	cbnz	w9, LBB0_15
LBB0_3:
	cbz	x0, LBB0_7
; %bb.4:
Lloh3:
	adrp	x8, _EDT_CTF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EDT_CTF@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_7
; %bb.5:
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_ctf_errmsg
	b	LBB0_14
LBB0_7:
Lloh6:
	adrp	x8, _EDT_BASE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EDT_BASE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x8]
	cmp	w9, w1
	b.gt	LBB0_13
; %bb.8:
Lloh9:
	adrp	x8, __dt_nerr@GOTPAGE
Lloh10:
	ldr	x8, [x8, __dt_nerr@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	sub	w9, w1, w9
	cmp	w9, w8
	b.ge	LBB0_13
; %bb.9:
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.10:
Lloh12:
	adrp	x9, __dt_errlist@GOTPAGE
Lloh13:
	ldr	x9, [x9, __dt_errlist@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x9, x9, #8
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x9, #-8]
	cmp	w10, w1
	b.eq	LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x9, x9, #16
	subs	x8, x8, #1
	b.ne	LBB0_11
	b	LBB0_15
LBB0_13:
	mov	x0, x1
	bl	_strerror
LBB0_14:
	mov	x8, x0
LBB0_15:
Lloh15:
	adrp	x9, l_.str@PAGE
Lloh16:
	add	x9, x9, l_.str@PAGEOFF
	cmp	x8, #0
	csel	x0, x9, x8, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_16:
	mov	x8, #0
	b	LBB0_15
LBB0_17:
	ldr	x0, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EDT_COMPILER,4,2               ; @EDT_COMPILER
	.comm	_EDT_CTF,4,2                    ; @EDT_CTF
	.comm	_EDT_BASE,4,2                   ; @EDT_BASE
	.comm	__dt_nerr,4,2                   ; @_dt_nerr
	.comm	__dt_errlist,8,3                ; @_dt_errlist
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown error"

.subsections_via_symbols
