	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl_eri_read
__rtl_eri_read:                         ## @_rtl_eri_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_ERIAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ERIAR_READ_CMD@GOTPCREL(%rip), %rcx
	movq	_ERIAR_MASK_1111@GOTPCREL(%rip), %rdi
	orl	%esi, %edx
	orl	(%rcx), %edx
	orl	(%rdi), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_RTL_W32
	movq	_rtl_eriar_cond@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	movl	$100, %edx
	movl	$100, %ecx
	callq	_rtl_udelay_loop_wait_high
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_ERIDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_RTL_R32                        ## TAILCALL
LBB0_1:
	movl	$-1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERIAR,4,2                      ## @ERIAR
	.comm	_ERIAR_READ_CMD,4,2             ## @ERIAR_READ_CMD
	.comm	_ERIAR_MASK_1111,4,2            ## @ERIAR_MASK_1111
	.comm	_rtl_eriar_cond,4,2             ## @rtl_eriar_cond
	.comm	_ERIDR,4,2                      ## @ERIDR
	.no_dead_strip	__rtl_eri_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl_eri_read
__rtl_eri_read:                         ; @_rtl_eri_read
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _ERIAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERIAR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ERIAR_READ_CMD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ERIAR_READ_CMD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _ERIAR_MASK_1111@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ERIAR_MASK_1111@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w11, w2, w1
	orr	w9, w11, w9
	orr	w2, w9, w10
	mov	x1, x8
	bl	_RTL_W32
Lloh9:
	adrp	x1, _rtl_eriar_cond@GOTPAGE
Lloh10:
	ldr	x1, [x1, _rtl_eriar_cond@GOTPAGEOFF]
	mov	x0, x19
	mov	w2, #100
	mov	w3, #100
	bl	_rtl_udelay_loop_wait_high
	cbz	x0, LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _ERIDR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERIDR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_RTL_R32
LBB0_2:
	mov	w0, #-1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ERIAR,4,2                      ; @ERIAR
	.comm	_ERIAR_READ_CMD,4,2             ; @ERIAR_READ_CMD
	.comm	_ERIAR_MASK_1111,4,2            ; @ERIAR_MASK_1111
	.comm	_rtl_eriar_cond,4,2             ; @rtl_eriar_cond
	.comm	_ERIDR,4,2                      ; @ERIDR
	.no_dead_strip	__rtl_eri_read
.subsections_via_symbols
