	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function basic_write
_basic_write:                           ## @basic_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r9
	movq	%rcx, %r8
	movl	%edx, %ebx
	movq	%rdi, %r14
	addl	(%rsi), %ebx
	movl	4(%rsi), %r15d
	movb	$0, -33(%rbp)
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	$1, %ecx
	callq	_stm_data_write
	movq	%rax, %r12
	testq	%rax, %rax
	jle	LBB0_2
## %bb.1:
	movq	_STP_PACKET_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-33(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	*(%r14)
LBB0_2:
	movq	%r12, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STP_PACKET_FLAG,4,2            ## @STP_PACKET_FLAG
	.no_dead_strip	_basic_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function basic_write
_basic_write:                           ; @basic_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x5, x4
	mov	x4, x3
	mov	x19, x0
	ldp	w8, w21, [x1]
	add	w20, w8, w2
	strb	wzr, [sp, #15]
	mov	x1, x21
	mov	x2, x20
	mov	w3, #1
	bl	_stm_data_write
	mov	x22, x0
	cmp	x0, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _STP_PACKET_FLAG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STP_PACKET_FLAG@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x9]
	add	x6, sp, #15
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	w4, #0
	mov	w5, #0
	blr	x8
LBB0_2:
	mov	x0, x22
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STP_PACKET_FLAG,4,2            ; @STP_PACKET_FLAG
	.no_dead_strip	_basic_write
.subsections_via_symbols
