	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fs_dev_ftruncate_r
_fs_dev_ftruncate_r:                    ## @fs_dev_ftruncate_r
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	cmpl	$0, (%rsi)
	jne	LBB0_4
## %bb.5:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_ENOTSUP@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	popq	%rbp
LBB0_7:
	movl	$-1, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ENOTSUP,4,2                    ## @ENOTSUP
	.no_dead_strip	_fs_dev_ftruncate_r
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fs_dev_ftruncate_r
_fs_dev_ftruncate_r:                    ; @fs_dev_ftruncate_r
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
	cbz	x1, LBB0_3
; %bb.2:
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _ENOTSUP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ENOTSUP@GOTPAGEOFF]
Lloh2:
	adrp	x10, _ENODEV@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ENODEV@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x10, x9, eq
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	str	w8, [x0]
LBB0_5:
	mov	w0, #-1
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ENOTSUP,4,2                    ; @ENOTSUP
	.no_dead_strip	_fs_dev_ftruncate_r
.subsections_via_symbols
