	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsi_device_write               ## -- Begin function fsi_device_write
	.p2align	4, 0x90
_fsi_device_write:                      ## @fsi_device_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %r9
	movq	%r9, %rax
	subq	%rcx, %rax
	setb	%r8b
	cmpq	%rsi, %r9
	jb	LBB0_3
## %bb.1:
	testb	%r8b, %r8b
	jne	LBB0_3
## %bb.2:
	cmpq	%rsi, %rax
	jb	LBB0_3
## %bb.4:
	movl	16(%rdi), %eax
	addq	8(%rdi), %rsi
	movl	%eax, %edi
	popq	%rbp
	jmp	_fsi_slave_write                ## TAILCALL
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsi_device_write               ; -- Begin function fsi_device_write
	.p2align	2
_fsi_device_write:                      ; @fsi_device_write
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	sub	x9, x8, x3
	cmp	x8, x1
	ccmp	x8, x3, #0, hs
	ccmp	x9, x1, #0, hs
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	ldr	w8, [x0, #16]
	ldr	x9, [x0, #8]
	add	x1, x9, x1
	mov	x0, x8
	b	_fsi_slave_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
