	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_hints
_write_hints:                           ## @write_hints
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_dm_cache_policy_get_name
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_dm_cache_policy_get_version
	cmpb	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_strlen
	cmpl	$4, %eax
	jb	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	32(%r14), %edi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_strncpy
	movl	28(%r14), %edi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r12, %rdi
	callq	_dm_cache_policy_get_hint_size
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, (%r14)
	movq	16(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.6:
	leaq	24(%r14), %rdi
	callq	_dm_array_del
	testl	%eax, %eax
	jne	LBB0_7
LBB0_8:
	leaq	16(%r14), %rbx
	movl	8(%r14), %edi
	addq	$24, %r14
	callq	_from_cblock
	movq	_get_hint@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	%r12, %r8
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dm_array_new                   ## TAILCALL
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_get_hint,4,2                   ## @get_hint
	.no_dead_strip	_write_hints
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_hints
_write_hints:                           ; @write_hints
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_dm_cache_policy_get_name
	mov	x22, x0
	mov	x0, x19
	bl	_dm_cache_policy_get_version
	ldrb	w8, [x22]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x21, x0
	mov	x0, x22
	bl	_strlen
	cmp	w0, #4
	b.lo	LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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
	ret
LBB0_4:
	ldr	w0, [x20, #32]
	mov	x1, x22
	mov	w2, #4
	bl	_strncpy
	ldr	w0, [x20, #28]
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	mov	x0, x19
	bl	_dm_cache_policy_get_hint_size
	cbz	x0, LBB0_3
; %bb.5:
	str	x0, [x20]
	mov	x21, x20
	ldr	x1, [x21, #16]!
	cbz	x1, LBB0_7
; %bb.6:
	add	x0, x20, #24
	bl	_dm_array_del
	cbnz	w0, LBB0_3
LBB0_7:
	add	x22, x20, #24
	ldr	w0, [x20, #8]
	bl	_from_cblock
	mov	x2, x0
Lloh3:
	adrp	x8, _get_hint@GOTPAGE
Lloh4:
	ldr	x8, [x8, _get_hint@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	x4, x19
	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	_dm_array_new
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_get_hint,4,2                   ; @get_hint
	.no_dead_strip	_write_hints
.subsections_via_symbols
