	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hash_write
_hash_write:                            ## @hash_write
	.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	%r8, %r14
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdx, %rdi
	movq	%rcx, %rsi
	callq	_hash_addr_regval
	movl	%eax, %ebx
	movq	_FCRAM_NUM_PARTITIONS@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jbe	LBB0_2
## %bb.1:
	leaq	(,%r12,8), %rax
	addq	%r13, %rax
	movq	_FCRAM_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jbe	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_6:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r15, %rdi
	callq	_HASH_TBL_ADDR
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_nw64
	xorl	%r13d, %r13d
	testq	%r12, %r12
	je	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_HASH_TBL_DATA
	movl	(%r14,%rbx,4), %esi
	movl	%eax, %edi
	callq	_nw64
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_FCRAM_NUM_PARTITIONS,8,3       ## @FCRAM_NUM_PARTITIONS
	.comm	_FCRAM_SIZE,8,3                 ## @FCRAM_SIZE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_hash_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hash_write
_hash_write:                            ; @hash_write
	.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, x4
	mov	x20, x3
	mov	x23, x2
	mov	x21, x1
	mov	x0, x2
	mov	x1, x3
	bl	_hash_addr_regval
Lloh0:
	adrp	x8, _FCRAM_NUM_PARTITIONS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FCRAM_NUM_PARTITIONS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ls	LBB0_2
; %bb.1:
	add	x8, x23, x20, lsl #3
Lloh3:
	adrp	x9, _FCRAM_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FCRAM_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_3:
	mov	x22, x0
	mov	x0, x21
	bl	_HASH_TBL_ADDR
	mov	x1, x22
	bl	_nw64
	cbz	x20, LBB0_5
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_HASH_TBL_DATA
	ldr	w1, [x19], #4
	bl	_nw64
	subs	x20, x20, #1
	b.ne	LBB0_4
LBB0_5:
	mov	w0, #0
LBB0_6:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FCRAM_NUM_PARTITIONS,8,3       ; @FCRAM_NUM_PARTITIONS
	.comm	_FCRAM_SIZE,8,3                 ; @FCRAM_SIZE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_hash_write
.subsections_via_symbols
