	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcache_write_line
_dcache_write_line:                     ## @dcache_write_line
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$1, %eax
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	cmpq	$0, 24(%rsi)
	je	LBB0_22
## %bb.1:
	movq	_LINE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	jle	LBB0_21
## %bb.2:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r12
	movq	8(%rax), %r13
	movq	_ENTRY_DIRTY@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
                                        ##       Child Loop BB0_13 Depth 3
                                        ##       Child Loop BB0_17 Depth 3
	movq	%r12, %rdi
	callq	_lookup_mem_region
	movl	%ebx, %edx
	addq	%r12, %rdx
	movq	(%rax), %rcx
	movl	%ecx, %r14d
	subl	%r12d, %r14d
	cmpq	%rcx, %rdx
	cmovll	%ebx, %r14d
	cmpl	$0, 16(%rax)
	je	LBB0_19
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %rax
	movq	(%rax), %rdx
	movq	_MEM_RO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_5
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r14d, %rax
	addq	%rax, %r12
	addq	%rax, %r13
	subl	%r14d, %ebx
	movq	%r13, %rsi
	movl	%ebx, %edx
	movq	%r12, %rax
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r12
	movl	%edx, %ebx
	movq	%rsi, %r13
	testl	%edx, %edx
	jg	LBB0_3
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	movl	%ebx, %edx
	movq	%r12, %rax
	testl	%r14d, %r14d
	jg	LBB0_8
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=2
	movq	%r15, %r12
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	testl	%r14d, %r14d
	movq	%r15, %rax
	movq	_ENTRY_DIRTY@GOTPCREL(%rip), %r15
	jle	LBB0_20
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
                                        ##       Child Loop BB0_13 Depth 3
                                        ##       Child Loop BB0_17 Depth 3
	movq	%r12, %rdi
	callq	_XFORM
	movq	%r14, %r11
	movq	(%r15), %r10
	movq	%rax, %rsi
	shlq	$32, %rsi
	movslq	%eax, %rdi
	leal	-1(%r14), %ecx
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%r13), %rdx
	incq	%rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edx
	subl	%r11d, %edx
	leaq	(%r12,%rcx), %r13
	incq	%r13
	leal	(%rdi,%r14), %r8d
	shlq	$3, %rdi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addq	16(%rcx), %rdi
	movl	%r11d, %r11d
	movl	%eax, %r14d
	xorl	%ecx, %ecx
	movabsq	$4294967296, %r9                ## imm = 0x100000000
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	%r10, (%rdi)
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=3
	addq	%r9, %rsi
	decq	%rcx
	addq	$8, %rdi
	leal	(%r11,%rcx), %ebx
	incl	%ebx
	incl	%r14d
	cmpl	$1, %ebx
	jg	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=2
	xorl	%r11d, %r11d
	movl	%r8d, %r14d
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %r15
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=2
	subq	%rcx, %rax
	movq	(%r15), %rsi
	addl	%ecx, %r11d
	leal	(%r11,%rax), %ebx
	subq	%rcx, %r12
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	addq	%rcx, %rdx
	subq	%rcx, -56(%rbp)                 ## 8-byte Folded Spill
	movslq	%r14d, %rcx
	shlq	$3, %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	16(%rdi), %rcx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	%rsi, (%rcx)
	jne	LBB0_23
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=3
	leal	-1(%r11), %edi
	incl	%r14d
	addq	$8, %rcx
	cmpl	$1, %r11d
	movl	%edi, %r11d
	jg	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=2
	xorl	%r11d, %r11d
	movl	%eax, %r8d
	movq	%r12, %r15
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %r14d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_8 Depth=2
	movl	%eax, %r8d
	movq	%r12, %r15
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	%r11, -64(%rbp)                 ## 8-byte Spill
	subl	%r8d, %r14d
	jle	LBB0_7
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rdx, %r12
	movq	%r15, %rdi
	movl	%r14d, %edx
	movl	$1, %ecx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	%rsi, %r13
	callq	_do_xfer_memory
	testl	%eax, %eax
	jle	LBB0_18
## %bb.6:                               ##   in Loop: Header=BB0_17 Depth=3
	movl	%eax, %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_XFORM
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rdi
	movq	_ENTRY_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_memset
	movl	%ebx, %eax
	addq	%rax, %r15
	addq	%rax, %r13
	movq	%r12, %rdx
	subl	%ebx, %edx
	subl	%ebx, %r14d
	movq	%r13, %rsi
	jg	LBB0_17
	jmp	LBB0_7
