	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_cache_policy
_update_cache_policy:                   ## @update_cache_policy
	.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
	movq	%rdx, %r12
	movq	%rsi, %r15
	movl	(%rsi), %r14d
	movl	(%rdx), %r13d
	cmpl	%r13d, %r14d
	jne	LBB0_2
## %bb.1:
	movl	4(%r15), %eax
	xorl	%ebx, %ebx
	cmpl	4(%r12), %eax
	je	LBB0_17
LBB0_2:
	movl	%edi, %ebx
	xorl	%r13d, %r14d
	movq	_MR_LD_CACHE_ALLOW_WRITE_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r14d, %eax
	je	LBB0_4
## %bb.3:
	testl	%r13d, %eax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_4:
	movq	_MR_LD_CACHE_ALLOW_READ_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r14d, %eax
	je	LBB0_6
## %bb.5:
	testl	%r13d, %eax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_6:
	movq	_MR_LD_CACHE_WRITE_BACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r14d, %eax
	je	LBB0_8
## %bb.7:
	testl	%r13d, %eax
	leaq	L_.str.6(%rip), %rax
	leaq	L_.str.5(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_8:
	movq	_MR_LD_CACHE_READ_AHEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MR_LD_CACHE_READ_ADAPTIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	orl	%eax, %edx
	testl	%r14d, %edx
	je	LBB0_10
## %bb.9:
	testl	%r13d, %ecx
	leaq	L_.str.9(%rip), %rcx
	leaq	L_.str.8(%rip), %rdx
	cmoveq	%rcx, %rdx
	testl	%r13d, %eax
	leaq	L_.str.10(%rip), %rsi
	cmovneq	%rdx, %rsi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_10:
	movq	_MR_LD_CACHE_WRITE_CACHE_BAD_BBU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r14d, %eax
	je	LBB0_12
## %bb.11:
	testl	%r13d, %eax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_12:
	movl	4(%r12), %eax
	cmpl	%eax, 4(%r15)
	je	LBB0_15
## %bb.13:
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_15
## %bb.14:
	cltq
	leaq	l_reltable.update_cache_policy(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdi
	addq	%rcx, %rdi
	callq	_puts
LBB0_15:
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_mfi_ld_set_props
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jns	LBB0_17
## %bb.16:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.15(%rip), %rdi
	callq	_warn
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MR_LD_CACHE_ALLOW_WRITE_CACHE,4,2 ## @MR_LD_CACHE_ALLOW_WRITE_CACHE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s caching of I/O writes\n"

L_.str.1:                               ## @.str.1
	.asciz	"Enabling"

L_.str.2:                               ## @.str.2
	.asciz	"Disabling"

	.comm	_MR_LD_CACHE_ALLOW_READ_CACHE,4,2 ## @MR_LD_CACHE_ALLOW_READ_CACHE
L_.str.3:                               ## @.str.3
	.asciz	"%s caching of I/O reads\n"

	.comm	_MR_LD_CACHE_WRITE_BACK,4,2     ## @MR_LD_CACHE_WRITE_BACK
L_.str.4:                               ## @.str.4
	.asciz	"Setting write cache policy to %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"write-back"

L_.str.6:                               ## @.str.6
	.asciz	"write-through"

	.comm	_MR_LD_CACHE_READ_AHEAD,4,2     ## @MR_LD_CACHE_READ_AHEAD
	.comm	_MR_LD_CACHE_READ_ADAPTIVE,4,2  ## @MR_LD_CACHE_READ_ADAPTIVE
L_.str.7:                               ## @.str.7
	.asciz	"Setting read ahead policy to %s\n"

L_.str.8:                               ## @.str.8
	.asciz	"adaptive"

L_.str.9:                               ## @.str.9
	.asciz	"always"

L_.str.10:                              ## @.str.10
	.asciz	"none"

	.comm	_MR_LD_CACHE_WRITE_CACHE_BAD_BBU,4,2 ## @MR_LD_CACHE_WRITE_CACHE_BAD_BBU
L_.str.11:                              ## @.str.11
	.asciz	"%s write caching with bad BBU\n"

	.comm	_errno,4,2                      ## @errno
L_.str.15:                              ## @.str.15
	.asciz	"Failed to set volume properties"

L_str:                                  ## @str
	.asciz	"Using default write-cache setting on physical drives"

L_str.16:                               ## @str.16
	.asciz	"Disabling write-cache on physical drives"

L_str.17:                               ## @str.17
	.asciz	"Enabling write-cache on physical drives"

	.no_dead_strip	_update_cache_policy
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.update_cache_policy
l_reltable.update_cache_policy:
	.long	L_str-l_reltable.update_cache_policy
	.long	L_str.17-l_reltable.update_cache_policy
	.long	L_str.16-l_reltable.update_cache_policy

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_cache_policy
_update_cache_policy:                   ; @update_cache_policy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w8, [x1]
	ldr	w22, [x2]
	cmp	w8, w22
	b.ne	LBB0_2
; %bb.1:
	ldr	w9, [x21, #4]
	ldr	w10, [x19, #4]
	cmp	w9, w10
	b.eq	LBB0_16
LBB0_2:
	eor	w24, w22, w8
Lloh0:
	adrp	x8, _MR_LD_CACHE_ALLOW_WRITE_CACHE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MR_LD_CACHE_ALLOW_WRITE_CACHE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x23, l_.str.1@PAGE
Lloh4:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh5:
	adrp	x25, l_.str.2@PAGE
Lloh6:
	add	x25, x25, l_.str.2@PAGEOFF
	tst	w8, w24
	b.eq	LBB0_4
; %bb.3:
	tst	w8, w22
	csel	x8, x25, x23, eq
	str	x8, [sp]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_4:
Lloh9:
	adrp	x8, _MR_LD_CACHE_ALLOW_READ_CACHE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MR_LD_CACHE_ALLOW_READ_CACHE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_6
; %bb.5:
	tst	w8, w22
	csel	x8, x25, x23, eq
	str	x8, [sp]
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
LBB0_6:
Lloh14:
	adrp	x8, _MR_LD_CACHE_WRITE_BACK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MR_LD_CACHE_WRITE_BACK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_8
; %bb.7:
Lloh17:
	adrp	x9, l_.str.5@PAGE
Lloh18:
	add	x9, x9, l_.str.5@PAGEOFF
Lloh19:
	adrp	x10, l_.str.6@PAGE
Lloh20:
	add	x10, x10, l_.str.6@PAGEOFF
	tst	w8, w22
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh21:
	adrp	x0, l_.str.4@PAGE
Lloh22:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
LBB0_8:
Lloh23:
	adrp	x8, _MR_LD_CACHE_READ_AHEAD@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MR_LD_CACHE_READ_AHEAD@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _MR_LD_CACHE_READ_ADAPTIVE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MR_LD_CACHE_READ_ADAPTIVE@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w10, w9, w8
	tst	w10, w24
	b.eq	LBB0_10
; %bb.9:
Lloh29:
	adrp	x10, l_.str.8@PAGE
Lloh30:
	add	x10, x10, l_.str.8@PAGEOFF
Lloh31:
	adrp	x11, l_.str.9@PAGE
Lloh32:
	add	x11, x11, l_.str.9@PAGEOFF
	tst	w9, w22
	csel	x9, x11, x10, eq
Lloh33:
	adrp	x10, l_.str.10@PAGE
Lloh34:
	add	x10, x10, l_.str.10@PAGEOFF
	tst	w8, w22
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh35:
	adrp	x0, l_.str.7@PAGE
Lloh36:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
LBB0_10:
Lloh37:
	adrp	x8, _MR_LD_CACHE_WRITE_CACHE_BAD_BBU@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MR_LD_CACHE_WRITE_CACHE_BAD_BBU@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_12
; %bb.11:
	tst	w8, w22
	csel	x8, x25, x23, eq
	str	x8, [sp]
Lloh40:
	adrp	x0, l_.str.11@PAGE
Lloh41:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_printf
LBB0_12:
	ldr	w9, [x21, #4]
	ldr	w8, [x19, #4]
	cmp	w9, w8
	b.eq	LBB0_15
; %bb.13:
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_15
; %bb.14:
Lloh42:
	adrp	x9, l_switch.table.update_cache_policy@PAGE
Lloh43:
	add	x9, x9, l_switch.table.update_cache_policy@PAGEOFF
	ldr	x0, [x9, w8, sxtw #3]
	bl	_puts
LBB0_15:
	mov	x0, x20
	mov	x1, x19
	bl	_mfi_ld_set_props
	tbnz	x0, #63, LBB0_17
LBB0_16:
	mov	w19, #0
	b	LBB0_18
LBB0_17:
Lloh44:
	adrp	x8, _errno@GOTPAGE
Lloh45:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh46:
	ldr	w19, [x8]
Lloh47:
	adrp	x0, l_.str.15@PAGE
Lloh48:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_warn
LBB0_18:
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_MR_LD_CACHE_ALLOW_WRITE_CACHE,4,2 ; @MR_LD_CACHE_ALLOW_WRITE_CACHE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s caching of I/O writes\n"

l_.str.1:                               ; @.str.1
	.asciz	"Enabling"

l_.str.2:                               ; @.str.2
	.asciz	"Disabling"

	.comm	_MR_LD_CACHE_ALLOW_READ_CACHE,4,2 ; @MR_LD_CACHE_ALLOW_READ_CACHE
l_.str.3:                               ; @.str.3
	.asciz	"%s caching of I/O reads\n"

	.comm	_MR_LD_CACHE_WRITE_BACK,4,2     ; @MR_LD_CACHE_WRITE_BACK
l_.str.4:                               ; @.str.4
	.asciz	"Setting write cache policy to %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"write-back"

l_.str.6:                               ; @.str.6
	.asciz	"write-through"

	.comm	_MR_LD_CACHE_READ_AHEAD,4,2     ; @MR_LD_CACHE_READ_AHEAD
	.comm	_MR_LD_CACHE_READ_ADAPTIVE,4,2  ; @MR_LD_CACHE_READ_ADAPTIVE
l_.str.7:                               ; @.str.7
	.asciz	"Setting read ahead policy to %s\n"

l_.str.8:                               ; @.str.8
	.asciz	"adaptive"

l_.str.9:                               ; @.str.9
	.asciz	"always"

l_.str.10:                              ; @.str.10
	.asciz	"none"

	.comm	_MR_LD_CACHE_WRITE_CACHE_BAD_BBU,4,2 ; @MR_LD_CACHE_WRITE_CACHE_BAD_BBU
l_.str.11:                              ; @.str.11
	.asciz	"%s write caching with bad BBU\n"

	.comm	_errno,4,2                      ; @errno
l_.str.15:                              ; @.str.15
	.asciz	"Failed to set volume properties"

l_str:                                  ; @str
	.asciz	"Using default write-cache setting on physical drives"

l_str.16:                               ; @str.16
	.asciz	"Disabling write-cache on physical drives"

l_str.17:                               ; @str.17
	.asciz	"Enabling write-cache on physical drives"

	.no_dead_strip	_update_cache_policy
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.update_cache_policy
l_switch.table.update_cache_policy:
	.quad	l_str
	.quad	l_str.17
	.quad	l_str.16

.subsections_via_symbols
