	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	$0, -40(%rbp)
	movq	_AT_FDCWD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rsi), %rdx
	movq	16(%rsi), %rsi
	leaq	-40(%rbp), %rcx
	callq	_start_tracee
	movl	%eax, %r14d
	movq	8(%rbx), %rdi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_trycall
	movl	%eax, %ebx
	leaq	-48(%rbp), %rsi
	movl	%eax, %edi
	callq	_fstat
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_trycall
	movq	-48(%rbp), %r15
	movq	_PROT_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MAP_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	movq	%r15, %rsi
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	callq	_mmap
	movq	_MAP_FAILED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_1
## %bb.4:
	movl	%r14d, %edi
	movq	%rax, %rsi
	movq	%r15, %rdx
	callq	_transplant_vdso
	movq	_SIGSTOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_kill
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edi
	callq	_trycall
	leaq	L_.str.4(%rip), %rdi
	movl	%r14d, %esi
	callq	_printf
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	callq	_main.cold.1
	jmp	LBB0_2
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function main.cold.1
_main.cold.1:                           ## @main.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.2(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_AT_FDCWD,4,2                   ## @AT_FDCWD
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"open vdso"

L_.str.1:                               ## @.str.1
	.asciz	"stat vdso"

	.comm	_PROT_READ,4,2                  ## @PROT_READ
	.comm	_MAP_PRIVATE,4,2                ## @MAP_PRIVATE
	.comm	_MAP_FAILED,8,3                 ## @MAP_FAILED
L_.str.2:                               ## @.str.2
	.asciz	"mmap vdso"

	.comm	_SIGSTOP,4,2                    ## @SIGSTOP
L_.str.3:                               ## @.str.3
	.asciz	"pause process"

L_.str.4:                               ## @.str.4
	.asciz	"attach debugger to %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	str	xzr, [sp, #16]
Lloh3:
	adrp	x8, _AT_FDCWD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AT_FDCWD@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x1, [x20, #16]!
	add	x3, sp, #16
	mov	x2, x20
	bl	_start_tracee
	mov	x19, x0
	ldur	x0, [x20, #-8]
Lloh6:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_open
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_trycall
	mov	x21, x0
	add	x1, sp, #8
	bl	_fstat
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_trycall
	ldr	x20, [sp, #8]
Lloh13:
	adrp	x8, _PROT_READ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PROT_READ@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _MAP_PRIVATE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MAP_PRIVATE@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, #0
	mov	x1, x20
	mov	x4, x21
	mov	w5, #0
	bl	_mmap
Lloh19:
	adrp	x8, _MAP_FAILED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MAP_FAILED@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.1:
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_transplant_vdso
Lloh22:
	adrp	x8, _SIGSTOP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SIGSTOP@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kill
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_trycall
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_printf
	ldr	x8, [sp, #24]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_3:
	bl	_main.cold.1
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function main.cold.1
_main.cold.1:                           ; @main.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_perror
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_AT_FDCWD,4,2                   ; @AT_FDCWD
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"open vdso"

l_.str.1:                               ; @.str.1
	.asciz	"stat vdso"

	.comm	_PROT_READ,4,2                  ; @PROT_READ
	.comm	_MAP_PRIVATE,4,2                ; @MAP_PRIVATE
	.comm	_MAP_FAILED,8,3                 ; @MAP_FAILED
l_.str.2:                               ; @.str.2
	.asciz	"mmap vdso"

	.comm	_SIGSTOP,4,2                    ; @SIGSTOP
l_.str.3:                               ; @.str.3
	.asciz	"pause process"

l_.str.4:                               ; @.str.4
	.asciz	"attach debugger to %d\n"

.subsections_via_symbols
