	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_proc_get_traced_sysentry       ## -- Begin function proc_get_traced_sysentry
	.p2align	4, 0x90
_proc_get_traced_sysentry:              ## @proc_get_traced_sysentry
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movl	44(%r15), %edi
	xorl	%esi, %esi
	callq	_find_procinfo_or_die
	movq	%rax, %r15
LBB0_2:
	movl	16(%r15), %edi
	movq	_PIOCGENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	_proc_get_traced_sysentry.sysentry(%rip), %r12
	movq	%r12, %rdx
	callq	_ioctl
	xorl	%ebx, %ebx
	testq	%rax, %rax
	cmovnsq	%r12, %rbx
	testq	%r14, %r14
	je	LBB0_5
## %bb.3:
	testq	%rax, %rax
	js	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_sysset_t_size
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_memcpy
LBB0_5:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_proc_get_traced_sysentry.sysentry,4,2 ## @proc_get_traced_sysentry.sysentry
	.comm	_PIOCGENTRY,4,2                 ## @PIOCGENTRY
	.comm	_FD_STATUS,4,2                  ## @FD_STATUS
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_proc_get_traced_sysentry       ; -- Begin function proc_get_traced_sysentry
	.p2align	2
_proc_get_traced_sysentry:              ; @proc_get_traced_sysentry
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x20, #44]
	mov	w1, #0
	bl	_find_procinfo_or_die
	mov	x20, x0
LBB0_2:
	ldr	w0, [x20, #16]
Lloh0:
	adrp	x8, _PIOCGENTRY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIOCGENTRY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x21, _proc_get_traced_sysentry.sysentry@PAGE
Lloh4:
	add	x21, x21, _proc_get_traced_sysentry.sysentry@PAGEOFF
	mov	x2, x21
	bl	_ioctl
	bic	x21, x21, x0, asr #63
	cbz	x19, LBB0_5
; %bb.3:
	tbnz	x0, #63, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_sysset_t_size
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_memcpy
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_proc_get_traced_sysentry.sysentry,4,2 ; @proc_get_traced_sysentry.sysentry
	.comm	_PIOCGENTRY,4,2                 ; @PIOCGENTRY
	.comm	_FD_STATUS,4,2                  ; @FD_STATUS
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
.subsections_via_symbols
