	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtrace_work                    ## -- Begin function dtrace_work
	.p2align	4, 0x90
_dtrace_work:                           ## @dtrace_work
	.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	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_dtrace_status
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %edx
	cmpl	$4, %edx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	ja	LBB0_1
## %bb.5:
	movq	(%r14), %rcx
	movq	_DTRACEOPT_BUFPOLICY@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	(%rcx,%rsi,8), %rcx
	movl	$25, %esi
	btl	%edx, %esi
	jae	LBB0_6
## %bb.7:
	movq	$0, 8(%r14)
	movq	_DTRACE_WORKSTATUS_DONE@GOTPCREL(%rip), %rdx
	jmp	LBB0_8
LBB0_1:
                                        ## implicit-def: $rbx
	cmpl	$-1, %eax
	jne	LBB0_2
	jmp	LBB0_4
LBB0_6:
	movq	_DTRACE_WORKSTATUS_OKAY@GOTPCREL(%rip), %rdx
LBB0_8:
	movq	(%rdx), %rbx
	addl	$-131, %eax
	cmpl	$-2, %eax
	jb	LBB0_2
## %bb.9:
	movq	_DTRACEOPT_BUFPOLICY_SWITCH@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_2
## %bb.10:
	movq	_DTRACE_WORKSTATUS_OKAY@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rbx
	sete	%dil
	callq	_assert
	jmp	LBB0_11
LBB0_2:
	movq	%r14, %rdi
	callq	_dtrace_aggregate_snap
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	%r12, %rcx
	movq	%r15, %r8
	callq	_dtrace_consume
	cmpl	$-1, %eax
	jne	LBB0_11
LBB0_4:
	movq	_DTRACE_WORKSTATUS_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DTRACEOPT_BUFPOLICY,8,3        ## @DTRACEOPT_BUFPOLICY
	.comm	_DTRACE_WORKSTATUS_DONE,8,3     ## @DTRACE_WORKSTATUS_DONE
	.comm	_DTRACE_WORKSTATUS_OKAY,8,3     ## @DTRACE_WORKSTATUS_OKAY
	.comm	_DTRACE_WORKSTATUS_ERROR,8,3    ## @DTRACE_WORKSTATUS_ERROR
	.comm	_DTRACEOPT_BUFPOLICY_SWITCH,8,3 ## @DTRACEOPT_BUFPOLICY_SWITCH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtrace_work                    ; -- Begin function dtrace_work
	.p2align	2
_dtrace_work:                           ; @dtrace_work
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_dtrace_status
	sub	w10, w0, #128
	cmp	w10, #4
	b.hi	LBB0_3
; %bb.1:
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _DTRACEOPT_BUFPOLICY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DTRACEOPT_BUFPOLICY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
Lloh3:
	adrp	x8, _DTRACE_WORKSTATUS_OKAY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DTRACE_WORKSTATUS_OKAY@GOTPAGEOFF]
	mov	w11, #1
	lsl	w10, w11, w10
	mov	w11, #25
	tst	w10, w11
	b.eq	LBB0_4
; %bb.2:
	str	xzr, [x23, #8]
Lloh5:
	adrp	x10, _DTRACE_WORKSTATUS_DONE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _DTRACE_WORKSTATUS_DONE@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
                                        ; implicit-def: $x24
	cmn	w0, #1
	b.ne	LBB0_8
	b	LBB0_10
LBB0_4:
	mov	x10, x8
LBB0_5:
	ldr	x24, [x10]
	sub	w10, w0, #131
	cmn	w10, #2
	b.lo	LBB0_8
; %bb.6:
Lloh7:
	adrp	x10, _DTRACEOPT_BUFPOLICY_SWITCH@GOTPAGE
Lloh8:
	ldr	x10, [x10, _DTRACEOPT_BUFPOLICY_SWITCH@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_8
; %bb.7:
	ldr	x8, [x8]
	cmp	x24, x8
	cset	w0, eq
	bl	_assert
	b	LBB0_11
LBB0_8:
	mov	x0, x23
	bl	_dtrace_aggregate_snap
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_dtrace_consume
Lloh10:
	adrp	x8, _DTRACE_WORKSTATUS_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DTRACE_WORKSTATUS_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmn	w0, #1
	csel	x24, x8, x24, eq
	b	LBB0_11
LBB0_10:
Lloh13:
	adrp	x8, _DTRACE_WORKSTATUS_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DTRACE_WORKSTATUS_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	x24, [x8]
LBB0_11:
	mov	x0, x24
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_DTRACEOPT_BUFPOLICY,8,3        ; @DTRACEOPT_BUFPOLICY
	.comm	_DTRACE_WORKSTATUS_DONE,8,3     ; @DTRACE_WORKSTATUS_DONE
	.comm	_DTRACE_WORKSTATUS_OKAY,8,3     ; @DTRACE_WORKSTATUS_OKAY
	.comm	_DTRACE_WORKSTATUS_ERROR,8,3    ; @DTRACE_WORKSTATUS_ERROR
	.comm	_DTRACEOPT_BUFPOLICY_SWITCH,8,3 ; @DTRACEOPT_BUFPOLICY_SWITCH
.subsections_via_symbols
