	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dt_pid_usdt_mapping
_dt_pid_usdt_mapping:                   ## @dt_pid_usdt_mapping
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	movb	$1, %r14b
	xorl	%eax, %eax
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_dt_dprintf
	movq	%r15, %r13
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %eax
	xorl	%ebx, %ebx
	testb	$1, %r14b
	movl	$0, %r14d
	je	LBB0_14
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PR_LMID_EVERY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	l___const.dt_pid_usdt_mapping.syms(%rip), %rcx
	movq	(%rcx,%rax,8), %r15
	movq	%r13, %rdi
	movq	%r12, %rdx
	movq	%r15, %rcx
	leaq	-72(%rbp), %r8
	leaq	-64(%rbp), %r9
	callq	_Pxlookup_by_name
	testq	%rax, %rax
	jne	LBB0_13
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	movl	$47, %esi
	callq	_strrchr
	movq	%r12, %rcx
	leaq	1(%rax), %r12
	testq	%rax, %rax
	cmoveq	%rcx, %r12
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_dt_dprintf
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	movq	_Elf64_Ehdr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-88(%rbp), %rsi
	callq	_offsetof
	addq	%rax, %rbx
	movq	%r13, %r15
	movq	%r13, %rdi
	leaq	-88(%rbp), %rsi
	movl	$8, %edx
	movq	%rbx, %rcx
	callq	_Pread
	cmpl	$8, %eax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-72(%rbp), %eax
	movl	%eax, -96(%rbp)
	movq	-88(%rbp), %rax
	movq	_ET_EXEC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, -104(%rbp)
	movl	-112(%rbp), %edi
	movl	-64(%rbp), %edx
	movl	$4, %esi
	movq	%r12, %rcx
	callq	_dt_pid_objname
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	cmpl	$-1, %ebx
	movq	%r15, %r13
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	leaq	L_.str.4(%rip), %rsi
	xorl	%ecx, %ecx
	callq	_pr_open
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_DTRACEHIOC_ADDDOF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	%ebx, %esi
	leaq	-112(%rbp), %rcx
	movl	$24, %r8d
	callq	_pr_ioctl
	testq	%rax, %rax
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	jns	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-112(%rbp), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_dt_dprintf
	jmp	LBB0_12
LBB0_14:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	cmpl	$-1, %esi
	je	LBB0_16
## %bb.15:
	movq	%r13, %rdi
	callq	_pr_close
LBB0_16:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_dt_dprintf
	movl	$-1, %ebx
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"___SUNW_dof"

L_.str.1:                               ## @.str.1
	.asciz	"__SUNW_dof"

	.section	__DATA,__const
	.p2align	4                               ## @__const.dt_pid_usdt_mapping.syms
l___const.dt_pid_usdt_mapping.syms:
	.quad	L_.str
	.quad	L_.str.1

	.comm	_PR_LMID_EVERY,4,2              ## @PR_LMID_EVERY
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"lookup of %s succeeded for %s\n"

	.comm	_Elf64_Ehdr,4,2                 ## @Elf64_Ehdr
L_.str.3:                               ## @.str.3
	.asciz	"read of ELF header failed"

	.comm	_ET_EXEC,8,3                    ## @ET_EXEC
L_.str.4:                               ## @.str.4
	.asciz	"/dev/dtrace/helper"

	.comm	_O_RDWR,4,2                     ## @O_RDWR
L_.str.5:                               ## @.str.5
	.asciz	"pr_open of helper device failed: %s\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_DTRACEHIOC_ADDDOF,4,2          ## @DTRACEHIOC_ADDDOF
L_.str.6:                               ## @.str.6
	.asciz	"DOF was rejected for %s\n"

	.no_dead_strip	_dt_pid_usdt_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dt_pid_usdt_mapping
_dt_pid_usdt_mapping:                   ; @dt_pid_usdt_mapping
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x8, #0
	mov	w22, #-1
	mov	w9, #1
Lloh0:
	adrp	x24, _PR_LMID_EVERY@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PR_LMID_EVERY@GOTPAGEOFF]
