	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_errcode_for_file_access        ## -- Begin function errcode_for_file_access
	.p2align	4, 0x90
_errcode_for_file_access:               ## @errcode_for_file_access
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_errordata@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_errordata_stack_depth@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%eax, %eax
	callq	_CHECK_STACK_DEPTH
	movl	(%r14,%rbx,8), %eax
	addl	$-128, %eax
	cmpl	$11, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.errcode_for_file_access(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ERRCODE_INTERNAL_ERROR@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 4(%r14,%rbx,8)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errordata,8,3                  ## @errordata
	.comm	_errordata_stack_depth,8,3      ## @errordata_stack_depth
	.comm	_ERRCODE_INSUFFICIENT_PRIVILEGE,4,2 ## @ERRCODE_INSUFFICIENT_PRIVILEGE
	.comm	_ERRCODE_UNDEFINED_FILE,4,2     ## @ERRCODE_UNDEFINED_FILE
	.comm	_ERRCODE_DUPLICATE_FILE,4,2     ## @ERRCODE_DUPLICATE_FILE
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ## @ERRCODE_WRONG_OBJECT_TYPE
	.comm	_ERRCODE_DISK_FULL,4,2          ## @ERRCODE_DISK_FULL
	.comm	_ERRCODE_INSUFFICIENT_RESOURCES,4,2 ## @ERRCODE_INSUFFICIENT_RESOURCES
	.comm	_ERRCODE_IO_ERROR,4,2           ## @ERRCODE_IO_ERROR
	.comm	_ERRCODE_INTERNAL_ERROR,4,2     ## @ERRCODE_INTERNAL_ERROR
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.errcode_for_file_access
l_switch.table.errcode_for_file_access:
	.quad	_ERRCODE_INSUFFICIENT_PRIVILEGE
	.quad	_ERRCODE_INSUFFICIENT_PRIVILEGE
	.quad	_ERRCODE_WRONG_OBJECT_TYPE
	.quad	_ERRCODE_WRONG_OBJECT_TYPE
	.quad	_ERRCODE_DISK_FULL
	.quad	_ERRCODE_UNDEFINED_FILE
	.quad	_ERRCODE_INSUFFICIENT_RESOURCES
	.quad	_ERRCODE_INSUFFICIENT_RESOURCES
	.quad	_ERRCODE_WRONG_OBJECT_TYPE
	.quad	_ERRCODE_IO_ERROR
	.quad	_ERRCODE_DUPLICATE_FILE
	.quad	_ERRCODE_INSUFFICIENT_PRIVILEGE

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_errcode_for_file_access        ; -- Begin function errcode_for_file_access
	.p2align	2
_errcode_for_file_access:               ; @errcode_for_file_access
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _errordata@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errordata@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
Lloh3:
	adrp	x8, _errordata_stack_depth@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errordata_stack_depth@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
	bl	_CHECK_STACK_DEPTH
	lsl	x8, x20, #3
	ldr	w8, [x19, x8]
	sub	w8, w8, #128
	cmp	w8, #11
	b.hi	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, l_switch.table.errcode_for_file_access@PAGE
Lloh7:
	add	x9, x9, l_switch.table.errcode_for_file_access@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _ERRCODE_INTERNAL_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERRCODE_INTERNAL_ERROR@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	add	x9, x19, x20, lsl #3
	str	w8, [x9, #4]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_errordata,8,3                  ; @errordata
	.comm	_errordata_stack_depth,8,3      ; @errordata_stack_depth
	.comm	_ERRCODE_INSUFFICIENT_PRIVILEGE,4,2 ; @ERRCODE_INSUFFICIENT_PRIVILEGE
	.comm	_ERRCODE_UNDEFINED_FILE,4,2     ; @ERRCODE_UNDEFINED_FILE
	.comm	_ERRCODE_DUPLICATE_FILE,4,2     ; @ERRCODE_DUPLICATE_FILE
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ; @ERRCODE_WRONG_OBJECT_TYPE
	.comm	_ERRCODE_DISK_FULL,4,2          ; @ERRCODE_DISK_FULL
	.comm	_ERRCODE_INSUFFICIENT_RESOURCES,4,2 ; @ERRCODE_INSUFFICIENT_RESOURCES
	.comm	_ERRCODE_IO_ERROR,4,2           ; @ERRCODE_IO_ERROR
	.comm	_ERRCODE_INTERNAL_ERROR,4,2     ; @ERRCODE_INTERNAL_ERROR
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.errcode_for_file_access
l_switch.table.errcode_for_file_access:
	.quad	_ERRCODE_INSUFFICIENT_PRIVILEGE
	.quad	_ERRCODE_INSUFFICIENT_PRIVILEGE
	.quad	_ERRCODE_WRONG_OBJECT_TYPE
	.quad	_ERRCODE_WRONG_OBJECT_TYPE
	.quad	_ERRCODE_DISK_FULL
	.quad	_ERRCODE_UNDEFINED_FILE
	.quad	_ERRCODE_INSUFFICIENT_RESOURCES
	.quad	_ERRCODE_INSUFFICIENT_RESOURCES
	.quad	_ERRCODE_WRONG_OBJECT_TYPE
	.quad	_ERRCODE_IO_ERROR
	.quad	_ERRCODE_DUPLICATE_FILE
	.quad	_ERRCODE_INSUFFICIENT_PRIVILEGE

.subsections_via_symbols
