	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_proc_get_traced_faults         ## -- Begin function proc_get_traced_faults
	.p2align	4, 0x90
_proc_get_traced_faults:                ## @proc_get_traced_faults
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movl	20(%rdi), %edi
	xorl	%esi, %esi
	callq	_find_procinfo_or_die
	movq	%rax, %rdi
LBB0_2:
	movl	8(%rdi), %edi
	movq	_PIOCGFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	_proc_get_traced_faults.flttrace(%rip), %r15
	movq	%r15, %rdx
	callq	_ioctl
	xorl	%ebx, %ebx
	testq	%rax, %rax
	cmovnsq	%r15, %rbx
	testq	%r14, %r14
	je	LBB0_5
## %bb.3:
	testq	%rax, %rax
	js	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_memcpy
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_proc_get_traced_faults.flttrace,4,2 ## @proc_get_traced_faults.flttrace
	.comm	_PIOCGFAULT,4,2                 ## @PIOCGFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_proc_get_traced_faults         ; -- Begin function proc_get_traced_faults
	.p2align	2
_proc_get_traced_faults:                ; @proc_get_traced_faults
	.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
	mov	x19, x1
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x0, #20]
	mov	w1, #0
	bl	_find_procinfo_or_die
LBB0_2:
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x8, _PIOCGFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIOCGFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x20, _proc_get_traced_faults.flttrace@PAGE
Lloh4:
	add	x20, x20, _proc_get_traced_faults.flttrace@PAGEOFF
	mov	x2, x20
	bl	_ioctl
	bic	x20, x20, x0, asr #63
	cbz	x19, LBB0_5
; %bb.3:
	tbnz	x0, #63, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_proc_get_traced_faults.flttrace,4,2 ; @proc_get_traced_faults.flttrace
	.comm	_PIOCGFAULT,4,2                 ; @PIOCGFAULT
.subsections_via_symbols
