	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_cache_entry_to_ondisk
_copy_cache_entry_to_ondisk:            ## @copy_cache_entry_to_ondisk
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %r15d
	movq	(%rdi), %r12
	movl	40(%rsi), %edi
	callq	_htonl
	movq	%rax, 80(%rbx)
	movl	32(%r14), %edi
	callq	_htonl
	movq	%rax, 64(%rbx)
	movl	36(%r14), %edi
	callq	_htonl
	movq	%rax, 72(%rbx)
	movl	28(%r14), %edi
	callq	_htonl
	movq	%rax, 56(%rbx)
	movl	24(%r14), %edi
	callq	_htonl
	movq	%rax, 48(%rbx)
	movl	20(%r14), %edi
	callq	_htonl
	movq	%rax, 40(%rbx)
	movl	44(%r14), %edi
	callq	_htonl
	movq	%rax, 32(%rbx)
	movl	16(%r14), %edi
	callq	_htonl
	movq	%rax, 24(%rbx)
	movl	12(%r14), %edi
	callq	_htonl
	movq	%rax, 16(%rbx)
	movl	8(%r14), %edi
	callq	_htonl
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rdi
	movl	4(%r14), %esi
	callq	_hashcpy
	movq	_CE_NAMEMASK@GOTPCREL(%rip), %r13
	movzwl	(%r13), %ebx
	notl	%ebx
	andw	(%r14), %bx
	movq	%r14, %rdi
	callq	_ce_namelen
	movl	%eax, %ecx
	movzwl	(%r13), %eax
	cmpw	%ax, %cx
	jge	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_ce_namelen
                                        ## kill: def $ax killed $ax def $eax
LBB0_2:
	orl	%ebx, %eax
	movswl	%ax, %edi
	callq	_htons
	movl	%eax, (%r15,%r12)
	movswl	(%r14), %edi
	movq	_CE_EXTENDED@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_CE_EXTENDED_FLAGS@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	sarl	$16, %edi
	callq	_htons
	movl	%eax, 4(%r15,%r12)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.comm	_CE_NAMEMASK,2,1                ## @CE_NAMEMASK
	.comm	_CE_EXTENDED,4,2                ## @CE_EXTENDED
	.comm	_CE_EXTENDED_FLAGS,4,2          ## @CE_EXTENDED_FLAGS
	.no_dead_strip	_copy_cache_entry_to_ondisk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_cache_entry_to_ondisk
_copy_cache_entry_to_ondisk:            ; @copy_cache_entry_to_ondisk
	.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
Lloh0:
	adrp	x8, _the_hash_algo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
	ldr	x9, [x0]
	add	x21, x9, x8
	ldr	w0, [x1, #40]
	bl	_htonl
	str	x0, [x20, #80]
	ldr	w0, [x19, #32]
	bl	_htonl
	str	x0, [x20, #64]
	ldr	w0, [x19, #36]
	bl	_htonl
	str	x0, [x20, #72]
	ldr	w0, [x19, #28]
	bl	_htonl
	str	x0, [x20, #56]
	ldr	w0, [x19, #24]
	bl	_htonl
	str	x0, [x20, #48]
	ldr	w0, [x19, #20]
	bl	_htonl
	str	x0, [x20, #40]
	ldr	w0, [x19, #44]
	bl	_htonl
	str	x0, [x20, #32]
	ldr	w0, [x19, #16]
	bl	_htonl
	str	x0, [x20, #24]
	ldr	w0, [x19, #12]
	bl	_htonl
	str	x0, [x20, #16]
	ldr	w0, [x19, #8]
	bl	_htonl
	str	x0, [x20, #8]
	ldr	x0, [x20]
	ldr	w1, [x19, #4]
	bl	_hashcpy
	ldrh	w8, [x19]
Lloh3:
	adrp	x22, _CE_NAMEMASK@GOTPAGE
Lloh4:
	ldr	x22, [x22, _CE_NAMEMASK@GOTPAGEOFF]
	ldrh	w9, [x22]
	bic	w20, w8, w9
	mov	x0, x19
	bl	_ce_namelen
	mov	x8, x0
	ldrsh	w0, [x22]
	cmp	w8, w0
	b.ge	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_ce_namelen
LBB0_2:
	orr	w8, w0, w20
	sxth	w0, w8
	bl	_htons
	str	w0, [x21]
	ldrsh	w8, [x19]
Lloh5:
	adrp	x9, _CE_EXTENDED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CE_EXTENDED@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh8:
	adrp	x9, _CE_EXTENDED_FLAGS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CE_EXTENDED_FLAGS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	and	w8, w9, w8
	asr	w0, w8, #16
	bl	_htons
	str	w0, [x21, #4]
LBB0_4:
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.comm	_CE_NAMEMASK,2,1                ; @CE_NAMEMASK
	.comm	_CE_EXTENDED,4,2                ; @CE_EXTENDED
	.comm	_CE_EXTENDED_FLAGS,4,2          ; @CE_EXTENDED_FLAGS
	.no_dead_strip	_copy_cache_entry_to_ondisk
.subsections_via_symbols
