	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx_sc_to_linux_errno
_imx_sc_to_linux_errno:                 ## @imx_sc_to_linux_errno
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IMX_SC_ERR_NONE@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jg	LBB0_3
## %bb.1:
	movq	_IMX_SC_ERR_LAST@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jle	LBB0_3
## %bb.2:
	movq	_imx_sc_linux_errmap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movl	(%rax,%rcx,4), %eax
	popq	%rbp
	retq
LBB0_3:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IMX_SC_ERR_NONE,4,2            ## @IMX_SC_ERR_NONE
	.comm	_IMX_SC_ERR_LAST,4,2            ## @IMX_SC_ERR_LAST
	.comm	_imx_sc_linux_errmap,8,3        ## @imx_sc_linux_errmap
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_imx_sc_to_linux_errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx_sc_to_linux_errno
_imx_sc_to_linux_errno:                 ; @imx_sc_to_linux_errno
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IMX_SC_ERR_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IMX_SC_ERR_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IMX_SC_ERR_LAST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IMX_SC_ERR_LAST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w0, #4, le
	b.gt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
Lloh9:
	adrp	x8, _imx_sc_linux_errmap@GOTPAGE
Lloh10:
	ldr	x8, [x8, _imx_sc_linux_errmap@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w0, [x8, w0, sxtw #2]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IMX_SC_ERR_NONE,4,2            ; @IMX_SC_ERR_NONE
	.comm	_IMX_SC_ERR_LAST,4,2            ; @IMX_SC_ERR_LAST
	.comm	_imx_sc_linux_errmap,8,3        ; @imx_sc_linux_errmap
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_imx_sc_to_linux_errno
.subsections_via_symbols
