	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fcopy_send_data
_fcopy_send_data:                       ## @fcopy_send_data
	.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	_fcopy_transaction@GOTPCREL(%rip), %r12
	movq	8(%r12), %rbx
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_5
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %r14d
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	%rax, %rbx
	movl	$129, 24(%rax)
	movq	8(%r12), %r15
	movq	16(%r15), %rdi
	movq	_W_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_UTF16_LITTLE_ENDIAN@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	16(%rbx), %rcx
	leal	-1(%rsi), %r8d
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_utf16s_to_utf8s
	movq	8(%r15), %rdi
	movq	_W_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%rbx, %rcx
	addq	$8, %rcx
	leal	-1(%rsi), %r8d
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_utf16s_to_utf8s
	movl	4(%r15), %eax
	movl	%eax, 4(%rbx)
	movl	(%r15), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %r15
	jmp	LBB0_7
LBB0_4:
	movl	$4, %r14d
	jmp	LBB0_6
LBB0_5:
	movl	(%r12), %r14d
LBB0_6:
	xorl	%r15d, %r15d
LBB0_7:
	movq	_HVUTIL_USERSPACE_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movq	_hvt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_hvutil_transport_send
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_debug
	movq	_fcopy_timeout_work@GOTPCREL(%rip), %rdi
	callq	_cancel_delayed_work_sync
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_HV_E_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fcopy_respond_to_host
	movq	_HVUTIL_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
LBB0_10:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fcopy_transaction,16,3         ## @fcopy_transaction
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_W_MAX_PATH,4,2                 ## @W_MAX_PATH
	.comm	_UTF16_LITTLE_ENDIAN,4,2        ## @UTF16_LITTLE_ENDIAN
	.comm	_HVUTIL_USERSPACE_REQ,4,2       ## @HVUTIL_USERSPACE_REQ
	.comm	_hvt,4,2                        ## @hvt
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FCP: failed to communicate to the daemon: %d\n"

	.comm	_fcopy_timeout_work,4,2         ## @fcopy_timeout_work
	.comm	_HV_E_FAIL,4,2                  ## @HV_E_FAIL
	.comm	_HVUTIL_READY,4,2               ## @HVUTIL_READY
	.no_dead_strip	_fcopy_send_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fcopy_send_data
_fcopy_send_data:                       ; @fcopy_send_data
	.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
Lloh0:
	adrp	x21, _fcopy_transaction@GOTPAGE
Lloh1:
	ldr	x21, [x21, _fcopy_transaction@GOTPAGEOFF]
	ldr	x19, [x21, #8]
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_5
; %bb.2:
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_10
; %bb.3:
	mov	x19, x0
	mov	w8, #129
	str	w8, [x0, #24]
	ldr	x20, [x21, #8]
	ldr	x0, [x20, #16]
Lloh5:
	adrp	x22, _W_MAX_PATH@GOTPAGE
Lloh6:
	ldr	x22, [x22, _W_MAX_PATH@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh7:
	adrp	x23, _UTF16_LITTLE_ENDIAN@GOTPAGE
Lloh8:
	ldr	x23, [x23, _UTF16_LITTLE_ENDIAN@GOTPAGEOFF]
	ldr	w2, [x23]
	add	x3, x19, #16
	sub	w4, w1, #1
	bl	_utf16s_to_utf8s
	ldr	x0, [x20, #8]
	ldr	w1, [x22]
	ldr	w2, [x23]
	add	x3, x19, #8
	sub	w4, w1, #1
	bl	_utf16s_to_utf8s
	ldr	d0, [x20]
	str	d0, [x19]
	mov	w2, #32
	mov	x20, x19
	b	LBB0_6
LBB0_4:
	mov	x20, #0
	mov	w2, #4
	b	LBB0_6
LBB0_5:
	mov	x20, #0
	ldr	w2, [x21]
LBB0_6:
Lloh9:
	adrp	x8, _HVUTIL_USERSPACE_REQ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HVUTIL_USERSPACE_REQ@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x21, #4]
Lloh12:
	adrp	x8, _hvt@GOTPAGE
Lloh13:
	ldr	x8, [x8, _hvt@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x3, #0
	bl	_hvutil_transport_send
	cbz	w0, LBB0_9
; %bb.7:
	mov	x1, x0
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
Lloh17:
	adrp	x0, _fcopy_timeout_work@GOTPAGE
Lloh18:
	ldr	x0, [x0, _fcopy_timeout_work@GOTPAGEOFF]
	bl	_cancel_delayed_work_sync
	cbz	x0, LBB0_9
; %bb.8:
Lloh19:
	adrp	x8, _HV_E_FAIL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HV_E_FAIL@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_fcopy_respond_to_host
Lloh22:
	adrp	x8, _HVUTIL_READY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _HVUTIL_READY@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x21, #4]
LBB0_9:
	mov	x0, x20
	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
	b	_kfree
LBB0_10:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_fcopy_transaction,16,3         ; @fcopy_transaction
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_W_MAX_PATH,4,2                 ; @W_MAX_PATH
	.comm	_UTF16_LITTLE_ENDIAN,4,2        ; @UTF16_LITTLE_ENDIAN
	.comm	_HVUTIL_USERSPACE_REQ,4,2       ; @HVUTIL_USERSPACE_REQ
	.comm	_hvt,4,2                        ; @hvt
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FCP: failed to communicate to the daemon: %d\n"

	.comm	_fcopy_timeout_work,4,2         ; @fcopy_timeout_work
	.comm	_HV_E_FAIL,4,2                  ; @HV_E_FAIL
	.comm	_HVUTIL_READY,4,2               ; @HVUTIL_READY
	.no_dead_strip	_fcopy_send_data
.subsections_via_symbols
