	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtrace_str2attr                ## -- Begin function dtrace_str2attr
	.p2align	4, 0x90
_dtrace_str2attr:                       ## @dtrace_str2attr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r14d
	testq	%rdi, %rdi
	je	LBB0_30
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_30
## %bb.2:
	movq	%rdi, %rbx
	movq	__dtrace_maxattr@GOTPCREL(%rip), %rax
	movq	16(%rax), %rcx
	movq	%rcx, 16(%r15)
	movups	(%rax), %xmm0
	movups	%xmm0, (%r15)
	callq	_strlen
	leaq	1(%rax), %rdi
	callq	_alloca
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_strcpy
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_dt_getstrattr
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %r12
	movq	_DTRACE_STABILITY_MAX@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	testq	%rax, %rax
	js	LBB0_8
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_dtrace_stability_name
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%rbx), %rcx
	movq	(%r13), %rax
	cmpq	%rax, %rbx
	movq	%rcx, %rbx
	jl	LBB0_5
	jmp	LBB0_9
LBB0_8:
	xorl	%ecx, %ecx
LBB0_9:
	cmpq	%rax, %rcx
	jle	LBB0_11
	jmp	LBB0_30
LBB0_10:
	movq	%rbx, 16(%r15)
	movq	(%r13), %rax
	movq	%rbx, %rcx
	cmpq	%rax, %rcx
	jg	LBB0_30
