	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function am79c961_init_for_open
_am79c961_init_for_open:                ## @am79c961_init_for_open
	.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	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r13
	leaq	64(%rax), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	_CSR0_BABL@GOTPCREL(%rip), %rax
	movq	_CSR0_CERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_CSR0_MISS@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_CSR0_MERR@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	12(%r14), %edi
	movq	_CSR0_TINT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_CSR0@GOTPCREL(%rip), %rcx
	movq	_CSR0_RINT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	(%rcx), %esi
	movq	_CSR0_STOP@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	callq	_write_rreg
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movl	12(%r14), %edi
	movl	$5, %esi
	movl	$160, %edx
	callq	_write_ireg
	movl	12(%r14), %edi
	movl	$6, %esi
	movl	$129, %edx
	callq	_write_ireg
	movl	12(%r14), %edi
	movl	$7, %esi
	movl	$144, %edx
	callq	_write_ireg
	movl	12(%r14), %edi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_write_ireg
	movq	_LADRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_LADRH@GOTPCREL(%rip), %r15
	cmpl	(%r15), %ebx
	jg	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r14), %edi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_write_rreg
	leal	1(%rbx), %eax
	cmpl	(%r15), %ebx
	movl	%eax, %ebx
	jl	LBB0_1
LBB0_2:
	movq	_PADRL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_PADRH@GOTPCREL(%rip), %r15
	cmpl	(%r15), %r12d
	jg	LBB0_5
## %bb.3:
	movq	(%r14), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r14), %edi
	movzwl	(%rbx), %edx
	movl	%r12d, %esi
	callq	_write_rreg
	leal	1(%r12), %eax
	addq	$2, %rbx
	cmpl	(%r15), %r12d
	movl	%eax, %r12d
	jl	LBB0_4
LBB0_5:
	movq	_MODE_PORT_10BT@GOTPCREL(%rip), %rax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	8(%r14), %edx
	je	LBB0_7
