	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function marshall_open
_marshall_open:                         ## @marshall_open
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, -32(%rbp)
	addq	$16, %rdx
	leaq	-32(%rbp), %rdi
	movl	$2, %ecx
	callq	_safe_write
	testl	%eax, %eax
	jne	LBB0_13
## %bb.1:
	leaq	18(%r14), %rdx
	leaq	-32(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$2, %ecx
	callq	_safe_write
	testl	%eax, %eax
	jne	LBB0_13
## %bb.2:
	leaq	-32(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movl	$4, %ecx
	callq	_safe_write
	testl	%eax, %eax
	jne	LBB0_13
## %bb.3:
	leaq	20(%r14), %rdx
	leaq	-32(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$2, %ecx
	callq	_safe_write
	testl	%eax, %eax
	jne	LBB0_13
## %bb.4:
	leaq	22(%r14), %rdx
	leaq	-32(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$2, %ecx
	callq	_safe_write
	testl	%eax, %eax
	jne	LBB0_13
## %bb.5:
	leaq	24(%r14), %rdx
	leaq	-32(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$2, %ecx
	callq	_safe_write
	testl	%eax, %eax
	jne	LBB0_13
## %bb.6:
	movq	8(%r14), %rax
	movq	_ERROR_REPARSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.7:
	movl	28(%r14), %eax
	leal	4(,%rax,4), %eax
	movw	%ax, -18(%rbp)
	leaq	26(%r14), %rdx
	leaq	-32(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$4, %ecx
	callq	_safe_write
	testl	%eax, %eax
	jne	LBB0_13
## %bb.8:
	leaq	-32(%rbp), %rdi
	leaq	-18(%rbp), %rdx
	movq	%rbx, %rsi
	movl	$2, %ecx
	callq	_safe_write
	testl	%eax, %eax
	jne	LBB0_13
## %bb.9:
	movzwl	-18(%rbp), %eax
	cmpw	%ax, (%rbx)
	jbe	LBB0_11
## %bb.10:
	movq	_CP_UTF8@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	28(%r14), %ecx
	movl	32(%r14), %edx
	movl	-32(%rbp), %r8d
	movzwl	%ax, %r9d
	shrl	$2, %r9d
	xorl	%esi, %esi
	callq	_MultiByteToWideChar
	testl	%eax, %eax
	je	LBB0_11
LBB0_12:
	movzwl	(%r14), %edx
	movzwl	20(%r14), %ecx
	movzwl	22(%r14), %r8d
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_dprintf
	xorl	%eax, %eax
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_11:
	movq	_ERROR_BUFFER_OVERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR_REPARSE,8,3              ## @ERROR_REPARSE
	.comm	_CP_UTF8,4,2                    ## @CP_UTF8
	.comm	_ERROR_BUFFER_OVERFLOW,4,2      ## @ERROR_BUFFER_OVERFLOW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NFS41_OPEN: downcall open_state=0x%p mode %o changeattr 0x%llu\n"

	.no_dead_strip	_marshall_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function marshall_open
_marshall_open:                         ; @marshall_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	str	x0, [sp, #8]
	add	x2, x2, #16
	add	x0, sp, #8
	mov	w3, #2
	bl	_safe_write
	cbnz	w0, LBB0_12
; %bb.1:
	add	x2, x19, #18
	add	x0, sp, #8
	mov	x1, x20
	mov	w3, #2
	bl	_safe_write
	cbnz	w0, LBB0_12
; %bb.2:
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x19
	mov	w3, #4
	bl	_safe_write
	cbnz	w0, LBB0_12
; %bb.3:
	add	x2, x19, #20
	add	x0, sp, #8
	mov	x1, x20
	mov	w3, #2
	bl	_safe_write
	cbnz	w0, LBB0_12
; %bb.4:
	add	x2, x19, #22
	add	x0, sp, #8
	mov	x1, x20
	mov	w3, #2
	bl	_safe_write
	cbnz	w0, LBB0_12
; %bb.5:
	add	x2, x19, #24
	add	x0, sp, #8
	mov	x1, x20
	mov	w3, #2
	bl	_safe_write
	cbnz	w0, LBB0_12
; %bb.6:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _ERROR_REPARSE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ERROR_REPARSE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.7:
	ldrh	w8, [x19, #28]
	lsl	w8, w8, #2
	add	w8, w8, #4
	strh	w8, [sp, #6]
	add	x2, x19, #26
	add	x0, sp, #8
	mov	x1, x20
	mov	w3, #4
	bl	_safe_write
	cbnz	w0, LBB0_12
; %bb.8:
	add	x0, sp, #8
	add	x2, sp, #6
	mov	x1, x20
	mov	w3, #2
	bl	_safe_write
	cbnz	w0, LBB0_12
; %bb.9:
	ldrh	w9, [x20]
	ldrh	w8, [sp, #6]
	cmp	w9, w8
	b.ls	LBB0_13
; %bb.10:
Lloh3:
	adrp	x9, _CP_UTF8@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CP_UTF8@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x9]
	ldp	w3, w2, [x19, #28]
	ldr	w4, [sp, #8]
	lsr	w5, w8, #2
	mov	w1, #0
	bl	_MultiByteToWideChar
	cbz	w0, LBB0_13
LBB0_11:
	ldrh	w2, [x19]
	ldrh	w3, [x19, #20]
	ldrh	w4, [x19, #22]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_dprintf
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_13:
Lloh8:
	adrp	x8, _ERROR_BUFFER_OVERFLOW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERROR_BUFFER_OVERFLOW@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR_REPARSE,8,3              ; @ERROR_REPARSE
	.comm	_CP_UTF8,4,2                    ; @CP_UTF8
	.comm	_ERROR_BUFFER_OVERFLOW,4,2      ; @ERROR_BUFFER_OVERFLOW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NFS41_OPEN: downcall open_state=0x%p mode %o changeattr 0x%llu\n"

	.no_dead_strip	_marshall_open
.subsections_via_symbols
