	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CARD_GetErrorCode              ## -- Begin function CARD_GetErrorCode
	.p2align	4, 0x90
_CARD_GetErrorCode:                     ## @CARD_GetErrorCode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EXI_CHANNEL_2@GOTPCREL(%rip), %rax
	movq	_cardmap@GOTPCREL(%rip), %rcx
	leaq	(,%rdi,8), %rdx
	addq	(%rcx), %rdx
	cmpq	%rdi, (%rax)
	movq	_CARD_ERROR_NOCARD@GOTPCREL(%rip), %rax
	cmovbeq	%rax, %rdx
	movq	_EXI_CHANNEL_0@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rcx)
	cmovaq	%rax, %rdx
	movq	(%rdx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXI_CHANNEL_0,8,3              ## @EXI_CHANNEL_0
	.comm	_EXI_CHANNEL_2,8,3              ## @EXI_CHANNEL_2
	.comm	_CARD_ERROR_NOCARD,8,3          ## @CARD_ERROR_NOCARD
	.comm	_cardmap,8,3                    ## @cardmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CARD_GetErrorCode              ; -- Begin function CARD_GetErrorCode
	.p2align	2
_CARD_GetErrorCode:                     ; @CARD_GetErrorCode
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _EXI_CHANNEL_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXI_CHANNEL_0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _EXI_CHANNEL_2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EXI_CHANNEL_2@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x0
	ccmp	x8, x0, #2, hi
Lloh6:
	adrp	x8, _cardmap@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cardmap@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x8, x8, x0, lsl #3
Lloh9:
	adrp	x9, _CARD_ERROR_NOCARD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CARD_ERROR_NOCARD@GOTPAGEOFF]
	csel	x8, x8, x9, ls
	ldr	x0, [x8]
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EXI_CHANNEL_0,8,3              ; @EXI_CHANNEL_0
	.comm	_EXI_CHANNEL_2,8,3              ; @EXI_CHANNEL_2
	.comm	_CARD_ERROR_NOCARD,8,3          ; @CARD_ERROR_NOCARD
	.comm	_cardmap,8,3                    ; @cardmap
.subsections_via_symbols
