	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtrace_stop                    ## -- Begin function dtrace_stop
	.p2align	4, 0x90
_dtrace_stop:                           ## @dtrace_stop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	cmpl	$0, 4(%rdi)
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movslq	(%rdi), %r14
	movq	_DTRACEIOC_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	16(%rdi), %rdx
	callq	_dt_ioctl
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.2:
	movl	$1, 4(%rbx)
	movq	_DTRACEIOC_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	(,%r14,4), %rdx
	addq	8(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_dt_ioctl
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.3:
	movq	8(%rbx), %rax
	movl	%r14d, %ecx
	xorl	$1, %ecx
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %rsi
	leaq	(%rax,%r14,4), %rdx
	movq	%rbx, %rdi
	callq	_dt_handle_status
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$-1, %ecx
	sete	%al
	negl	%eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dt_set_errno                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DTRACEIOC_STOP,4,2             ## @DTRACEIOC_STOP
	.comm	_errno,4,2                      ## @errno
	.comm	_DTRACEIOC_STATUS,4,2           ## @DTRACEIOC_STATUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtrace_stop                    ; -- Begin function dtrace_stop
	.p2align	2
_dtrace_stop:                           ; @dtrace_stop
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_5
LBB0_2:
	mov	x19, x0
	ldrsw	x20, [x0]
Lloh0:
	adrp	x8, _DTRACEIOC_STOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DTRACEIOC_STOP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, x0, #16
	bl	_dt_ioctl
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.3:
	mov	w8, #1
	str	w8, [x19, #4]
Lloh3:
	adrp	x8, _DTRACEIOC_STATUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DTRACEIOC_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	add	x2, x8, x20, lsl #2
	mov	x0, x19
	bl	_dt_ioctl
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.4:
	ldr	x8, [x19, #8]
	eor	w9, w20, #0x1
	add	x1, x8, w9, sxtw #2
	add	x2, x8, x20, lsl #2
	mov	x0, x19
	bl	_dt_handle_status
	cmn	w0, #1
	csetm	w0, eq
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh6:
	adrp	x8, _errno@GOTPAGE
Lloh7:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dt_set_errno
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DTRACEIOC_STOP,4,2             ; @DTRACEIOC_STOP
	.comm	_errno,4,2                      ; @errno
	.comm	_DTRACEIOC_STATUS,4,2           ; @DTRACEIOC_STATUS
.subsections_via_symbols
