	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_data_in
_write_data_in:                         ## @write_data_in
	.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, %rbx
	movq	%rdi, %r12
	movq	_RESPST_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rdi
	callq	_payload_size
	movl	%eax, %r15d
	movl	(%r12), %r13d
	movl	8(%r12), %r14d
	movq	%rbx, %rdi
	callq	_payload_addr
	movq	_to_mem_obj@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	%r14d, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	movl	%r15d, %ecx
	xorl	%r9d, %r9d
	callq	_rxe_mem_copy
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_RESPST_ERR_RKEY_VIOLATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_2:
	addl	%r15d, (%r12)
	subl	%r15d, 4(%r12)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RESPST_NONE,4,2                ## @RESPST_NONE
	.comm	_to_mem_obj,4,2                 ## @to_mem_obj
	.comm	_RESPST_ERR_RKEY_VIOLATION,4,2  ## @RESPST_ERR_RKEY_VIOLATION
	.no_dead_strip	_write_data_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_data_in
_write_data_in:                         ; @write_data_in
	.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	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _RESPST_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RESPST_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	mov	x0, x1
	bl	_payload_size
	mov	x21, x0
	ldr	w23, [x20, #8]
	ldr	w24, [x20]
	mov	x0, x22
	bl	_payload_addr
	mov	x2, x0
Lloh3:
	adrp	x8, _to_mem_obj@GOTPAGE
Lloh4:
	ldr	x8, [x8, _to_mem_obj@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x23
	mov	x1, x24
	mov	x3, x21
	mov	x5, #0
	bl	_rxe_mem_copy
	cbz	w0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _RESPST_ERR_RKEY_VIOLATION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RESPST_ERR_RKEY_VIOLATION@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
	b	LBB0_3
LBB0_2:
	ldp	w8, w9, [x20]
	add	w8, w8, w21
	sub	w9, w9, w21
	stp	w8, w9, [x20]
LBB0_3:
	mov	x0, x19
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RESPST_NONE,4,2                ; @RESPST_NONE
	.comm	_to_mem_obj,4,2                 ; @to_mem_obj
	.comm	_RESPST_ERR_RKEY_VIOLATION,4,2  ; @RESPST_ERR_RKEY_VIOLATION
	.no_dead_strip	_write_data_in
.subsections_via_symbols
