	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_pid_create_return_probe     ## -- Begin function dt_pid_create_return_probe
	.p2align	4, 0x90
_dt_pid_create_return_probe:            ## @dt_pid_create_return_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	(%rcx), %edi
	addl	$4, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	movl	(%rbx), %edx
	movl	4(%rbx), %ecx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_Pread
                                        ## kill: def $eax killed $eax def $rax
	cmpl	(%rbx), %eax
	jne	LBB0_4
## %bb.5:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rax
	movl	$0, (%r12,%rax,4)
	movq	_DTFTP_RETURN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movl	4(%rbx), %eax
	movl	%eax, (%r15)
	movl	(%rbx), %eax
	movl	%eax, 4(%r15)
	movq	$0, 8(%r15)
	cmpl	$4, %eax
	jl	LBB0_18
## %bb.6:
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_dt_dprintf
	movq	8(%r15), %rax
	movq	16(%r15), %rcx
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%r15)
	movl	%r14d, (%rcx,%rax,4)
	movl	(%rbx), %eax
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r13
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rcx
	addq	$4, %r14
	cmpq	%rcx, %r13
	jge	LBB0_18
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%r14), %edx
	cmpq	$1317011488, %rdx               ## imm = 0x4E800020
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%edx, %ecx
	andl	$-67108863, %ecx                ## imm = 0xFC000001
	cmpl	$1207959552, %ecx               ## imm = 0x48000000
	jne	LBB0_17
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	%edx, %ecx
	andl	$-67108864, %ecx                ## imm = 0xFC000000
	cmpl	$1207959552, %ecx               ## imm = 0x48000000
	jne	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%edx, %ecx
	andl	$67108860, %ecx                 ## imm = 0x3FFFFFC
	testb	$2, %dl
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movslq	4(%rbx), %rdx
	addq	%rdx, %rcx
	addq	%r14, %rcx
	jmp	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	testl	$33554432, %ecx                 ## imm = 0x2000000
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_UINTPTR_MAX@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	addq	$-67108863, %rdx                ## imm = 0xFC000001
	orq	%rdx, %rcx
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movslq	4(%rbx), %rdx
	cmpq	%rdx, %rcx
	jb	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movslq	%eax, %rsi
	addq	%rsi, %rdx
	cmpq	%rdx, %rcx
	ja	LBB0_16
	jmp	LBB0_17
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dt_dprintf
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_dt_dprintf
	movq	%r12, %rdi
	callq	_free
LBB0_2:
	movq	_DT_PROC_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_21:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	%r12, %rdi
	callq	_free
	movq	8(%r15), %rax
	testq	%rax, %rax
	jle	LBB0_21
## %bb.19:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edi
	movq	_FASTTRAPIOC_MAKEPROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_20
## %bb.22:
	movq	_errno@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_strerror
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_dt_dprintf
	movl	(%r14), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dt_set_errno                   ## TAILCALL
LBB0_20:
	movq	8(%r15), %rax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mr sparkle: malloc() failed\n"

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

	.comm	_DTFTP_RETURN,4,2               ## @DTFTP_RETURN
	.comm	_UINTPTR_MAX,4,2                ## @UINTPTR_MAX
L_.str.2:                               ## @.str.2
	.asciz	"return at offset %x\n"

	.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_return_probe     ; -- Begin function dt_pid_create_return_probe
	.p2align	2
_dt_pid_create_return_probe:            ; @dt_pid_create_return_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, x3
	mov	x20, x2
	mov	x19, x1
	mov	x23, x0
	ldr	w8, [x3]
	add	w0, w8, #4
	bl	_malloc
	cbz	x0, LBB0_13
; %bb.1:
	mov	x22, x0
	ldp	w2, w3, [x21]
	mov	x0, x23
	mov	x1, x22
	bl	_Pread
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_14
; %bb.2:
	add	w8, w0, #3
	cmp	w0, #0
	csel	w8, w8, w0, lt
	asr	w8, w8, #2
	str	wzr, [x22, w8, sxtw #2]
Lloh0:
	adrp	x8, _DTFTP_RETURN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DTFTP_RETURN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	ldr	d0, [x21]
	rev64.2s	v1, v0
	str	d1, [x20]
	str	xzr, [x20, #8]
	fmov	w8, s0
	cmp	w8, #4
	b.lt	LBB0_17
; %bb.3:
	mov	x24, #0
	mov	x25, #0
	mov	w26, #32
	movk	w26, #20096, lsl #16
	mov	w27, #1207959552
	mov	x28, #-67108863
Lloh3:
	adrp	x23, l_.str.2@PAGE
Lloh4:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x24, [sp]
	mov	x0, x23
	bl	_dt_dprintf
	ldp	x9, x8, [x20, #8]
	add	x10, x9, #1
	str	x10, [x20, #8]
	str	w24, [x8, x9, lsl #2]
	ldr	w8, [x21]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x25, x25, #1
	add	w9, w8, #3
	cmp	w8, #0
	csel	w9, w9, w8, lt
	asr	w9, w9, #2
	add	x24, x24, #4
	cmp	x25, w9, sxtw
	b.ge	LBB0_17
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x22, x24]
	and	w9, w10, #0xfc000001
	cmp	w10, w26
	ccmp	w9, w27, #4, ne
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ubfx	x9, x10, #26, #6
	cmp	w9, #18
	b.ne	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	and	x9, x10, #0x3fffffc
	tbnz	w10, #1, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrsw	x10, [x21, #4]
	add	x9, x9, x10
	add	x9, x24, x9
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	tbz	w9, #25, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh5:
	adrp	x10, _UINTPTR_MAX@GOTPAGE
Lloh6:
	ldr	x10, [x10, _UINTPTR_MAX@GOTPAGEOFF]
Lloh7:
	ldrsw	x10, [x10]
	add	x10, x10, x28
	orr	x9, x10, x9
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrsw	x10, [x21, #4]
	cmp	x9, x10
	add	x10, x10, w8, sxtw
	ccmp	x9, x10, #2, hs
	b.hi	LBB0_4
	b	LBB0_5
LBB0_13:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dt_dprintf
	b	LBB0_15
LBB0_14:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dt_dprintf
	mov	x0, x22
	bl	_free
LBB0_15:
Lloh12:
	adrp	x8, _DT_PROC_ERR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DT_PROC_ERR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_16:
                                        ; kill: def $w0 killed $w0 killed $x0
	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_17:
	mov	x0, x22
	bl	_free
	ldr	x0, [x20, #8]
	cmp	x0, #1
	b.lt	LBB0_16
; %bb.18:
	ldr	w0, [x19]
Lloh15:
	adrp	x8, _FASTTRAPIOC_MAKEPROBE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FASTTRAPIOC_MAKEPROBE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_ioctl
	cbz	x0, LBB0_20
; %bb.19:
Lloh18:
	adrp	x20, _errno@GOTPAGE
Lloh19:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	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_20:
	ldr	x0, [x20, #8]
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mr sparkle: malloc() failed\n"

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

	.comm	_DTFTP_RETURN,4,2               ; @DTFTP_RETURN
	.comm	_UINTPTR_MAX,4,2                ; @UINTPTR_MAX
l_.str.2:                               ; @.str.2
	.asciz	"return at offset %x\n"

	.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
