	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpsw_ale_write
_cpsw_ale_write:                        ## @cpsw_ale_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
	movq	%rdx, %r15
	movq	%rdi, %r13
	xorl	%edi, %edi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	cmpl	%esi, (%r13)
	setl	%dil
	callq	_WARN_ON
	movq	_ALE_ENTRY_WORDS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx), %edi
	movq	8(%r13), %rsi
	movq	_ALE_TABLE@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	addq	%rbx, %rsi
	callq	_writel_relaxed
	incq	%r12
	movslq	(%r14), %rax
	addq	$4, %rbx
	cmpq	%rax, %r12
	jl	LBB0_2
LBB0_3:
	movq	_ALE_TABLE_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	orl	%ebx, %edi
	movq	_ALE_TABLE_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r13), %rsi
	callq	_writel_relaxed
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALE_ENTRY_WORDS,4,2            ## @ALE_ENTRY_WORDS
	.comm	_ALE_TABLE,8,3                  ## @ALE_TABLE
	.comm	_ALE_TABLE_WRITE,4,2            ## @ALE_TABLE_WRITE
	.comm	_ALE_TABLE_CONTROL,8,3          ## @ALE_TABLE_CONTROL
	.no_dead_strip	_cpsw_ale_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpsw_ale_write
_cpsw_ale_write:                        ; @cpsw_ale_write
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, w1
	cset	w0, lt
	bl	_WARN_ON
Lloh0:
	adrp	x22, _ALE_ENTRY_WORDS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ALE_ENTRY_WORDS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
	mov	x24, #0
Lloh2:
	adrp	x25, _ALE_TABLE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _ALE_TABLE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, x23]
	ldr	x8, [x20, #8]
	ldr	x9, [x25]
	add	x8, x8, x9
	add	x1, x23, x8
	bl	_writel_relaxed
	add	x24, x24, #1
	ldrsw	x8, [x22]
	add	x23, x23, #4
	cmp	x24, x8
	b.lt	LBB0_2
LBB0_3:
Lloh4:
	adrp	x8, _ALE_TABLE_WRITE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ALE_TABLE_WRITE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	orr	w0, w8, w19
	ldr	x8, [x20, #8]
Lloh7:
	adrp	x9, _ALE_TABLE_CONTROL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ALE_TABLE_CONTROL@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ALE_ENTRY_WORDS,4,2            ; @ALE_ENTRY_WORDS
	.comm	_ALE_TABLE,8,3                  ; @ALE_TABLE
	.comm	_ALE_TABLE_WRITE,4,2            ; @ALE_TABLE_WRITE
	.comm	_ALE_TABLE_CONTROL,8,3          ; @ALE_TABLE_CONTROL
	.no_dead_strip	_cpsw_ale_write
.subsections_via_symbols
