	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_transplant_vdso                ## -- Begin function transplant_vdso
	.p2align	4, 0x90
_transplant_vdso:                       ## @transplant_vdso
	.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
	subq	$328, %rsp                      ## imm = 0x148
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, -360(%rbp)                ## 8-byte Spill
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_sprintf
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fopen
	movq	%rax, %rbx
	leaq	-336(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%rax, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	leaq	-336(%rbp), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%rbx, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, -344(%rbp)
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-352(%rbp), %rdx
	leaq	-368(%rbp), %rcx
	leaq	-344(%rbp), %r8
	callq	_sscanf
	movq	-344(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	movq	%rax, %r13
	movq	-344(%rbp), %rdi
	callq	_free
	testq	%r13, %r13
	jne	LBB0_4
LBB0_5:
	movq	%rbx, %rdi
	callq	_fclose
	movq	-352(%rbp), %rdx
	cmpq	-368(%rbp), %rdx
	jge	LBB0_10
## %bb.6:
	movq	_PTRACE_POKEDATA@GOTPCREL(%rip), %r14
	movq	%rdx, %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rax
	subq	%rdx, %rax
	cmpq	%r15, %rax
	jae	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-360(%rbp), %rax                ## 8-byte Reload
	subq	%rdx, %rax
	movq	(%rax,%rbx), %rcx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ecx, %ecx
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r14), %edi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	callq	_ptrace
	testq	%rax, %rax
	js	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	addq	$8, %rbx
	movq	-352(%rbp), %rdx
	cmpq	-368(%rbp), %rbx
	jl	LBB0_7
LBB0_10:
	movq	-360(%rbp), %rax                ## 8-byte Reload
	addq	24(%rax), %rdx
	movq	_AX_SYSINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_aux_write
	movq	_AX_SYSINFO_EHDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-352(%rbp), %rdx
	movl	%r12d, %edi
	callq	_aux_write
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.12:
	addq	$328, %rsp                      ## imm = 0x148
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	_transplant_vdso.cold.1
	jmp	LBB0_11
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function transplant_vdso.cold.1
_transplant_vdso.cold.1:                ## @transplant_vdso.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.4(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/proc/%d/maps"

L_.str.1:                               ## @.str.1
	.asciz	"r"

L_.str.2:                               ## @.str.2
	.asciz	"%8x-%8x %*s %*s %*s %*s %ms\n"

L_.str.3:                               ## @.str.3
	.asciz	"[vdso]"

	.comm	_PTRACE_POKEDATA,4,2            ## @PTRACE_POKEDATA
L_.str.4:                               ## @.str.4
	.asciz	"ptrace vdso poke"

	.comm	_AX_SYSINFO,4,2                 ## @AX_SYSINFO
	.comm	_AX_SYSINFO_EHDR,4,2            ## @AX_SYSINFO_EHDR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_transplant_vdso                ; -- Begin function transplant_vdso
	.p2align	2
_transplant_vdso:                       ; @transplant_vdso
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #400
	.cfi_def_cfa_offset 400
	stp	x26, x25, [sp, #320]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #336]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #352]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #368]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #384]            ; 16-byte Folded Spill
	add	x29, sp, #384
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	sub	x0, x29, #104
	mov	x2, x19
	bl	_sprintf
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	sub	x0, x29, #104
	bl	_fopen
	mov	x22, x0
	add	x0, sp, #24
	mov	w1, #256
	mov	x2, x22
	bl	_fgets
	cbz	x0, LBB0_5
; %bb.1:
Lloh7:
	adrp	x23, l_.str.2@PAGE
Lloh8:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh9:
	adrp	x24, l_.str.3@PAGE
Lloh10:
	add	x24, x24, l_.str.3@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #24
	mov	w1, #256
	mov	x2, x22
	bl	_fgets
	cbz	x0, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [sp]
	add	x0, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x4, sp
	mov	x1, x23
	bl	_sscanf
	ldr	x0, [sp]
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x24
	bl	_strcmp
	mov	x25, x0
	ldr	x0, [sp]
	bl	_free
	cbnz	x25, LBB0_2
LBB0_5:
	mov	x0, x22
	bl	_fclose
	ldp	x9, x8, [sp, #8]
	cmp	x8, x9
	b.ge	LBB0_12
; %bb.6:
Lloh11:
	adrp	x23, _PTRACE_POKEDATA@GOTPAGE
Lloh12:
	ldr	x23, [x23, _PTRACE_POKEDATA@GOTPAGEOFF]
	mov	x22, x8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	x9, x22, x8
	cmp	x9, x21
	b.hs	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	x8, x20, x8
	ldr	x3, [x8, x22]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x3, #0
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x23]
	mov	x1, x19
	mov	x2, x22
	bl	_ptrace
	tbnz	x0, #63, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #8
	ldp	x9, x8, [sp, #8]
	cmp	x22, x9
	b.lt	LBB0_7
LBB0_12:
	ldr	x9, [x20, #24]
	add	x2, x8, x9
Lloh13:
	adrp	x8, _AX_SYSINFO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AX_SYSINFO@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_aux_write
Lloh16:
	adrp	x8, _AX_SYSINFO_EHDR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AX_SYSINFO_EHDR@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldr	x2, [sp, #16]
	mov	x0, x19
	bl	_aux_write
	ldur	x8, [x29, #-72]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.13:
	ldp	x29, x30, [sp, #384]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #368]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #352]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #336]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #320]            ; 16-byte Folded Reload
	add	sp, sp, #400
	ret
LBB0_14:
	bl	_transplant_vdso.cold.1
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function transplant_vdso.cold.1
_transplant_vdso.cold.1:                ; @transplant_vdso.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
Lloh22:
	adrp	x0, l_.str.4@PAGE
Lloh23:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_perror
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/proc/%d/maps"

l_.str.1:                               ; @.str.1
	.asciz	"r"

l_.str.2:                               ; @.str.2
	.asciz	"%8x-%8x %*s %*s %*s %*s %ms\n"

l_.str.3:                               ; @.str.3
	.asciz	"[vdso]"

	.comm	_PTRACE_POKEDATA,4,2            ; @PTRACE_POKEDATA
l_.str.4:                               ; @.str.4
	.asciz	"ptrace vdso poke"

	.comm	_AX_SYSINFO,4,2                 ; @AX_SYSINFO
	.comm	_AX_SYSINFO_EHDR,4,2            ; @AX_SYSINFO_EHDR
.subsections_via_symbols
