	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcache_read_line
_dcache_read_line:                      ## @dcache_read_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	cmpq	$0, 16(%rsi)
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rsi
	callq	_dcache_write_line
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_LINE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	jle	LBB0_12
## %bb.4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movq	8(%rax), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movslq	%r15d, %rax
	addq	%rax, %r14
	addq	%rax, %r13
	subl	%r15d, %ebx
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	testl	%ebx, %ebx
	jle	LBB0_12
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	%r14, %rdi
	callq	_lookup_mem_region
	movl	%ebx, %edx
	addq	%r14, %rdx
	movq	(%rax), %rcx
	movl	%ecx, %r15d
	subl	%r14d, %r15d
	cmpq	%rcx, %rdx
	cmovll	%ebx, %r15d
	cmpl	$0, 16(%rax)
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	$8, %rax
	movq	(%rax), %rdx
	movq	_MEM_WO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%r15d, %r15d
	jle	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	movq	%rax, %r12
	movq	%rax, %r8
	callq	_do_xfer_memory
	testl	%eax, %eax
	jle	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movl	%eax, %ecx
	addq	%rcx, %r14
	addq	%rcx, %r13
	subl	%eax, %ebx
	subl	%eax, %r15d
	movq	%r12, %rax
	jg	LBB0_8
	jmp	LBB0_11
LBB0_12:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	24(%rbx), %edi
	movq	_ENTRY_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edx
	callq	_memset
	movq	$0, 16(%rbx)
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_13
LBB0_2:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_13:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$24, %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_WO,8,3                     ## @MEM_WO
	.comm	_ENTRY_OK,4,2                   ## @ENTRY_OK
	.no_dead_strip	_dcache_read_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcache_read_line
_dcache_read_line:                      ; @dcache_read_line
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x1, x19
	bl	_dcache_write_line
	cbz	w0, LBB0_13
LBB0_2:
Lloh0:
	adrp	x8, _LINE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LINE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	cmp	w24, #1
	b.lt	LBB0_11
; %bb.3:
	ldp	x21, x20, [x19]
Lloh3:
	adrp	x25, _MEM_WO@GOTPAGE
Lloh4:
	ldr	x25, [x25, _MEM_WO@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	sxtw	x8, w22
	add	x21, x21, x8
	add	x20, x20, x8
	sub	w24, w24, w22
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	w24, #0
	b.le	LBB0_11
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x0, x21
	bl	_lookup_mem_region
	add	x8, x21, w24, uxtw
	ldr	x9, [x0]
	sub	w10, w9, w21
	cmp	x8, x9
	csel	w22, w24, w10, lt
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x0, #8
	ldr	x8, [x23]
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w22, #1
	b.lt	LBB0_5
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	w3, #0
	mov	x4, x23
	bl	_do_xfer_memory
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	w8, w0
	add	x21, x21, x8
	add	x20, x20, x8
	sub	w24, w24, w0
	sub	w22, w22, w0
	cmp	w22, #0
	b.gt	LBB0_9
	b	LBB0_5
LBB0_11:
	ldr	w0, [x19, #24]
Lloh5:
	adrp	x8, _ENTRY_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENTRY_OK@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w2, #8
	bl	_memset
	str	xzr, [x19, #16]
	mov	w0, #1
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LINE_SIZE,4,2                  ; @LINE_SIZE
	.comm	_MEM_WO,8,3                     ; @MEM_WO
	.comm	_ENTRY_OK,4,2                   ; @ENTRY_OK
	.no_dead_strip	_dcache_read_line
.subsections_via_symbols