## %bb.6:
	movq	_MODE_PROMISC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_7:
	orl	(%rax), %edx
	movl	12(%r14), %edi
	movq	_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_rreg
	movl	12(%r14), %edi
	movq	_POLLINT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_write_rreg
	movl	12(%r14), %edi
	movq	_SIZERXR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RX_BUFFERS@GOTPCREL(%rip), %r12
	xorl	%edx, %edx
	subl	(%r12), %edx
	callq	_write_rreg
	movl	12(%r14), %edi
	movq	_SIZETXR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TX_BUFFERS@GOTPCREL(%rip), %r15
	xorl	%edx, %edx
	subl	(%r15), %edx
	callq	_write_rreg
	movq	%r12, %rdx
	movl	(%r15), %eax
	addl	(%r12), %eax
	leal	16(,%rax,8), %r12d
	movl	$0, (%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%r13)
	cmpl	$0, (%rdx)
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_8
## %bb.9:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	%r12d, (%rax,%r13,4)
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%rdx, %r15
	movl	%r12d, %edx
	callq	_am_writeword
	movq	_RMD_OWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leal	2(%rbx), %esi
	movq	%r14, %rdi
	callq	_am_writeword
	leal	4(%rbx), %esi
	movq	%r14, %rdi
	movl	$-1600, %edx                    ## imm = 0xF9C0
	callq	_am_writeword
	leal	6(%rbx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_am_writeword
	movq	%r15, %rdx
	addl	$1600, %r12d                    ## imm = 0x640
	addl	$8, %ebx
	incq	%r13
	movslq	(%rdx), %rax
	cmpq	%rax, %r13
	jl	LBB0_10
## %bb.11:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	_TX_BUFFERS@GOTPCREL(%rip), %rcx
	xorps	%xmm0, %xmm0
	jmp	LBB0_12
LBB0_8:
	movq	%r15, %rcx
	movq	%r13, %r15
LBB0_12:
	movups	%xmm0, 32(%r15)
	movl	%ebx, 16(%r15)
	cmpl	$0, (%rcx)
	jle	LBB0_15
## %bb.13:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rax
	movl	%r12d, (%rax,%r13,4)
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movq	%rcx, %r15
	callq	_am_writeword
	movl	%ebx, %esi
	orl	$2, %esi
	movq	_TMD_ENP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_TMD_STP@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r14, %rdi
	callq	_am_writeword
	movl	%ebx, %esi
	orl	$4, %esi
	movq	%r14, %rdi
	movl	$61440, %edx                    ## imm = 0xF000
	callq	_am_writeword
	movl	%ebx, %esi
	orl	$6, %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_am_writeword
	movq	%r15, %rcx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	addl	$1600, %r12d                    ## imm = 0x640
	addl	$8, %ebx
	incq	%r13
	movslq	(%rcx), %rax
	cmpq	%rax, %r13
	jl	LBB0_14
LBB0_15:
	movl	12(%r14), %edi
	movq	_BASERXL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	callq	_write_rreg
	movl	12(%r14), %edi
	movq	_BASERXH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	xorl	%edx, %edx
	callq	_write_rreg
	movl	12(%r14), %edi
	movq	_BASETXL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r15), %edx
	callq	_write_rreg
	movl	12(%r14), %edi
	movl	(%rbx), %esi
	xorl	%edx, %edx
	callq	_write_rreg
	movl	12(%r14), %edi
	movq	_CSR0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_CSR0_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_write_rreg
	movl	12(%r14), %edi
	movq	_CSR3@GOTPCREL(%rip), %rax
	movq	_CSR3_IDONM@GOTPCREL(%rip), %rcx
	movq	_CSR3_BABLM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_CSR3_DXSUFLO@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	callq	_write_rreg
	movq	_CSR4_APAD_XMIT@GOTPCREL(%rip), %rax
	movq	_CSR4_MFCOM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	12(%r14), %edi
	movq	_CSR4_RCVCCOM@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_CSR4@GOTPCREL(%rip), %rax
	movq	_CSR4_TXSTRTM@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_CSR4_JABM@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	callq	_write_rreg
	movl	12(%r14), %edi
	movl	(%rbx), %esi
	movq	_CSR0_IENA@GOTPCREL(%rip), %rax
	movq	_CSR0_STRT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_rreg                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CSR0,4,2                       ## @CSR0
	.comm	_CSR0_BABL,4,2                  ## @CSR0_BABL
	.comm	_CSR0_CERR,4,2                  ## @CSR0_CERR
	.comm	_CSR0_MISS,4,2                  ## @CSR0_MISS
	.comm	_CSR0_MERR,4,2                  ## @CSR0_MERR
	.comm	_CSR0_TINT,4,2                  ## @CSR0_TINT
	.comm	_CSR0_RINT,4,2                  ## @CSR0_RINT
	.comm	_CSR0_STOP,4,2                  ## @CSR0_STOP
	.comm	_LADRL,4,2                      ## @LADRL
	.comm	_LADRH,4,2                      ## @LADRH
	.comm	_PADRL,4,2                      ## @PADRL
	.comm	_PADRH,4,2                      ## @PADRH
	.comm	_MODE_PORT_10BT,4,2             ## @MODE_PORT_10BT
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_MODE_PROMISC,4,2               ## @MODE_PROMISC
	.comm	_MODE,4,2                       ## @MODE
	.comm	_POLLINT,4,2                    ## @POLLINT
	.comm	_SIZERXR,4,2                    ## @SIZERXR
	.comm	_RX_BUFFERS,4,2                 ## @RX_BUFFERS
	.comm	_SIZETXR,4,2                    ## @SIZETXR
	.comm	_TX_BUFFERS,4,2                 ## @TX_BUFFERS
	.comm	_RMD_OWN,4,2                    ## @RMD_OWN
	.comm	_TMD_STP,4,2                    ## @TMD_STP
	.comm	_TMD_ENP,4,2                    ## @TMD_ENP
	.comm	_BASERXL,4,2                    ## @BASERXL
	.comm	_BASERXH,4,2                    ## @BASERXH
	.comm	_BASETXL,4,2                    ## @BASETXL
	.comm	_CSR3,4,2                       ## @CSR3
	.comm	_CSR3_IDONM,4,2                 ## @CSR3_IDONM
	.comm	_CSR3_BABLM,4,2                 ## @CSR3_BABLM
	.comm	_CSR3_DXSUFLO,4,2               ## @CSR3_DXSUFLO
	.comm	_CSR4,4,2                       ## @CSR4
	.comm	_CSR4_APAD_XMIT,4,2             ## @CSR4_APAD_XMIT
	.comm	_CSR4_MFCOM,4,2                 ## @CSR4_MFCOM
	.comm	_CSR4_RCVCCOM,4,2               ## @CSR4_RCVCCOM
	.comm	_CSR4_TXSTRTM,4,2               ## @CSR4_TXSTRTM
	.comm	_CSR4_JABM,4,2                  ## @CSR4_JABM
	.comm	_CSR0_IENA,4,2                  ## @CSR0_IENA
	.comm	_CSR0_STRT,4,2                  ## @CSR0_STRT
	.no_dead_strip	_am79c961_init_for_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function am79c961_init_for_open