Lloh2:
	adrp	x25, l___const.dt_pid_usdt_mapping.syms@PAGE
Lloh3:
	add	x25, x25, l___const.dt_pid_usdt_mapping.syms@PAGEOFF
Lloh4:
	adrp	x23, l_.str.2@PAGE
Lloh5:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_dt_dprintf
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #0
	mov	w8, #1
	tbz	w26, #0, LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x26, x9
	ldr	w1, [x24]
	ldr	x28, [x25, x8, lsl #3]
	add	x4, sp, #56
	add	x5, sp, #48
	mov	x0, x19
	mov	x2, x20
	mov	x3, x28
	bl	_Pxlookup_by_name
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	w1, #47
	bl	_strrchr
	cmp	x0, #0
	csinc	x27, x20, x0, eq
	stp	x28, x27, [sp]
	mov	x0, x23
	bl	_dt_dprintf
	ldr	x28, [x21]
Lloh8:
	adrp	x8, _Elf64_Ehdr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _Elf64_Ehdr@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x1, [sp, #16]
	bl	_offsetof
	add	x3, x0, x28
	add	x1, sp, #16
	mov	x0, x19
	mov	w2, #8
	bl	_Pread
	cmp	w0, #8
	b.ne	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #56]
	str	w8, [sp, #40]
	ldr	x8, [sp, #16]
Lloh11:
	adrp	x9, _ET_EXEC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ET_EXEC@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, #0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21]
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x8, [sp, #32]
	ldr	w0, [sp, #24]
	ldr	w2, [sp, #48]
	mov	w1, #4
	mov	x3, x27
	bl	_dt_pid_objname
	cmn	w22, #1
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh14:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w3, #0
	bl	_pr_open
	mov	x22, x0
	tbnz	w0, #31, LBB0_17
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh19:
	adrp	x8, _DTRACEHIOC_ADDDOF@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DTRACEHIOC_ADDDOF@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	add	x3, sp, #24
	mov	x0, x19
	mov	x1, x22
	mov	w4, #24
	bl	_pr_ioctl
	tbz	x0, #63, LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #24]
	str	x8, [sp]
Lloh22:
	adrp	x0, l_.str.6@PAGE
Lloh23:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_2
LBB0_13:
	cmn	w22, #1
	b.eq	LBB0_15
; %bb.14:
	mov	x0, x19
	mov	x1, x22
	bl	_pr_close
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_17:
Lloh24:
	adrp	x8, _errno@GOTPAGE
Lloh25:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh27:
	adrp	x0, l_.str.5@PAGE
Lloh28:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_dt_dprintf
	mov	w0, #-1
	b	LBB0_16
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"___SUNW_dof"

l_.str.1:                               ; @.str.1
	.asciz	"__SUNW_dof"

	.section	__DATA,__const
	.p2align	3                               ; @__const.dt_pid_usdt_mapping.syms
l___const.dt_pid_usdt_mapping.syms:
	.quad	l_.str
	.quad	l_.str.1

	.comm	_PR_LMID_EVERY,4,2              ; @PR_LMID_EVERY
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"lookup of %s succeeded for %s\n"

	.comm	_Elf64_Ehdr,4,2                 ; @Elf64_Ehdr
l_.str.3:                               ; @.str.3
	.asciz	"read of ELF header failed"

	.comm	_ET_EXEC,8,3                    ; @ET_EXEC
l_.str.4:                               ; @.str.4
	.asciz	"/dev/dtrace/helper"

	.comm	_O_RDWR,4,2                     ; @O_RDWR
l_.str.5:                               ; @.str.5
	.asciz	"pr_open of helper device failed: %s\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_DTRACEHIOC_ADDDOF,4,2          ; @DTRACEHIOC_ADDDOF
l_.str.6:                               ; @.str.6
	.asciz	"DOF was rejected for %s\n"

	.no_dead_strip	_dt_pid_usdt_mapping
.subsections_via_symbols