LBB0_11:
	movq	-48(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_dt_getstrattr
	testq	%rax, %rax
	je	LBB0_7
## %bb.12:
	movq	%rax, %r12
	movq	(%r13), %rax
	testq	%rax, %rax
	js	LBB0_17
## %bb.13:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_dtrace_stability_name
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	leaq	1(%rbx), %rcx
	movq	(%r13), %rax
	cmpq	%rax, %rbx
	movq	%rcx, %rbx
	jl	LBB0_14
	jmp	LBB0_18
LBB0_17:
	xorl	%ecx, %ecx
LBB0_18:
	cmpq	%rax, %rcx
	jle	LBB0_20
	jmp	LBB0_30
LBB0_19:
	movq	%rbx, 8(%r15)
	movq	(%r13), %rax
	movq	%rbx, %rcx
	cmpq	%rax, %rcx
	jg	LBB0_30
LBB0_20:
	movq	-48(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_dt_getstrattr
	testq	%rax, %rax
	je	LBB0_7
## %bb.21:
	movq	%rax, %r12
	movq	_DTRACE_CLASS_MAX@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	testq	%rax, %rax
	js	LBB0_26
## %bb.22:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_dtrace_class_name
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	leaq	1(%rbx), %rcx
	movq	(%r13), %rax
	cmpq	%rax, %rbx
	movq	%rcx, %rbx
	jl	LBB0_23
	jmp	LBB0_28
LBB0_7:
	xorl	%r14d, %r14d
LBB0_30:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	xorl	%ecx, %ecx
	jmp	LBB0_28
LBB0_27:
	movq	%rbx, (%r15)
	movq	(%r13), %rax
	movq	%rbx, %rcx
LBB0_28:
	cmpq	%rax, %rcx
	jg	LBB0_30
## %bb.29:
	movq	-48(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_dt_getstrattr
	xorl	%r14d, %r14d
	negq	%rax
	sbbl	%r14d, %r14d
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	__dtrace_maxattr,24,3           ## @_dtrace_maxattr
	.comm	_DTRACE_STABILITY_MAX,8,3       ## @DTRACE_STABILITY_MAX
	.comm	_DTRACE_CLASS_MAX,8,3           ## @DTRACE_CLASS_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtrace_str2attr                ; -- Begin function dtrace_str2attr
	.p2align	2
_dtrace_str2attr:                       ; @dtrace_str2attr
	.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	x20, x0
	mov	w0, #-1
	cbz	x20, LBB0_28
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_28
; %bb.2:
Lloh0:
	adrp	x8, __dtrace_maxattr@GOTPAGE
Lloh1:
	ldr	x8, [x8, __dtrace_maxattr@GOTPAGEOFF]
	ldr	q0, [x8]
	ldr	x8, [x8, #16]
	str	x8, [x19, #16]
	str	q0, [x19]
	mov	x0, x20
	bl	_strlen
	add	x0, x0, #1
	bl	_alloca
	mov	x21, x0
	mov	x1, x20
	bl	_strcpy
	add	x1, sp, #8
	mov	x0, x21
	bl	_dt_getstrattr
	cbz	x0, LBB0_28
; %bb.3:
Lloh2:
	adrp	x22, _DTRACE_STABILITY_MAX@GOTPAGE
Lloh3:
	ldr	x22, [x22, _DTRACE_STABILITY_MAX@GOTPAGEOFF]
	ldr	x8, [x22]
	tbnz	x8, #63, LBB0_8
; %bb.4:
	mov	x21, x0
	mov	x20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_dtrace_stability_name
	mov	x1, x0
	mov	x0, x21
	bl	_strcasecmp
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x20, #1
	ldr	x8, [x22]
	cmp	x20, x8
	mov	x20, x9
	b.lt	LBB0_5
; %bb.7:
	mov	x20, x9
	cmp	x20, x8
	b.gt	LBB0_27
	b	LBB0_10
LBB0_8:
	mov	x20, #0
	cmp	x20, x8
	b.le	LBB0_10
	b	LBB0_27
LBB0_9:
	str	x20, [x19, #16]
	ldr	x8, [x22]
	cmp	x20, x8
	b.gt	LBB0_27
LBB0_10:
	ldr	x0, [sp, #8]
	add	x1, sp, #8
	bl	_dt_getstrattr
	cbz	x0, LBB0_28
; %bb.11:
	ldr	x8, [x22]
	tbnz	x8, #63, LBB0_16
; %bb.12:
	mov	x21, x0
	mov	x20, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_dtrace_stability_name
	mov	x1, x0
	mov	x0, x21
	bl	_strcasecmp
	cbz	x0, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x9, x20, #1
	ldr	x8, [x22]
	cmp	x20, x8
	mov	x20, x9
	b.lt	LBB0_13
; %bb.15:
	mov	x20, x9
	cmp	x20, x8
	b.gt	LBB0_27
	b	LBB0_18
LBB0_16:
	mov	x20, #0
	cmp	x20, x8
	b.gt	LBB0_27
	b	LBB0_18
LBB0_17:
	str	x20, [x19, #8]
	ldr	x8, [x22]
	cmp	x20, x8
	b.gt	LBB0_27
LBB0_18:
	ldr	x0, [sp, #8]
	add	x1, sp, #8
	bl	_dt_getstrattr
	cbz	x0, LBB0_28
; %bb.19:
Lloh4:
	adrp	x22, _DTRACE_CLASS_MAX@GOTPAGE
Lloh5:
	ldr	x22, [x22, _DTRACE_CLASS_MAX@GOTPAGEOFF]
	ldr	x8, [x22]
	tbnz	x8, #63, LBB0_24
; %bb.20:
	mov	x21, x0
	mov	x20, #0
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_dtrace_class_name
	mov	x1, x0
	mov	x0, x21
	bl	_strcasecmp
	cbz	x0, LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x9, x20, #1
	ldr	x8, [x22]
	cmp	x20, x8
	mov	x20, x9
	b.lt	LBB0_21
; %bb.23:
	mov	x20, x9
	b	LBB0_26
LBB0_24:
	mov	x20, #0
	b	LBB0_26
LBB0_25:
	str	x20, [x19]
	ldr	x8, [x22]
LBB0_26:
	cmp	x20, x8
	b.le	LBB0_29
LBB0_27:
	mov	w0, #-1
LBB0_28:
	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
LBB0_29:
	ldr	x0, [sp, #8]
	add	x1, sp, #8
	bl	_dt_getstrattr
	cmp	x0, #0
	csetm	w0, ne
	b	LBB0_28
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	__dtrace_maxattr,24,3           ; @_dtrace_maxattr
	.comm	_DTRACE_STABILITY_MAX,8,3       ; @DTRACE_STABILITY_MAX
	.comm	_DTRACE_CLASS_MAX,8,3           ; @DTRACE_CLASS_MAX
.subsections_via_symbols