LBB0_18:
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_21:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, 24(%rax)
	movl	$1, %eax
LBB0_22:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LINE_SIZE,4,2                  ## @LINE_SIZE
	.comm	_MEM_RO,8,3                     ## @MEM_RO
	.comm	_ENTRY_DIRTY,8,3                ## @ENTRY_DIRTY
	.comm	_ENTRY_OK,4,2                   ## @ENTRY_OK
	.no_dead_strip	_dcache_write_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcache_write_line
_dcache_write_line:                     ; @dcache_write_line
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x1, #24]
	cbz	x8, LBB0_23
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x8, _LINE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LINE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w28, [x8]
	cmp	w28, #1
	b.lt	LBB0_22
; %bb.2:
	ldp	x21, x22, [x19]
	mov	x27, #4294967296
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
                                        ;       Child Loop BB0_13 Depth 3
                                        ;       Child Loop BB0_19 Depth 3
	mov	x0, x21
	bl	_lookup_mem_region
	add	x8, x21, w28, uxtw
	ldr	x9, [x0]
	sub	w10, w9, w21
	cmp	x8, x9
	csel	w25, w28, w10, lt
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x0, #8
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _MEM_RO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MEM_RO@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x8, w25
	add	x21, x21, x8
	add	x22, x22, x8
	sub	w28, w28, w25
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w28, #0
	b.gt	LBB0_3
	b	LBB0_22
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
                                        ;       Child Loop BB0_13 Depth 3
                                        ;       Child Loop BB0_19 Depth 3
	cmp	w25, #1
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x24, x22
	mov	x26, x28
	mov	x23, x21
	mov	x0, x21
	bl	_XFORM
	ldr	x11, [x19, #16]
	lsl	x9, x0, #32
	sub	w8, w25, #1
Lloh6:
	adrp	x10, _ENTRY_DIRTY@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ENTRY_DIRTY@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	add	x12, x22, x8
	add	x22, x12, #1
	sub	w28, w28, w25
	add	x8, x21, x8
	add	x21, x8, #1
	add	w8, w25, w0
	add	x11, x11, w0, sxtw #3
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x12, [x11]
	cmp	x12, x10
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=3
	sub	w26, w26, #1
	add	x23, x23, #1
	add	x24, x24, #1
	add	x9, x9, x27
	add	w0, w0, #1
	add	x11, x11, #8
	subs	w25, w25, #1
	b.gt	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	w25, #0
	mov	x9, x8
	b	LBB0_18
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	w8, #0
	ldr	x11, [x19, #16]
Lloh9:
	adrp	x9, _ENTRY_DIRTY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ENTRY_DIRTY@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x9]
	add	w9, w25, w0
	add	x11, x11, w0, sxtw #3
LBB0_13:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x12, [x11]
	cmp	x12, x10
	b.ne	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=3
	sub	w8, w8, #1
	add	x11, x11, #8
	add	w12, w25, w8
	add	w12, w12, #1
	cmp	w12, #1
	b.gt	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	w25, #0
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=2
	sub	w9, w0, w8
	add	w25, w25, w8
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x8, x0
	mov	x21, x23
	mov	x28, x26
	mov	x22, x24
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=2
	sub	w23, w9, w8
	cmp	w23, #1
	b.lt	LBB0_7
LBB0_19:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	w3, #1
	mov	x4, x20
	bl	_do_xfer_memory
	cmp	w0, #1
	b.lt	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=3
	mov	x24, x0
	ldr	x26, [x19, #16]
	mov	x0, x21
	bl	_XFORM
	add	x0, x26, x0, lsl #3
Lloh12:
	adrp	x8, _ENTRY_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENTRY_OK@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x2, x24
	bl	_memset
	mov	w8, w24
	add	x21, x21, x8
	add	x22, x22, x8
	sub	w28, w28, w24
	sub	w23, w23, w24
	cmp	w23, #0
	b.gt	LBB0_19
	b	LBB0_7
LBB0_21:
	mov	w0, #0
	b	LBB0_24
LBB0_22:
	str	xzr, [x19, #24]
LBB0_23:
	mov	w0, #1
LBB0_24:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LINE_SIZE,4,2                  ; @LINE_SIZE
	.comm	_MEM_RO,8,3                     ; @MEM_RO
	.comm	_ENTRY_DIRTY,8,3                ; @ENTRY_DIRTY
	.comm	_ENTRY_OK,4,2                   ; @ENTRY_OK
	.no_dead_strip	_dcache_write_line
.subsections_via_symbols
