	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_pid_create_offset_probe     ## -- Begin function dt_pid_create_offset_probe
	.p2align	4, 0x90
_dt_pid_create_offset_probe:            ## @dt_pid_create_offset_probe
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_DTFTP_OFFSETS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rdx)
	movdqu	(%rcx), %xmm0
	pshufd	$78, %xmm0, %xmm0               ## xmm0 = xmm0[2,3,0,1]
	movdqu	%xmm0, (%rdx)
	movl	$1, 16(%rdx)
	movl	32(%rdx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_proc_getpid
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_proc_getmodel
	movl	%eax, %ebx
	movq	(%r12), %r14
	movq	%r14, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movb	%bl, -44(%rbp)                  ## 1-byte Spill
	movq	8(%r12), %rcx
	movq	%r15, %rdi
	movq	%rax, %rbx
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_Pread
	cmpq	(%r12), %rax
	jne	LBB0_6
## %bb.7:
	movq	%r15, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	movq	%r12, %r8
	callq	_dt_pid_has_jump_table
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	movq	%rbx, %rdi
	callq	_free
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_1:
	movq	24(%r13), %rax
	movl	%ebx, (%rax)
LBB0_15:
	movl	(%r14), %edi
	movq	_FASTTRAPIOC_MAKEPROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdx
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_21
## %bb.16:
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_strerror
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_dt_dprintf
	movl	(%rbx), %esi
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dt_set_errno                   ## TAILCALL
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_dt_dprintf
	jmp	LBB0_4
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_dt_dprintf
	movq	%rbx, %rdi
	callq	_free
LBB0_4:
	movq	_DT_PROC_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_22
LBB0_21:
	movl	16(%r13), %eax
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	cmpq	$0, (%r12)
	movq	%rbx, %rdi
	jle	LBB0_14
## %bb.9:
	xorl	%ecx, %ecx
	movsbl	-44(%rbp), %eax                 ## 1-byte Folded Reload
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	cmpl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	je	LBB0_13
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	jg	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rdi, %r15
	leaq	(%rdi,%rcx,4), %rdi
	addq	8(%r12), %rcx
	movq	%r14, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_dt_instr_size
	testl	%eax, %eax
	jle	LBB0_20
## %bb.11:                              ##   in Loop: Header=BB0_12 Depth=1
	addl	%eax, %ebx
	movslq	%ebx, %rcx
	cmpq	%rcx, (%r12)
	movq	%r15, %rdi
	jg	LBB0_12
	jmp	LBB0_14
LBB0_13:
	movq	24(%r13), %rax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
LBB0_14:
	callq	_free
	jmp	LBB0_15
LBB0_20:
	movq	%r15, %rdi
LBB0_18:
	callq	_free
	movq	_DT_PROC_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_DTFTP_OFFSETS,4,2              ## @DTFTP_OFFSETS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-"

L_.str.1:                               ## @.str.1
	.asciz	"mr sparkle: malloc() failed\n"

	.comm	_DT_PROC_ERR,4,2                ## @DT_PROC_ERR
L_.str.2:                               ## @.str.2
	.asciz	"mr sparkle: Pread() failed\n"

	.comm	_DT_PROC_ALIGN,4,2              ## @DT_PROC_ALIGN
	.comm	_FASTTRAPIOC_MAKEPROBE,4,2      ## @FASTTRAPIOC_MAKEPROBE
L_.str.3:                               ## @.str.3
	.asciz	"fasttrap probe creation ioctl failed: %s\n"

	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_pid_create_offset_probe     ; -- Begin function dt_pid_create_offset_probe
	.p2align	2
_dt_pid_create_offset_probe:            ; @dt_pid_create_offset_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x4
	mov	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x26, x0
	ldr	q0, [x3]
Lloh0:
	adrp	x8, _DTFTP_OFFSETS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DTFTP_OFFSETS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x2, #36]
	ext.16b	v0, v0, v0, #8
	str	q0, [x2]
	mov	w8, #1
	str	w8, [x2, #16]
	ldr	w1, [x2, #32]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x26
	bl	_proc_getpid
	mov	x24, x0
	mov	x0, x26
	bl	_proc_getmodel
	mov	x25, x0
	ldr	x27, [x22]
	mov	x0, x27
	bl	_malloc
	cbz	x0, LBB0_8
; %bb.2:
	mov	x23, x0
	ldr	x3, [x22, #8]
	mov	x0, x26
	mov	x1, x23
	mov	x2, x27
	bl	_Pread
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.3:
	mov	x0, x26
	mov	x1, x19
	mov	x2, x23
	mov	x3, x20
	mov	x4, x22
	bl	_dt_pid_has_jump_table
	cbz	x0, LBB0_13
; %bb.4:
	mov	x0, x23
	bl	_free
	mov	w0, #0
	b	LBB0_12
LBB0_5:
	ldr	x8, [x20, #24]
	str	w21, [x8]
LBB0_6:
	ldr	w0, [x19]
Lloh5:
	adrp	x8, _FASTTRAPIOC_MAKEPROBE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FASTTRAPIOC_MAKEPROBE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_ioctl
	cbz	x0, LBB0_11
; %bb.7:
Lloh8:
	adrp	x20, _errno@GOTPAGE
Lloh9:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_dt_dprintf
	ldr	w1, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_dt_set_errno
LBB0_8:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dt_dprintf
	b	LBB0_10
LBB0_9:
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dt_dprintf
	mov	x0, x23
	bl	_free
LBB0_10:
Lloh16:
	adrp	x8, _DT_PROC_ERR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DT_PROC_ERR@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	b	LBB0_12
LBB0_11:
	ldr	w0, [x20, #16]
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_13:
	ldr	x8, [x22]
	cmp	x8, #1
	b.lt	LBB0_21
; %bb.14:
	mov	x8, #0
	mov	w26, #0
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	cmp	w26, w21
	b.eq	LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	b.gt	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x0, x23, x8, lsl #2
	ldr	x9, [x22, #8]
	add	x3, x9, x8
	mov	x1, x19
	mov	x2, x24
	mov	x4, x25
	bl	_dt_instr_size
	cmp	w0, #0
	b.le	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	add	w26, w0, w26
	sxtw	x8, w26
	ldr	x9, [x22]
	cmp	x9, x8
	b.gt	LBB0_15
	b	LBB0_21
LBB0_19:
	mov	x0, x23
	bl	_free
Lloh19:
	adrp	x8, _DT_PROC_ALIGN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DT_PROC_ALIGN@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	b	LBB0_12
LBB0_20:
	ldr	x8, [x20, #24]
	str	w21, [x8]
LBB0_21:
	mov	x0, x23
	bl	_free
	b	LBB0_6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_DTFTP_OFFSETS,4,2              ; @DTFTP_OFFSETS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

l_.str.1:                               ; @.str.1
	.asciz	"mr sparkle: malloc() failed\n"

	.comm	_DT_PROC_ERR,4,2                ; @DT_PROC_ERR
l_.str.2:                               ; @.str.2
	.asciz	"mr sparkle: Pread() failed\n"

	.comm	_DT_PROC_ALIGN,4,2              ; @DT_PROC_ALIGN
	.comm	_FASTTRAPIOC_MAKEPROBE,4,2      ; @FASTTRAPIOC_MAKEPROBE
l_.str.3:                               ; @.str.3
	.asciz	"fasttrap probe creation ioctl failed: %s\n"

	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
