	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inline_writestub               ## -- Begin function inline_writestub
	.p2align	4, 0x90
_inline_writestub:                      ## @inline_writestub
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movq	%rcx, %rbx
	movl	%edx, %r15d
	movl	%edi, %r12d
	movl	16(%rbp), %r14d
	leaq	L_.str(%rip), %rdi
	callq	_assem_debug
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_get_reg
	movl	%eax, %ebx
	movl	%eax, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	movl	%r14d, %edi
	callq	_save_regs
	movq	_EDX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	%esi, %ebx
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_emit_mov
LBB0_2:
	movq	_EAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_emit_movimm
	movq	_STOREB_STUB@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	_WriteInvalidateByte@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_emit_call
LBB0_4:
	movq	_STOREW_STUB@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	_WriteInvalidateWord@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_emit_call
LBB0_6:
	movq	_STOREL_STUB@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_8
## %bb.7:
	movq	_WriteInvalidateLong@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_emit_call
LBB0_8:
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_restore_regs                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"inline_writestub\n"

	.comm	_EDX,4,2                        ## @EDX
	.comm	_EAX,4,2                        ## @EAX
	.comm	_STOREB_STUB,4,2                ## @STOREB_STUB
	.comm	_WriteInvalidateByte,8,3        ## @WriteInvalidateByte
	.comm	_STOREW_STUB,4,2                ## @STOREW_STUB
	.comm	_WriteInvalidateWord,8,3        ## @WriteInvalidateWord
	.comm	_STOREL_STUB,4,2                ## @STOREL_STUB
	.comm	_WriteInvalidateLong,8,3        ## @WriteInvalidateLong
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inline_writestub               ; -- Begin function inline_writestub
	.p2align	2
_inline_writestub:                      ; @inline_writestub
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x6
	mov	x22, x4
	mov	x23, x3
	mov	x21, x2
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_assem_debug
	mov	x0, x23
	mov	x1, x22
	bl	_get_reg
	mov	x22, x0
	mvn	w8, w0
	lsr	w0, w8, #31
	bl	_assert
	mov	x0, x19
	bl	_save_regs
Lloh2:
	adrp	x8, _EDX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EDX@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	cmp	w22, w1
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_emit_mov
LBB0_2:
Lloh5:
	adrp	x8, _EAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EAX@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_emit_movimm
Lloh8:
	adrp	x8, _STOREB_STUB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _STOREB_STUB@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _WriteInvalidateByte@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WriteInvalidateByte@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_emit_call
LBB0_4:
Lloh14:
	adrp	x8, _STOREW_STUB@GOTPAGE
Lloh15:
	ldr	x8, [x8, _STOREW_STUB@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_6
; %bb.5:
Lloh17:
	adrp	x8, _WriteInvalidateWord@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WriteInvalidateWord@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_emit_call
LBB0_6:
Lloh20:
	adrp	x8, _STOREL_STUB@GOTPAGE
Lloh21:
	ldr	x8, [x8, _STOREL_STUB@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_8
; %bb.7:
Lloh23:
	adrp	x8, _WriteInvalidateLong@GOTPAGE
Lloh24:
	ldr	x8, [x8, _WriteInvalidateLong@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_emit_call
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_restore_regs
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"inline_writestub\n"

	.comm	_EDX,4,2                        ; @EDX
	.comm	_EAX,4,2                        ; @EAX
	.comm	_STOREB_STUB,4,2                ; @STOREB_STUB
	.comm	_WriteInvalidateByte,8,3        ; @WriteInvalidateByte
	.comm	_STOREW_STUB,4,2                ; @STOREW_STUB
	.comm	_WriteInvalidateWord,8,3        ; @WriteInvalidateWord
	.comm	_STOREL_STUB,4,2                ; @STOREL_STUB
	.comm	_WriteInvalidateLong,8,3        ; @WriteInvalidateLong
.subsections_via_symbols