_am79c961_init_for_open:                ; @am79c961_init_for_open
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	add	x21, x0, #64
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	w0, [x19, #12]
Lloh0:
	adrp	x23, _CSR0@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CSR0@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh2:
	adrp	x8, _CSR0_BABL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CSR0_BABL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _CSR0_CERR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CSR0_CERR@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, _CSR0_MISS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CSR0_MISS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh11:
	adrp	x9, _CSR0_MERR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CSR0_MERR@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _CSR0_TINT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CSR0_TINT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _CSR0_RINT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CSR0_RINT@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh20:
	adrp	x24, _CSR0_STOP@GOTPAGE
Lloh21:
	ldr	x24, [x24, _CSR0_STOP@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w2, w8, w9
	bl	_write_rreg
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	ldr	w0, [x19, #12]
	mov	w1, #5
	mov	w2, #160
	bl	_write_ireg
	ldr	w0, [x19, #12]
	mov	w1, #6
	mov	w2, #129
	bl	_write_ireg
	ldr	w0, [x19, #12]
	mov	w1, #7
	mov	w2, #144
	bl	_write_ireg
	ldr	w0, [x19, #12]
	mov	w1, #2
	mov	w2, #0
	bl	_write_ireg
Lloh22:
	adrp	x8, _LADRL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LADRL@GOTPAGEOFF]
Lloh24:
	ldr	w21, [x8]
Lloh25:
	adrp	x22, _LADRH@GOTPAGE
Lloh26:
	ldr	x22, [x22, _LADRH@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w21, w8
	b.gt	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #12]
	mov	x1, x21
	mov	w2, #0
	bl	_write_rreg
	add	w8, w21, #1
	ldr	w9, [x22]
	cmp	w21, w9
	mov	x21, x8
	b.lt	LBB0_1
LBB0_2:
Lloh27:
	adrp	x8, _PADRL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PADRL@GOTPAGEOFF]
Lloh29:
	ldr	w21, [x8]
Lloh30:
	adrp	x22, _PADRH@GOTPAGE
Lloh31:
	ldr	x22, [x22, _PADRH@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w21, w8
	b.gt	LBB0_5
; %bb.3:
	ldr	x25, [x19]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #12]
	ldrh	w2, [x25], #2
	mov	x1, x21
	bl	_write_rreg
	add	w8, w21, #1
	ldr	w9, [x22]
	cmp	w21, w9
	mov	x21, x8
	b.lt	LBB0_4
LBB0_5:
Lloh32:
	adrp	x8, _MODE_PORT_10BT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MODE_PORT_10BT@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh36:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
Lloh38:
	adrp	x10, _MODE_PROMISC@GOTPAGE
Lloh39:
	ldr	x10, [x10, _MODE_PROMISC@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	ldp	w11, w0, [x19, #8]
	tst	w9, w11
	csel	w9, wzr, w10, eq
	orr	w2, w9, w8
Lloh41:
	adrp	x8, _MODE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _MODE@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	bl	_write_rreg
	ldr	w0, [x19, #12]
Lloh44:
	adrp	x8, _POLLINT@GOTPAGE
Lloh45:
	ldr	x8, [x8, _POLLINT@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_write_rreg
Lloh47:
	adrp	x8, _SIZERXR@GOTPAGE
Lloh48:
	ldr	x8, [x8, _SIZERXR@GOTPAGEOFF]
	ldr	w0, [x19, #12]
Lloh49:
	ldr	w1, [x8]
Lloh50:
	adrp	x26, _RX_BUFFERS@GOTPAGE
Lloh51:
	ldr	x26, [x26, _RX_BUFFERS@GOTPAGEOFF]
	ldr	w8, [x26]
	neg	w2, w8
	bl	_write_rreg
Lloh52:
	adrp	x8, _SIZETXR@GOTPAGE
Lloh53:
	ldr	x8, [x8, _SIZETXR@GOTPAGEOFF]
	ldr	w0, [x19, #12]
Lloh54:
	ldr	w1, [x8]
Lloh55:
	adrp	x25, _TX_BUFFERS@GOTPAGE
Lloh56:
	ldr	x25, [x25, _TX_BUFFERS@GOTPAGEOFF]
	ldr	w8, [x25]
	neg	w2, w8
	bl	_write_rreg
	ldr	w8, [x26]
	ldr	w9, [x25]
	add	w8, w9, w8
	lsl	w8, w8, #3
	add	w21, w8, #16
	str	wzr, [x20]
	stp	xzr, xzr, [x20, #48]
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x27, #0
	mov	w22, #0
Lloh57:
	adrp	x28, _RMD_OWN@GOTPAGE
Lloh58:
	ldr	x28, [x28, _RMD_OWN@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	str	w21, [x8, x27, lsl #2]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_am_writeword
	ldr	w2, [x28]
	add	w1, w22, #2
	mov	x0, x19
	bl	_am_writeword
	add	w1, w22, #4
	mov	x0, x19
	mov	w2, #-1600
	bl	_am_writeword
	add	w1, w22, #6
	mov	x0, x19
	mov	w2, #0
	bl	_am_writeword
	add	w21, w21, #1600
	add	w22, w22, #8
	add	x27, x27, #1
	ldrsw	x8, [x26]
	cmp	x27, x8
	b.lt	LBB0_7
	b	LBB0_9
LBB0_8:
	mov	w22, #0
LBB0_9:
	stp	xzr, xzr, [x20, #32]
	str	w22, [x20, #16]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x26, #0
Lloh59:
	adrp	x27, _TMD_STP@GOTPAGE
Lloh60:
	ldr	x27, [x27, _TMD_STP@GOTPAGEOFF]
Lloh61:
	adrp	x28, _TMD_ENP@GOTPAGE
Lloh62:
	ldr	x28, [x28, _TMD_ENP@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	str	w21, [x8, x26, lsl #2]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_am_writeword
	orr	w1, w22, #0x2
	ldr	w8, [x27]
	ldr	w9, [x28]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_am_writeword
	orr	w1, w22, #0x4
	mov	x0, x19
	mov	w2, #61440
	bl	_am_writeword
	orr	w1, w22, #0x6
	mov	x0, x19
	mov	w2, #0
	bl	_am_writeword
	add	w21, w21, #1600
	add	w22, w22, #8
	add	x26, x26, #1
	ldrsw	x8, [x25]
	cmp	x26, x8
	b.lt	LBB0_11
LBB0_12:
	ldr	w0, [x19, #12]
Lloh63:
	adrp	x8, _BASERXL@GOTPAGE
Lloh64:
	ldr	x8, [x8, _BASERXL@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	ldr	w2, [x20]
	bl	_write_rreg
	ldr	w0, [x19, #12]
Lloh66:
	adrp	x21, _BASERXH@GOTPAGE
Lloh67:
	ldr	x21, [x21, _BASERXH@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w2, #0
	bl	_write_rreg
	ldr	w0, [x19, #12]
Lloh68:
	adrp	x8, _BASETXL@GOTPAGE
Lloh69:
	ldr	x8, [x8, _BASETXL@GOTPAGEOFF]
Lloh70:
	ldr	w1, [x8]
	ldr	w2, [x20, #16]
	bl	_write_rreg
	ldr	w0, [x19, #12]
	ldr	w1, [x21]
	mov	w2, #0
	bl	_write_rreg
	ldr	w0, [x19, #12]
	ldr	w1, [x23]
	ldr	w2, [x24]
	bl	_write_rreg
	ldr	w0, [x19, #12]
Lloh71:
	adrp	x8, _CSR3@GOTPAGE
Lloh72:
	ldr	x8, [x8, _CSR3@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
Lloh74:
	adrp	x8, _CSR3_IDONM@GOTPAGE
Lloh75:
	ldr	x8, [x8, _CSR3_IDONM@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
Lloh77:
	adrp	x9, _CSR3_BABLM@GOTPAGE
Lloh78:
	ldr	x9, [x9, _CSR3_BABLM@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh80:
	adrp	x9, _CSR3_DXSUFLO@GOTPAGE
Lloh81:
	ldr	x9, [x9, _CSR3_DXSUFLO@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x9]
	orr	w2, w8, w9
	bl	_write_rreg
	ldr	w0, [x19, #12]
Lloh83:
	adrp	x8, _CSR4@GOTPAGE
Lloh84:
	ldr	x8, [x8, _CSR4@GOTPAGEOFF]
Lloh85:
	adrp	x9, _CSR4_APAD_XMIT@GOTPAGE
Lloh86:
	ldr	x9, [x9, _CSR4_APAD_XMIT@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
Lloh88:
	ldr	w8, [x9]
Lloh89:
	adrp	x9, _CSR4_MFCOM@GOTPAGE
Lloh90:
	ldr	x9, [x9, _CSR4_MFCOM@GOTPAGEOFF]
Lloh91:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh92:
	adrp	x9, _CSR4_RCVCCOM@GOTPAGE
Lloh93:
	ldr	x9, [x9, _CSR4_RCVCCOM@GOTPAGEOFF]
Lloh94:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh95:
	adrp	x9, _CSR4_TXSTRTM@GOTPAGE
Lloh96:
	ldr	x9, [x9, _CSR4_TXSTRTM@GOTPAGEOFF]
Lloh97:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh98:
	adrp	x9, _CSR4_JABM@GOTPAGE
Lloh99:
	ldr	x9, [x9, _CSR4_JABM@GOTPAGEOFF]
Lloh100:
	ldr	w9, [x9]
	orr	w2, w8, w9
	bl	_write_rreg
	ldr	w0, [x19, #12]
	ldr	w1, [x23]
Lloh101:
	adrp	x8, _CSR0_IENA@GOTPAGE
Lloh102:
	ldr	x8, [x8, _CSR0_IENA@GOTPAGEOFF]
Lloh103:
	adrp	x9, _CSR0_STRT@GOTPAGE
Lloh104:
	ldr	x9, [x9, _CSR0_STRT@GOTPAGEOFF]
Lloh105:
	ldr	w8, [x8]
Lloh106:
	ldr	w9, [x9]
	orr	w2, w9, w8
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_write_rreg
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh105
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh87
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.comm	_CSR0,4,2                       ; @CSR0
	.comm	_CSR0_BABL,4,2                  ; @CSR0_BABL
	.comm	_CSR0_CERR,4,2                  ; @CSR0_CERR
	.comm	_CSR0_MISS,4,2                  ; @CSR0_MISS
	.comm	_CSR0_MERR,4,2                  ; @CSR0_MERR
	.comm	_CSR0_TINT,4,2                  ; @CSR0_TINT
	.comm	_CSR0_RINT,4,2                  ; @CSR0_RINT
	.comm	_CSR0_STOP,4,2                  ; @CSR0_STOP
	.comm	_LADRL,4,2                      ; @LADRL
	.comm	_LADRH,4,2                      ; @LADRH
	.comm	_PADRL,4,2                      ; @PADRL
	.comm	_PADRH,4,2                      ; @PADRH
	.comm	_MODE_PORT_10BT,4,2             ; @MODE_PORT_10BT
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_MODE_PROMISC,4,2               ; @MODE_PROMISC
	.comm	_MODE,4,2                       ; @MODE
	.comm	_POLLINT,4,2                    ; @POLLINT
	.comm	_SIZERXR,4,2                    ; @SIZERXR
	.comm	_RX_BUFFERS,4,2                 ; @RX_BUFFERS
	.comm	_SIZETXR,4,2                    ; @SIZETXR
	.comm	_TX_BUFFERS,4,2                 ; @TX_BUFFERS
	.comm	_RMD_OWN,4,2                    ; @RMD_OWN
	.comm	_TMD_STP,4,2                    ; @TMD_STP
	.comm	_TMD_ENP,4,2                    ; @TMD_ENP
	.comm	_BASERXL,4,2                    ; @BASERXL
	.comm	_BASERXH,4,2                    ; @BASERXH
	.comm	_BASETXL,4,2                    ; @BASETXL
	.comm	_CSR3,4,2                       ; @CSR3
	.comm	_CSR3_IDONM,4,2                 ; @CSR3_IDONM
	.comm	_CSR3_BABLM,4,2                 ; @CSR3_BABLM
	.comm	_CSR3_DXSUFLO,4,2               ; @CSR3_DXSUFLO
	.comm	_CSR4,4,2                       ; @CSR4
	.comm	_CSR4_APAD_XMIT,4,2             ; @CSR4_APAD_XMIT
	.comm	_CSR4_MFCOM,4,2                 ; @CSR4_MFCOM
	.comm	_CSR4_RCVCCOM,4,2               ; @CSR4_RCVCCOM
	.comm	_CSR4_TXSTRTM,4,2               ; @CSR4_TXSTRTM
	.comm	_CSR4_JABM,4,2                  ; @CSR4_JABM
	.comm	_CSR0_IENA,4,2                  ; @CSR0_IENA
	.comm	_CSR0_STRT,4,2                  ; @CSR0_STRT
	.no_dead_strip	_am79c961_init_for_open
.subsections_via_symbols
