	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl_eri_write
__rtl_eri_write:                        ## @_rtl_eri_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movl	%esi, %r13d
	movq	%rdi, %r14
	testb	$3, %r13b
	setne	%al
	testl	%edx, %edx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_BUG_ON
	movq	_ERIDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_RTL_W32
	movq	_ERIAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ERIAR_WRITE_CMD@GOTPCREL(%rip), %rax
	orl	%r13d, %ebx
	orl	%r15d, %ebx
	orl	(%rax), %ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_RTL_W32
	movq	_rtl_eriar_cond@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	movl	$100, %edx
	movl	$100, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_udelay_loop_wait_low       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERIDR,4,2                      ## @ERIDR
	.comm	_ERIAR,4,2                      ## @ERIAR
	.comm	_ERIAR_WRITE_CMD,4,2            ## @ERIAR_WRITE_CMD
	.comm	_rtl_eriar_cond,4,2             ## @rtl_eriar_cond
	.no_dead_strip	__rtl_eri_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl_eri_write
__rtl_eri_write:                        ; @_rtl_eri_write
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	tst	w1, #0x3
	ccmp	w2, #0, #4, eq
	cset	w0, eq
	bl	_BUG_ON
Lloh0:
	adrp	x8, _ERIDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERIDR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x23
	mov	x2, x20
	bl	_RTL_W32
Lloh3:
	adrp	x8, _ERIAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERIAR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _ERIAR_WRITE_CMD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERIAR_WRITE_CMD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w9, w21, w22
	orr	w9, w9, w19
	orr	w2, w9, w8
	mov	x0, x23
	bl	_RTL_W32
Lloh9:
	adrp	x1, _rtl_eriar_cond@GOTPAGE
Lloh10:
	ldr	x1, [x1, _rtl_eriar_cond@GOTPAGEOFF]
	mov	x0, x23
	mov	w2, #100
	mov	w3, #100
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rtl_udelay_loop_wait_low
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERIDR,4,2                      ; @ERIDR
	.comm	_ERIAR,4,2                      ; @ERIAR
	.comm	_ERIAR_WRITE_CMD,4,2            ; @ERIAR_WRITE_CMD
	.comm	_rtl_eriar_cond,4,2             ; @rtl_eriar_cond
	.no_dead_strip	__rtl_eri_write
.subsections_via_symbols
