	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smb_vc_maxwrite
_smb_vc_maxwrite:                       ## @smb_vc_maxwrite
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SMB_CAP_LARGE_WRITEX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rdi)
	je	LBB0_3
## %bb.1:
	movq	_SMB_FLAGS2_SECURITY_SIGNATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
LBB0_3:
	movl	8(%rdi), %eax
	movq	_SMB_HDRLEN@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	addl	$-64, %eax
	popq	%rbp
	retq
LBB0_2:
	movl	$61440, %eax                    ## imm = 0xF000
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMB_CAP_LARGE_WRITEX,4,2       ## @SMB_CAP_LARGE_WRITEX
	.comm	_SMB_FLAGS2_SECURITY_SIGNATURE,4,2 ## @SMB_FLAGS2_SECURITY_SIGNATURE
	.comm	_SMB_HDRLEN,4,2                 ## @SMB_HDRLEN
	.no_dead_strip	_smb_vc_maxwrite
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smb_vc_maxwrite
_smb_vc_maxwrite:                       ; @smb_vc_maxwrite
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x9, _SMB_CAP_LARGE_WRITEX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SMB_CAP_LARGE_WRITEX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _SMB_FLAGS2_SECURITY_SIGNATURE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SMB_FLAGS2_SECURITY_SIGNATURE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_2:
	ldr	w8, [x0, #8]
Lloh6:
	adrp	x9, _SMB_HDRLEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SMB_HDRLEN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sub	w8, w8, w9
	sub	w0, w8, #64
	ret
LBB0_3:
	mov	w0, #61440
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SMB_CAP_LARGE_WRITEX,4,2       ; @SMB_CAP_LARGE_WRITEX
	.comm	_SMB_FLAGS2_SECURITY_SIGNATURE,4,2 ; @SMB_FLAGS2_SECURITY_SIGNATURE
	.comm	_SMB_HDRLEN,4,2                 ; @SMB_HDRLEN
	.no_dead_strip	_smb_vc_maxwrite
.subsections_via_symbols
