	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FixupDll
_FixupDll:                              ## @FixupDll
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	l___const.FixupDll.Replacement2+16(%rip), %eax
	movl	%eax, -64(%rbp)
	movaps	l___const.FixupDll.Replacement2(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movl	%eax, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movl	l___const.FixupDll.Replacement3+16(%rip), %eax
	movl	%eax, -128(%rbp)
	movaps	l___const.FixupDll.Replacement3(%rip), %xmm0
	movaps	%xmm0, -144(%rbp)
	movq	(%rdi), %rbx
	leaq	8(%rdi), %r14
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_DbgPrint
	xorl	%eax, %eax
	callq	_NtCurrentProcess
	leaq	137838(%rbx), %r12
	leaq	-176(%rbp), %rdx
	leaq	-180(%rbp), %r8
	movl	%eax, %edi
	movq	%r12, %rsi
	movl	$5, %ecx
	callq	_NtReadVirtualMemory
	movl	%eax, %edi
	callq	_NT_SUCCESS
	testl	%eax, %eax
	je	LBB0_13
## %bb.1:
	cmpl	$5, -180(%rbp)
	jne	LBB0_13
## %bb.2:
	leaq	_FixupDll.Match1(%rip), %rsi
	leaq	-176(%rbp), %rdi
	movl	$20, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_3
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	callq	_NtCurrentProcess
	leaq	137988(%rbx), %r13
	leaq	-176(%rbp), %rdx
	leaq	-180(%rbp), %r8
	movl	%eax, %edi
	movq	%r13, %rsi
	movl	$5, %ecx
	callq	_NtReadVirtualMemory
	movl	%eax, %edi
	callq	_NT_SUCCESS
	testl	%eax, %eax
	je	LBB0_13
## %bb.4:
	cmpl	$5, -180(%rbp)
	jne	LBB0_13
## %bb.5:
	leaq	_FixupDll.Match2(%rip), %rsi
	leaq	-176(%rbp), %rdi
	movl	$20, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.6:
	xorl	%eax, %eax
	callq	_NtCurrentProcess
	leaq	138300(%rbx), %rsi
	leaq	-176(%rbp), %rdx
	leaq	-180(%rbp), %r8
	movl	%eax, %edi
	movq	%rsi, -192(%rbp)                ## 8-byte Spill
	movl	$5, %ecx
	callq	_NtReadVirtualMemory
	movl	%eax, %edi
	callq	_NT_SUCCESS
	testl	%eax, %eax
	je	LBB0_13
## %bb.7:
	cmpl	$5, -180(%rbp)
	jne	LBB0_13
## %bb.8:
	leaq	_FixupDll.Match3(%rip), %rsi
	leaq	-176(%rbp), %rdi
	movl	$20, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.9:
	movq	(%r15), %rdx
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_DbgPrint
	leaq	-80(%rbp), %rsi
	movq	%r12, %rdi
	movl	$20, %edx
	callq	_Write
	testl	%eax, %eax
	je	LBB0_13
## %bb.10:
	leaq	-112(%rbp), %rsi
	movq	%r13, %rdi
	movl	$20, %edx
	callq	_Write
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:
	leaq	-144(%rbp), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movl	$20, %edx
	callq	_Write
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	callq	_NtCurrentProcess
	movl	%eax, %edi
	movq	%rbx, %rsi
	movl	$139264, %edx                   ## imm = 0x22000
	callq	_NtFlushInstructionCache
	movq	(%r15), %rdx
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	callq	_DbgPrint
	jmp	LBB0_13
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @FixupDll.Match1
_FixupDll.Match1:
	.long	12                              ## 0xc
	.long	139                             ## 0x8b
	.long	252                             ## 0xfc
	.long	243                             ## 0xf3
	.long	165                             ## 0xa5

	.p2align	4                               ## @FixupDll.Match2
_FixupDll.Match2:
	.long	12                              ## 0xc
	.long	139                             ## 0x8b
	.long	252                             ## 0xfc
	.long	243                             ## 0xf3
	.long	165                             ## 0xa5

	.p2align	4                               ## @FixupDll.Match3
_FixupDll.Match3:
	.long	176                             ## 0xb0
	.long	139                             ## 0x8b
	.long	252                             ## 0xfc
	.long	243                             ## 0xf3
	.long	165                             ## 0xa5

	.p2align	4                               ## @__const.FixupDll.Replacement2
l___const.FixupDll.Replacement2:
	.long	16                              ## 0x10
	.long	137                             ## 0x89
	.long	52                              ## 0x34
	.long	36                              ## 0x24
	.long	144                             ## 0x90

	.p2align	4                               ## @__const.FixupDll.Replacement3
l___const.FixupDll.Replacement3:
	.long	180                             ## 0xb4
	.long	137                             ## 0x89
	.long	52                              ## 0x34
	.long	36                              ## 0x24
	.long	144                             ## 0x90

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Module %wZ Loaded at 0x%p, we should patch!\n"

L_.str.1:                               ## @.str.1
	.asciz	"Module %wZ Loaded at 0x%p, OK to patch!\n"

L_.str.2:                               ## @.str.2
	.asciz	"Module %wZ Loaded at 0x%p, patched!\n"

	.comm	_OFFSET_1,8,3                   ## @OFFSET_1
	.comm	_OFFSET_2,8,3                   ## @OFFSET_2
	.comm	_OFFSET_3,8,3                   ## @OFFSET_3
	.no_dead_strip	_FixupDll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FixupDll
_FixupDll:                              ; @FixupDll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	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, #-56]
	mov	w24, #6766
	movk	w24, #2, lsl #16
Lloh3:
	adrp	x8, l___const.FixupDll.Replacement2@PAGE
Lloh4:
	add	x8, x8, l___const.FixupDll.Replacement2@PAGEOFF
	ldr	q0, [x8]
	stur	q0, [x29, #-80]
	ldr	w8, [x8, #16]
	stur	w8, [x29, #-64]
	str	q0, [sp, #64]
	str	w8, [sp, #80]
Lloh5:
	adrp	x8, l___const.FixupDll.Replacement3@PAGE
Lloh6:
	add	x8, x8, l___const.FixupDll.Replacement3@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #32]
	ldr	w8, [x8, #16]
	str	w8, [sp, #48]
	mov	x20, x0
	ldr	x21, [x20], #8
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	bl	_DbgPrint
	bl	_NtCurrentProcess
	add	x22, x21, x24
	add	x2, sp, #12
	add	x4, sp, #8
	mov	x1, x22
	mov	w3, #5
	bl	_NtReadVirtualMemory
	bl	_NT_SUCCESS
	ldr	w8, [sp, #8]
	cmp	w0, #0
	ccmp	w8, #5, #0, ne
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x1, _FixupDll.Match1@PAGE
Lloh10:
	add	x1, x1, _FixupDll.Match1@PAGEOFF
	add	x0, sp, #12
	mov	w2, #20
	bl	_memcmp
	cbz	x0, LBB0_4
LBB0_2:
	ldur	x8, [x29, #-56]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.3:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_4:
	bl	_NtCurrentProcess
	add	x8, x24, x21
	add	x23, x8, #150
	add	x2, sp, #12
	add	x4, sp, #8
	mov	x1, x23
	mov	w3, #5
	bl	_NtReadVirtualMemory
	bl	_NT_SUCCESS
	cbz	w0, LBB0_2
; %bb.5:
	ldr	w8, [sp, #8]
	cmp	w8, #5
	b.ne	LBB0_2
; %bb.6:
Lloh14:
	adrp	x1, _FixupDll.Match2@PAGE
Lloh15:
	add	x1, x1, _FixupDll.Match2@PAGEOFF
	add	x0, sp, #12
	mov	w2, #20
	bl	_memcmp
	cbnz	x0, LBB0_2
; %bb.7:
	bl	_NtCurrentProcess
	add	x8, x24, x21
	add	x24, x8, #462
	add	x2, sp, #12
	add	x4, sp, #8
	mov	x1, x24
	mov	w3, #5
	bl	_NtReadVirtualMemory
	bl	_NT_SUCCESS
	cbz	w0, LBB0_2
; %bb.8:
	ldr	w8, [sp, #8]
	cmp	w8, #5
	b.ne	LBB0_2
; %bb.9:
Lloh16:
	adrp	x1, _FixupDll.Match3@PAGE
Lloh17:
	add	x1, x1, _FixupDll.Match3@PAGEOFF
	add	x0, sp, #12
	mov	w2, #20
	bl	_memcmp
	cbnz	x0, LBB0_2
; %bb.10:
	ldr	x2, [x19]
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_DbgPrint
	sub	x1, x29, #80
	mov	x0, x22
	mov	w2, #20
	bl	_Write
	cbz	w0, LBB0_2
; %bb.11:
	add	x1, sp, #64
	mov	x0, x23
	mov	w2, #20
	bl	_Write
	cbz	w0, LBB0_2
; %bb.12:
	add	x1, sp, #32
	mov	x0, x24
	mov	w2, #20
	bl	_Write
	cbz	w0, LBB0_2
; %bb.13:
	bl	_NtCurrentProcess
	mov	x1, x21
	mov	w2, #8192
	movk	w2, #2, lsl #16
	bl	_NtFlushInstructionCache
	ldr	x2, [x19]
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_DbgPrint
	b	LBB0_2
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @FixupDll.Match1
_FixupDll.Match1:
	.long	12                              ; 0xc
	.long	139                             ; 0x8b
	.long	252                             ; 0xfc
	.long	243                             ; 0xf3
	.long	165                             ; 0xa5

	.p2align	2                               ; @FixupDll.Match2
_FixupDll.Match2:
	.long	12                              ; 0xc
	.long	139                             ; 0x8b
	.long	252                             ; 0xfc
	.long	243                             ; 0xf3
	.long	165                             ; 0xa5

	.p2align	2                               ; @FixupDll.Match3
_FixupDll.Match3:
	.long	176                             ; 0xb0
	.long	139                             ; 0x8b
	.long	252                             ; 0xfc
	.long	243                             ; 0xf3
	.long	165                             ; 0xa5

	.p2align	2                               ; @__const.FixupDll.Replacement2
l___const.FixupDll.Replacement2:
	.long	16                              ; 0x10
	.long	137                             ; 0x89
	.long	52                              ; 0x34
	.long	36                              ; 0x24
	.long	144                             ; 0x90

	.p2align	2                               ; @__const.FixupDll.Replacement3
l___const.FixupDll.Replacement3:
	.long	180                             ; 0xb4
	.long	137                             ; 0x89
	.long	52                              ; 0x34
	.long	36                              ; 0x24
	.long	144                             ; 0x90

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Module %wZ Loaded at 0x%p, we should patch!\n"

l_.str.1:                               ; @.str.1
	.asciz	"Module %wZ Loaded at 0x%p, OK to patch!\n"

l_.str.2:                               ; @.str.2
	.asciz	"Module %wZ Loaded at 0x%p, patched!\n"

	.comm	_OFFSET_1,8,3                   ; @OFFSET_1
	.comm	_OFFSET_2,8,3                   ; @OFFSET_2
	.comm	_OFFSET_3,8,3                   ; @OFFSET_3
	.no_dead_strip	_FixupDll
.subsections_via_symbols
