	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lkdtm_WRITE_KERN               ## -- Begin function lkdtm_WRITE_KERN
	.p2align	4, 0x90
_lkdtm_WRITE_KERN:                      ## @lkdtm_WRITE_KERN
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_do_nothing@GOTPCREL(%rip), %r15
	movq	_do_overwritten@GOTPCREL(%rip), %r14
	movq	%r14, %rbx
	subq	(%r15), %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_pr_info
	movq	(%r15), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_memcpy
	addq	%r14, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_flush_icache_range
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_do_overwritten                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_do_nothing,8,3                 ## @do_nothing
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"attempting bad %zu byte write at %px\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lkdtm_WRITE_KERN               ; -- Begin function lkdtm_WRITE_KERN
	.p2align	2
_lkdtm_WRITE_KERN:                      ; @lkdtm_WRITE_KERN
	.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
Lloh0:
	adrp	x21, _do_nothing@GOTPAGE
Lloh1:
	ldr	x21, [x21, _do_nothing@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x19, _do_overwritten@GOTPAGE
Lloh3:
	ldr	x19, [x19, _do_overwritten@GOTPAGEOFF]
	sub	x20, x19, x8
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_pr_info
	ldr	x1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_memcpy
	add	x1, x19, x20
	mov	x0, x19
	bl	_flush_icache_range
	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
	b	_do_overwritten
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_do_nothing,8,3                 ; @do_nothing
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"attempting bad %zu byte write at %px\n"

.subsections_via_symbols
