	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_skas3_ptrace_faultinfo
_check_skas3_ptrace_faultinfo:          ## @check_skas3_ptrace_faultinfo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	leaq	L_.str(%rip), %rdi
	callq	_non_fatal
	xorl	%eax, %eax
	callq	_start_ptraced_child
	movl	%eax, %ebx
	movq	_PTRACE_FAULTINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-16(%rbp), %rcx
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_ptrace
	testl	%eax, %eax
	js	LBB0_1
## %bb.4:
	movq	_disable_ptrace_faultinfo@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_7
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_7
LBB0_6:
	movq	_ptrace_faultinfo@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	leaq	L_.str.4(%rip), %rdi
LBB0_7:
	callq	_non_fatal
LBB0_8:
	movl	%ebx, %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_stop_ptraced_child
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str.2(%rip), %rdi
	callq	_perror
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"  - PTRACE_FAULTINFO..."

	.comm	_PTRACE_FAULTINFO,4,2           ## @PTRACE_FAULTINFO
	.comm	_errno,8,3                      ## @errno
	.comm	_EIO,8,3                        ## @EIO
L_.str.1:                               ## @.str.1
	.asciz	"not found\n"

L_.str.2:                               ## @.str.2
	.asciz	"not found"

	.comm	_disable_ptrace_faultinfo,8,3   ## @disable_ptrace_faultinfo
L_.str.3:                               ## @.str.3
	.asciz	"found but disabled on command line\n"

	.comm	_ptrace_faultinfo,4,2           ## @ptrace_faultinfo
L_.str.4:                               ## @.str.4
	.asciz	"found\n"

	.no_dead_strip	_check_skas3_ptrace_faultinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_skas3_ptrace_faultinfo
_check_skas3_ptrace_faultinfo:          ; @check_skas3_ptrace_faultinfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_non_fatal
	bl	_start_ptraced_child
	mov	x19, x0
Lloh2:
	adrp	x8, _PTRACE_FAULTINFO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PTRACE_FAULTINFO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x3, sp, #8
	mov	x1, x19
	mov	w2, #0
	bl	_ptrace
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _disable_ptrace_faultinfo@GOTPAGE
Lloh6:
	ldr	x8, [x8, _disable_ptrace_faultinfo@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_3:
Lloh10:
	adrp	x8, _errno@GOTPAGE
Lloh11:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _EIO@GOTPAGE
Lloh14:
	ldr	x9, [x9, _EIO@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.4:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh18:
	adrp	x8, _ptrace_faultinfo@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ptrace_faultinfo@GOTPAGEOFF]
	mov	w9, #1
Lloh20:
	str	w9, [x8]
Lloh21:
	adrp	x0, l_.str.4@PAGE
Lloh22:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_6:
	bl	_non_fatal
LBB0_7:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	bl	_stop_ptraced_child
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_perror
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"  - PTRACE_FAULTINFO..."

	.comm	_PTRACE_FAULTINFO,4,2           ; @PTRACE_FAULTINFO
	.comm	_errno,8,3                      ; @errno
	.comm	_EIO,8,3                        ; @EIO
l_.str.1:                               ; @.str.1
	.asciz	"not found\n"

l_.str.2:                               ; @.str.2
	.asciz	"not found"

	.comm	_disable_ptrace_faultinfo,8,3   ; @disable_ptrace_faultinfo
l_.str.3:                               ; @.str.3
	.asciz	"found but disabled on command line\n"

	.comm	_ptrace_faultinfo,4,2           ; @ptrace_faultinfo
l_.str.4:                               ; @.str.4
	.asciz	"found\n"

	.no_dead_strip	_check_skas3_ptrace_faultinfo
.subsections_via_symbols
