	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s6gmac_init_device
_s6gmac_init_device:                    ## @s6gmac_init_device
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rax
	movq	_SUPPORTED_1000baseT_Half@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	24(%rbx), %rax
	xorl	%r14d, %r14d
	andl	(%rax), %ecx
	setne	%r14b
	movq	_S6_GMAC_MACCONF1_SOFTRES@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %r13d
	movl	$1, %edi
	shll	%cl, %edi
	movq	_S6_GMAC_MACCONF1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rax, %r15
	addq	(%rbx), %rsi
	callq	_writel
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	movq	_S6_GMAC_MACCONF1_TXENA@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_S6_GMAC_MACCONF1_RXENA@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edi
	shll	%cl, %edi
	btsl	%eax, %edi
	movq	(%r15), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_S6_GMAC_HOST_PBLKCTRL_TXSRES@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_S6_GMAC_HOST_PBLKCTRL_RXSRES@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edi
	shll	%cl, %edi
	btsl	%eax, %edi
	movq	_S6_GMAC_HOST_PBLKCTRL@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_S6_GMAC_HOST_PBLKCTRL_SIZ_128@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_S6_GMAC_HOST_PBLKCTRL_TXBSIZ@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %edx
	shll	%cl, %edx
	movq	_S6_GMAC_HOST_PBLKCTRL_RXBSIZ@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%edx, %eax
	movq	_S6_GMAC_HOST_PBLKCTRL_STATENA@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movq	_S6_GMAC_HOST_PBLKCTRL_STATCLEAR@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movq	_S6_GMAC_HOST_PBLKCTRL_RGMII@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%r14d, %edi
	shll	%cl, %edi
	orl	%eax, %edi
	movq	(%r15), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_S6_GMAC_MACCONF1_TXENA@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_S6_GMAC_MACCONF1_RXENA@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r13d
	btsl	%eax, %r13d
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%r12), %eax
	setne	%dil
	movq	_S6_GMAC_MACCONF1_LOOPBACK@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	orl	%r13d, %edi
	movq	_S6_GMAC_MACCONF1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r12), %eax
	movq	_S6_MAX_FRLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rdx
	addl	(%rdx), %ecx
	movl	%edi, %edx
	subl	%ecx, %edx
	addl	%eax, %ecx
	cmpl	%edx, %eax
	cmovll	%ecx, %edi
LBB0_2:
	movq	_S6_GMAC_MACMAXFRAMELEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	xorl	%edi, %edi
	cmpq	$0, 16(%rbx)
	setne	%dil
	movq	_S6_GMAC_MACCONF2_FULL@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	movq	_S6_GMAC_MACCONF2_PADCRCENA@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edi
	movq	_S6_GMAC_MACCONF2_LENGTHFCHK@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edi
	cmpl	$0, 8(%rbx)
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	jne	LBB0_3
## %bb.4:
	movq	_S6_GMAC_MACCONF2_IFMODE_NIBBLE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_S6_GMAC_MACCONF2_IFMODE_BYTE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movq	_S6_GMAC_MACCONF2_IFMODE@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_S6_GMAC_MACCONF2_PREAMBLELEN@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$7, %edx
	shll	%cl, %edx
	orl	%edx, %edi
	orl	%eax, %edi
	movq	_S6_GMAC_MACCONF2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_S6_GMAC_MACSTATADDR1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_S6_GMAC_MACSTATADDR2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_S6_GMAC_FIFOCONF0_WTMENREQ@GOTPCREL(%rip), %rax
	movq	_S6_GMAC_FIFOCONF0_SRFENREQ@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edi
	shll	%cl, %edi
	movb	(%rax), %al
	movl	$1, %r13d
	btsl	%eax, %edi
	movq	_S6_GMAC_FIFOCONF0_FRFENREQ@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edi
	movq	_S6_GMAC_FIFOCONF0_STFENREQ@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edi
	movq	_S6_GMAC_FIFOCONF0_FTFENREQ@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edi
	movq	_S6_GMAC_FIFOCONF0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_S6_GMAC_FIFOCONF3_CFGFTTH@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$128, %eax
	shll	%cl, %eax
	movl	$128, %edi
	movq	_S6_GMAC_FIFOCONF3_CFGHWMFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	orl	%eax, %edi
	movq	_S6_GMAC_FIFOCONF3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_S6_GMAC_FIFOCONF_RSV_MASK@GOTPCREL(%rip), %rdx
	movq	_S6_GMAC_FIFOCONF_RSV_RUNT@GOTPCREL(%rip), %rsi
	movq	_S6_GMAC_FIFOCONF_RSV_CRCERR@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movb	(%rsi), %cl
	btsl	%ecx, %eax
	movq	_S6_GMAC_FIFOCONF_RSV_OK@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movq	_S6_GMAC_FIFOCONF_RSV_DRIBBLE@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movq	_S6_GMAC_FIFOCONF_RSV_CTRLFRAME@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movq	_S6_GMAC_FIFOCONF_RSV_PAUSECTRL@GOTPCREL(%rip), %r15
	movb	(%r15), %cl
	btsl	%ecx, %eax
	movq	_S6_GMAC_FIFOCONF_RSV_UNOPCODE@GOTPCREL(%rip), %r14
	movb	(%r14), %cl
	btsl	%ecx, %eax
	movq	_S6_GMAC_FIFOCONF_RSV_TRUNCATED@GOTPCREL(%rip), %r12
	movb	(%r12), %cl
	btsl	%ecx, %eax
	notl	%eax
	andl	(%rdx), %eax
	movq	_S6_GMAC_FIFOCONF5_DROPLT64@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movl	8(%rbx), %edi
	movq	_S6_GMAC_FIFOCONF5_CFGBYTM@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	orl	%eax, %edi
	movq	_S6_GMAC_FIFOCONF5_RXDROPSIZE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edi
	movq	_S6_GMAC_FIFOCONF5@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_S6_GMAC_FIFOCONF_RSV_CRCERR@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edi
	shll	%cl, %edi
	movq	_S6_GMAC_FIFOCONF_RSV_RUNT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edi
	movq	_S6_GMAC_FIFOCONF_RSV_DRIBBLE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edi
	movq	_S6_GMAC_FIFOCONF_RSV_CTRLFRAME@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edi
	movb	(%r15), %al
	btsl	%eax, %edi
	movb	(%r14), %al
	btsl	%eax, %edi
	movb	(%r12), %al
	btsl	%eax, %edi
	movq	_S6_GMAC_FIFOCONF4@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$-1, %edx
	movl	$65535, %ecx                    ## imm = 0xFFFF
	movl	$-1, %r8d
	movl	$65535, %r9d                    ## imm = 0xFFFF
	callq	_s6gmac_set_dstaddr
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	16(%rax), %esi
	shll	$8, %esi
	orl	20(%rax), %esi
	movl	12(%rax), %edi
	shll	$16, %edi
	movl	(%rax), %ecx
	movl	8(%rax), %edx
	shll	$24, %edx
	orl	%edi, %edx
	orl	%esi, %edx
	shll	$8, %ecx
	orl	4(%rax), %ecx
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$-1, %r8d
	movl	$65535, %r9d                    ## imm = 0xFFFF
	callq	_s6gmac_set_dstaddr
	movq	%rbx, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	movl	$256, %ecx                      ## imm = 0x100
	xorl	%r8d, %r8d
	movl	$256, %r9d                      ## imm = 0x100
	callq	_s6gmac_set_dstaddr
	movq	%rbx, %rdi
	movl	$3, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_s6gmac_set_dstaddr
	movq	_S6_GMAC_HOST_PBLKCTRL_TXENA@GOTPCREL(%rip), %rax
	movq	_S6_GMAC_HOST_PBLKCTRL_RXENA@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r13d
	movq	_S6_GMAC_HOST_PBLKCTRL_SIZ_128@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_S6_GMAC_HOST_PBLKCTRL_TXBSIZ@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%edx, %esi
	shll	%cl, %esi
	movq	_S6_GMAC_HOST_PBLKCTRL_RXBSIZ@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movb	(%rax), %al
	btsl	%eax, %r13d
	orl	%esi, %edx
	orl	%r13d, %edx
	movq	_S6_GMAC_HOST_PBLKCTRL_STATENA@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edx
	movq	_S6_GMAC_HOST_PBLKCTRL_STATCLEAR@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edx
	movq	_S6_GMAC_HOST_PBLKCTRL_RGMII@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	shll	%cl, %edi
	orl	%edx, %edi
	movq	_S6_GMAC_HOST_PBLKCTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SUPPORTED_1000baseT_Full,4,2   ## @SUPPORTED_1000baseT_Full
	.comm	_SUPPORTED_1000baseT_Half,4,2   ## @SUPPORTED_1000baseT_Half
	.comm	_S6_GMAC_MACCONF1_SOFTRES,4,2   ## @S6_GMAC_MACCONF1_SOFTRES
	.comm	_S6_GMAC_MACCONF1,8,3           ## @S6_GMAC_MACCONF1
	.comm	_S6_GMAC_MACCONF1_TXENA,4,2     ## @S6_GMAC_MACCONF1_TXENA
	.comm	_S6_GMAC_MACCONF1_RXENA,4,2     ## @S6_GMAC_MACCONF1_RXENA
	.comm	_S6_GMAC_HOST_PBLKCTRL_TXSRES,4,2 ## @S6_GMAC_HOST_PBLKCTRL_TXSRES
	.comm	_S6_GMAC_HOST_PBLKCTRL_RXSRES,4,2 ## @S6_GMAC_HOST_PBLKCTRL_RXSRES
	.comm	_S6_GMAC_HOST_PBLKCTRL,8,3      ## @S6_GMAC_HOST_PBLKCTRL
	.comm	_S6_GMAC_HOST_PBLKCTRL_SIZ_128,4,2 ## @S6_GMAC_HOST_PBLKCTRL_SIZ_128
	.comm	_S6_GMAC_HOST_PBLKCTRL_TXBSIZ,4,2 ## @S6_GMAC_HOST_PBLKCTRL_TXBSIZ
	.comm	_S6_GMAC_HOST_PBLKCTRL_RXBSIZ,4,2 ## @S6_GMAC_HOST_PBLKCTRL_RXBSIZ
	.comm	_S6_GMAC_HOST_PBLKCTRL_STATENA,4,2 ## @S6_GMAC_HOST_PBLKCTRL_STATENA
	.comm	_S6_GMAC_HOST_PBLKCTRL_STATCLEAR,4,2 ## @S6_GMAC_HOST_PBLKCTRL_STATCLEAR
	.comm	_S6_GMAC_HOST_PBLKCTRL_RGMII,4,2 ## @S6_GMAC_HOST_PBLKCTRL_RGMII
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.comm	_S6_GMAC_MACCONF1_LOOPBACK,4,2  ## @S6_GMAC_MACCONF1_LOOPBACK
	.comm	_S6_MAX_FRLEN,4,2               ## @S6_MAX_FRLEN
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_ETH_FCS_LEN,4,2                ## @ETH_FCS_LEN
	.comm	_S6_GMAC_MACMAXFRAMELEN,8,3     ## @S6_GMAC_MACMAXFRAMELEN
	.comm	_S6_GMAC_MACCONF2_FULL,4,2      ## @S6_GMAC_MACCONF2_FULL
	.comm	_S6_GMAC_MACCONF2_PADCRCENA,4,2 ## @S6_GMAC_MACCONF2_PADCRCENA
	.comm	_S6_GMAC_MACCONF2_LENGTHFCHK,4,2 ## @S6_GMAC_MACCONF2_LENGTHFCHK
	.comm	_S6_GMAC_MACCONF2_IFMODE_BYTE,4,2 ## @S6_GMAC_MACCONF2_IFMODE_BYTE
	.comm	_S6_GMAC_MACCONF2_IFMODE_NIBBLE,4,2 ## @S6_GMAC_MACCONF2_IFMODE_NIBBLE
	.comm	_S6_GMAC_MACCONF2_IFMODE,4,2    ## @S6_GMAC_MACCONF2_IFMODE
	.comm	_S6_GMAC_MACCONF2_PREAMBLELEN,4,2 ## @S6_GMAC_MACCONF2_PREAMBLELEN
	.comm	_S6_GMAC_MACCONF2,8,3           ## @S6_GMAC_MACCONF2
	.comm	_S6_GMAC_MACSTATADDR1,8,3       ## @S6_GMAC_MACSTATADDR1
	.comm	_S6_GMAC_MACSTATADDR2,8,3       ## @S6_GMAC_MACSTATADDR2
	.comm	_S6_GMAC_FIFOCONF0_WTMENREQ,4,2 ## @S6_GMAC_FIFOCONF0_WTMENREQ
	.comm	_S6_GMAC_FIFOCONF0_SRFENREQ,4,2 ## @S6_GMAC_FIFOCONF0_SRFENREQ
	.comm	_S6_GMAC_FIFOCONF0_FRFENREQ,4,2 ## @S6_GMAC_FIFOCONF0_FRFENREQ
	.comm	_S6_GMAC_FIFOCONF0_STFENREQ,4,2 ## @S6_GMAC_FIFOCONF0_STFENREQ
	.comm	_S6_GMAC_FIFOCONF0_FTFENREQ,4,2 ## @S6_GMAC_FIFOCONF0_FTFENREQ
	.comm	_S6_GMAC_FIFOCONF0,8,3          ## @S6_GMAC_FIFOCONF0
	.comm	_S6_GMAC_FIFOCONF3_CFGFTTH,4,2  ## @S6_GMAC_FIFOCONF3_CFGFTTH
	.comm	_S6_GMAC_FIFOCONF3_CFGHWMFT,4,2 ## @S6_GMAC_FIFOCONF3_CFGHWMFT
	.comm	_S6_GMAC_FIFOCONF3,8,3          ## @S6_GMAC_FIFOCONF3
	.comm	_S6_GMAC_FIFOCONF_RSV_MASK,4,2  ## @S6_GMAC_FIFOCONF_RSV_MASK
	.comm	_S6_GMAC_FIFOCONF_RSV_RUNT,4,2  ## @S6_GMAC_FIFOCONF_RSV_RUNT
	.comm	_S6_GMAC_FIFOCONF_RSV_CRCERR,4,2 ## @S6_GMAC_FIFOCONF_RSV_CRCERR
	.comm	_S6_GMAC_FIFOCONF_RSV_OK,4,2    ## @S6_GMAC_FIFOCONF_RSV_OK
	.comm	_S6_GMAC_FIFOCONF_RSV_DRIBBLE,4,2 ## @S6_GMAC_FIFOCONF_RSV_DRIBBLE
	.comm	_S6_GMAC_FIFOCONF_RSV_CTRLFRAME,4,2 ## @S6_GMAC_FIFOCONF_RSV_CTRLFRAME
	.comm	_S6_GMAC_FIFOCONF_RSV_PAUSECTRL,4,2 ## @S6_GMAC_FIFOCONF_RSV_PAUSECTRL
	.comm	_S6_GMAC_FIFOCONF_RSV_UNOPCODE,4,2 ## @S6_GMAC_FIFOCONF_RSV_UNOPCODE
	.comm	_S6_GMAC_FIFOCONF_RSV_TRUNCATED,4,2 ## @S6_GMAC_FIFOCONF_RSV_TRUNCATED
	.comm	_S6_GMAC_FIFOCONF5_DROPLT64,4,2 ## @S6_GMAC_FIFOCONF5_DROPLT64
	.comm	_S6_GMAC_FIFOCONF5_CFGBYTM,4,2  ## @S6_GMAC_FIFOCONF5_CFGBYTM
	.comm	_S6_GMAC_FIFOCONF5_RXDROPSIZE,4,2 ## @S6_GMAC_FIFOCONF5_RXDROPSIZE
	.comm	_S6_GMAC_FIFOCONF5,8,3          ## @S6_GMAC_FIFOCONF5
	.comm	_S6_GMAC_FIFOCONF4,8,3          ## @S6_GMAC_FIFOCONF4
	.comm	_S6_GMAC_HOST_PBLKCTRL_TXENA,4,2 ## @S6_GMAC_HOST_PBLKCTRL_TXENA
	.comm	_S6_GMAC_HOST_PBLKCTRL_RXENA,4,2 ## @S6_GMAC_HOST_PBLKCTRL_RXENA
	.comm	_S6_GMAC_MACCONF1_RESRXFUNC,4,2 ## @S6_GMAC_MACCONF1_RESRXFUNC
	.comm	_S6_GMAC_MACCONF1_RESRXMACCTRL,4,2 ## @S6_GMAC_MACCONF1_RESRXMACCTRL
	.comm	_S6_GMAC_MACCONF1_RESTXFUNC,4,2 ## @S6_GMAC_MACCONF1_RESTXFUNC
	.comm	_S6_GMAC_MACCONF1_RESTXMACCTRL,4,2 ## @S6_GMAC_MACCONF1_RESTXMACCTRL
	.comm	_S6_GMAC_MACCONF1_RXFLOWCTRL,4,2 ## @S6_GMAC_MACCONF1_RXFLOWCTRL
	.comm	_S6_GMAC_MACCONF1_SYNCRX,4,2    ## @S6_GMAC_MACCONF1_SYNCRX
	.comm	_S6_GMAC_MACCONF1_SYNCTX,4,2    ## @S6_GMAC_MACCONF1_SYNCTX
	.comm	_S6_GMAC_MACCONF1_TXFLOWCTRL,4,2 ## @S6_GMAC_MACCONF1_TXFLOWCTRL
	.no_dead_strip	_s6gmac_init_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s6gmac_init_device
_s6gmac_init_device:                    ; @s6gmac_init_device
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0, #24]
Lloh0:
	adrp	x9, _SUPPORTED_1000baseT_Full@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SUPPORTED_1000baseT_Full@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _SUPPORTED_1000baseT_Half@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SUPPORTED_1000baseT_Half@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	cset	w21, ne
Lloh6:
	adrp	x8, _S6_GMAC_MACCONF1_SOFTRES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _S6_GMAC_MACCONF1_SOFTRES@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	w22, #1
	lsl	w0, w22, w8
	ldr	x8, [x19]
Lloh9:
	adrp	x25, _S6_GMAC_MACCONF1@GOTPAGE
Lloh10:
	ldr	x25, [x25, _S6_GMAC_MACCONF1@GOTPAGEOFF]
	ldr	x9, [x25]
	add	x1, x9, x8
	bl	_writel
	mov	w0, #1000
	bl	_udelay
Lloh11:
	adrp	x26, _S6_GMAC_MACCONF1_TXENA@GOTPAGE
Lloh12:
	ldr	x26, [x26, _S6_GMAC_MACCONF1_TXENA@GOTPAGEOFF]
	ldr	w8, [x26]
	lsl	w8, w22, w8
Lloh13:
	adrp	x27, _S6_GMAC_MACCONF1_RXENA@GOTPAGE
Lloh14:
	ldr	x27, [x27, _S6_GMAC_MACCONF1_RXENA@GOTPAGEOFF]
	ldr	w9, [x27]
	lsl	w9, w22, w9
	orr	w0, w9, w8
	ldr	x8, [x19]
	ldr	x9, [x25]
	add	x1, x9, x8
	bl	_writel
Lloh15:
	adrp	x8, _S6_GMAC_HOST_PBLKCTRL_TXSRES@GOTPAGE
Lloh16:
	ldr	x8, [x8, _S6_GMAC_HOST_PBLKCTRL_TXSRES@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	lsl	w8, w22, w8
Lloh18:
	adrp	x9, _S6_GMAC_HOST_PBLKCTRL_RXSRES@GOTPAGE
Lloh19:
	ldr	x9, [x9, _S6_GMAC_HOST_PBLKCTRL_RXSRES@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	lsl	w9, w22, w9
	orr	w0, w9, w8
	ldr	x8, [x19]
Lloh21:
	adrp	x23, _S6_GMAC_HOST_PBLKCTRL@GOTPAGE
Lloh22:
	ldr	x23, [x23, _S6_GMAC_HOST_PBLKCTRL@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x1, x9, x8
	bl	_writel
Lloh23:
	adrp	x8, _S6_GMAC_HOST_PBLKCTRL_SIZ_128@GOTPAGE
Lloh24:
	ldr	x8, [x8, _S6_GMAC_HOST_PBLKCTRL_SIZ_128@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _S6_GMAC_HOST_PBLKCTRL_TXBSIZ@GOTPAGE
Lloh27:
	ldr	x9, [x9, _S6_GMAC_HOST_PBLKCTRL_TXBSIZ@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	lsl	w9, w8, w9
Lloh29:
	adrp	x10, _S6_GMAC_HOST_PBLKCTRL_RXBSIZ@GOTPAGE
Lloh30:
	ldr	x10, [x10, _S6_GMAC_HOST_PBLKCTRL_RXBSIZ@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w8, w8, w9
Lloh32:
	adrp	x9, _S6_GMAC_HOST_PBLKCTRL_STATENA@GOTPAGE
Lloh33:
	ldr	x9, [x9, _S6_GMAC_HOST_PBLKCTRL_STATENA@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	lsl	w9, w22, w9
Lloh35:
	adrp	x10, _S6_GMAC_HOST_PBLKCTRL_STATCLEAR@GOTPAGE
Lloh36:
	ldr	x10, [x10, _S6_GMAC_HOST_PBLKCTRL_STATCLEAR@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh37:
	ldr	w9, [x10]
	lsl	w9, w22, w9
	orr	w8, w8, w9
Lloh38:
	adrp	x9, _S6_GMAC_HOST_PBLKCTRL_RGMII@GOTPAGE
Lloh39:
	ldr	x9, [x9, _S6_GMAC_HOST_PBLKCTRL_RGMII@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	str	w21, [sp, #12]                  ; 4-byte Folded Spill
	lsl	w9, w21, w9
	orr	w0, w8, w9
	ldr	x8, [x19]
	ldr	x9, [x23]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x26]
	lsl	w8, w22, w8
	ldr	w9, [x27]
	lsl	w9, w22, w9
	orr	w8, w9, w8
Lloh41:
	adrp	x9, _IFF_LOOPBACK@GOTPAGE
Lloh42:
	ldr	x9, [x9, _IFF_LOOPBACK@GOTPAGEOFF]
	ldr	w10, [x20]
Lloh43:
	ldr	w9, [x9]
	tst	w9, w10
	cset	w9, ne
Lloh44:
	adrp	x10, _S6_GMAC_MACCONF1_LOOPBACK@GOTPAGE
Lloh45:
	ldr	x10, [x10, _S6_GMAC_MACCONF1_LOOPBACK@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w0, w8, w9
	ldr	x8, [x19]
	ldr	x9, [x25]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x20, #4]
Lloh47:
	adrp	x9, _S6_MAX_FRLEN@GOTPAGE
Lloh48:
	ldr	x9, [x9, _S6_MAX_FRLEN@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x9]
	cbz	w8, LBB0_2
; %bb.1:
Lloh50:
	adrp	x9, _ETH_HLEN@GOTPAGE
Lloh51:
	ldr	x9, [x9, _ETH_HLEN@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
Lloh53:
	adrp	x10, _ETH_FCS_LEN@GOTPAGE
Lloh54:
	ldr	x10, [x10, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh55:
	ldr	w10, [x10]
	add	w9, w9, w10
	sub	w10, w0, w9
	add	w9, w9, w8
	cmp	w8, w10
	csel	w0, w9, w0, lt
LBB0_2:
	ldr	x8, [x19]
Lloh56:
	adrp	x9, _S6_GMAC_MACMAXFRAMELEN@GOTPAGE
Lloh57:
	ldr	x9, [x9, _S6_GMAC_MACMAXFRAMELEN@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w8, ne
Lloh59:
	adrp	x9, _S6_GMAC_MACCONF2_FULL@GOTPAGE
Lloh60:
	ldr	x9, [x9, _S6_GMAC_MACCONF2_FULL@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh62:
	adrp	x9, _S6_GMAC_MACCONF2_PADCRCENA@GOTPAGE
Lloh63:
	ldr	x9, [x9, _S6_GMAC_MACCONF2_PADCRCENA@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	lsl	w9, w22, w9
	orr	w8, w8, w9
Lloh65:
	adrp	x9, _S6_GMAC_MACCONF2_LENGTHFCHK@GOTPAGE
Lloh66:
	ldr	x9, [x9, _S6_GMAC_MACCONF2_LENGTHFCHK@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
	lsl	w9, w22, w9
	orr	w8, w8, w9
	ldr	w9, [x19, #8]
Lloh68:
	adrp	x10, _S6_GMAC_MACCONF2_IFMODE_BYTE@GOTPAGE
Lloh69:
	ldr	x10, [x10, _S6_GMAC_MACCONF2_IFMODE_BYTE@GOTPAGEOFF]
Lloh70:
	adrp	x11, _S6_GMAC_MACCONF2_IFMODE_NIBBLE@GOTPAGE
Lloh71:
	ldr	x11, [x11, _S6_GMAC_MACCONF2_IFMODE_NIBBLE@GOTPAGEOFF]
	cmp	w9, #0
	csel	x9, x11, x10, eq
	ldr	w9, [x9]
Lloh72:
	adrp	x10, _S6_GMAC_MACCONF2_IFMODE@GOTPAGE
Lloh73:
	ldr	x10, [x10, _S6_GMAC_MACCONF2_IFMODE@GOTPAGEOFF]
Lloh74:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
Lloh75:
	adrp	x9, _S6_GMAC_MACCONF2_PREAMBLELEN@GOTPAGE
Lloh76:
	ldr	x9, [x9, _S6_GMAC_MACCONF2_PREAMBLELEN@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	mov	w10, #7
	lsl	w9, w10, w9
	orr	w0, w8, w9
	ldr	x8, [x19]
Lloh78:
	adrp	x9, _S6_GMAC_MACCONF2@GOTPAGE
Lloh79:
	ldr	x9, [x9, _S6_GMAC_MACCONF2@GOTPAGEOFF]
Lloh80:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
Lloh81:
	adrp	x9, _S6_GMAC_MACSTATADDR1@GOTPAGE
Lloh82:
	ldr	x9, [x9, _S6_GMAC_MACSTATADDR1@GOTPAGEOFF]
Lloh83:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh84:
	adrp	x9, _S6_GMAC_MACSTATADDR2@GOTPAGE
Lloh85:
	ldr	x9, [x9, _S6_GMAC_MACSTATADDR2@GOTPAGEOFF]
Lloh86:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
Lloh87:
	adrp	x8, _S6_GMAC_FIFOCONF0_WTMENREQ@GOTPAGE
Lloh88:
	ldr	x8, [x8, _S6_GMAC_FIFOCONF0_WTMENREQ@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
Lloh90:
	adrp	x9, _S6_GMAC_FIFOCONF0_SRFENREQ@GOTPAGE
Lloh91:
	ldr	x9, [x9, _S6_GMAC_FIFOCONF0_SRFENREQ@GOTPAGEOFF]
	lsl	w8, w22, w8
Lloh92:
	ldr	w9, [x9]
	lsl	w9, w22, w9
	orr	w8, w9, w8
Lloh93:
	adrp	x9, _S6_GMAC_FIFOCONF0_FRFENREQ@GOTPAGE
Lloh94:
	ldr	x9, [x9, _S6_GMAC_FIFOCONF0_FRFENREQ@GOTPAGEOFF]
Lloh95:
	ldr	w9, [x9]
	lsl	w9, w22, w9
	orr	w8, w8, w9
Lloh96:
	adrp	x9, _S6_GMAC_FIFOCONF0_STFENREQ@GOTPAGE
Lloh97:
	ldr	x9, [x9, _S6_GMAC_FIFOCONF0_STFENREQ@GOTPAGEOFF]
Lloh98:
	ldr	w9, [x9]
	lsl	w9, w22, w9
	orr	w8, w8, w9
Lloh99:
	adrp	x9, _S6_GMAC_FIFOCONF0_FTFENREQ@GOTPAGE
Lloh100:
	ldr	x9, [x9, _S6_GMAC_FIFOCONF0_FTFENREQ@GOTPAGEOFF]
Lloh101:
	ldr	w9, [x9]
	lsl	w9, w22, w9
	orr	w0, w8, w9
	ldr	x8, [x19]
Lloh102:
	adrp	x9, _S6_GMAC_FIFOCONF0@GOTPAGE
Lloh103:
	ldr	x9, [x9, _S6_GMAC_FIFOCONF0@GOTPAGEOFF]
Lloh104:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh105:
	adrp	x8, _S6_GMAC_FIFOCONF3_CFGFTTH@GOTPAGE
Lloh106:
	ldr	x8, [x8, _S6_GMAC_FIFOCONF3_CFGFTTH@GOTPAGEOFF]
Lloh107:
	ldr	w8, [x8]
	mov	w9, #128
	lsl	w8, w9, w8
Lloh108:
	adrp	x10, _S6_GMAC_FIFOCONF3_CFGHWMFT@GOTPAGE
Lloh109:
	ldr	x10, [x10, _S6_GMAC_FIFOCONF3_CFGHWMFT@GOTPAGEOFF]
Lloh110:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w0, w9, w8
	ldr	x8, [x19]
Lloh111:
	adrp	x9, _S6_GMAC_FIFOCONF3@GOTPAGE
Lloh112:
	ldr	x9, [x9, _S6_GMAC_FIFOCONF3@GOTPAGEOFF]
Lloh113:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh114:
	adrp	x8, _S6_GMAC_FIFOCONF_RSV_MASK@GOTPAGE
Lloh115:
	ldr	x8, [x8, _S6_GMAC_FIFOCONF_RSV_MASK@GOTPAGEOFF]
Lloh116:
	adrp	x25, _S6_GMAC_FIFOCONF_RSV_RUNT@GOTPAGE
Lloh117:
	ldr	x25, [x25, _S6_GMAC_FIFOCONF_RSV_RUNT@GOTPAGEOFF]
Lloh118:
	ldr	w8, [x8]
	ldr	w9, [x25]
	lsl	w9, w22, w9
Lloh119:
	adrp	x26, _S6_GMAC_FIFOCONF_RSV_CRCERR@GOTPAGE
Lloh120:
	ldr	x26, [x26, _S6_GMAC_FIFOCONF_RSV_CRCERR@GOTPAGEOFF]
	ldr	w10, [x26]
	lsl	w10, w22, w10
	orr	w9, w10, w9
Lloh121:
	adrp	x10, _S6_GMAC_FIFOCONF_RSV_OK@GOTPAGE
Lloh122:
	ldr	x10, [x10, _S6_GMAC_FIFOCONF_RSV_OK@GOTPAGEOFF]
Lloh123:
	ldr	w10, [x10]
	lsl	w10, w22, w10
	orr	w9, w9, w10
Lloh124:
	adrp	x27, _S6_GMAC_FIFOCONF_RSV_DRIBBLE@GOTPAGE
Lloh125:
	ldr	x27, [x27, _S6_GMAC_FIFOCONF_RSV_DRIBBLE@GOTPAGEOFF]
	ldr	w10, [x27]
	lsl	w10, w22, w10
	orr	w9, w9, w10
Lloh126:
	adrp	x28, _S6_GMAC_FIFOCONF_RSV_CTRLFRAME@GOTPAGE
Lloh127:
	ldr	x28, [x28, _S6_GMAC_FIFOCONF_RSV_CTRLFRAME@GOTPAGEOFF]
	ldr	w10, [x28]
	lsl	w10, w22, w10
Lloh128:
	adrp	x24, _S6_GMAC_FIFOCONF_RSV_PAUSECTRL@GOTPAGE
Lloh129:
	ldr	x24, [x24, _S6_GMAC_FIFOCONF_RSV_PAUSECTRL@GOTPAGEOFF]
	orr	w9, w9, w10
	ldr	w10, [x24]
	lsl	w10, w22, w10
	orr	w9, w9, w10
Lloh130:
	adrp	x23, _S6_GMAC_FIFOCONF_RSV_UNOPCODE@GOTPAGE
Lloh131:
	ldr	x23, [x23, _S6_GMAC_FIFOCONF_RSV_UNOPCODE@GOTPAGEOFF]
	ldr	w10, [x23]
	lsl	w10, w22, w10
	orr	w9, w9, w10
Lloh132:
	adrp	x21, _S6_GMAC_FIFOCONF_RSV_TRUNCATED@GOTPAGE
Lloh133:
	ldr	x21, [x21, _S6_GMAC_FIFOCONF_RSV_TRUNCATED@GOTPAGEOFF]
	ldr	w10, [x21]
	lsl	w10, w22, w10
	orr	w9, w9, w10
	bic	w8, w8, w9
Lloh134:
	adrp	x9, _S6_GMAC_FIFOCONF5_DROPLT64@GOTPAGE
Lloh135:
	ldr	x9, [x9, _S6_GMAC_FIFOCONF5_DROPLT64@GOTPAGEOFF]
Lloh136:
	ldr	w9, [x9]
	lsl	w9, w22, w9
	orr	w8, w8, w9
	ldr	w9, [x19, #8]
Lloh137:
	adrp	x10, _S6_GMAC_FIFOCONF5_CFGBYTM@GOTPAGE
Lloh138:
	ldr	x10, [x10, _S6_GMAC_FIFOCONF5_CFGBYTM@GOTPAGEOFF]
Lloh139:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
Lloh140:
	adrp	x9, _S6_GMAC_FIFOCONF5_RXDROPSIZE@GOTPAGE
Lloh141:
	ldr	x9, [x9, _S6_GMAC_FIFOCONF5_RXDROPSIZE@GOTPAGEOFF]
Lloh142:
	ldr	w9, [x9]
	lsl	w9, w22, w9
	orr	w0, w8, w9
	ldr	x8, [x19]
Lloh143:
	adrp	x9, _S6_GMAC_FIFOCONF5@GOTPAGE
Lloh144:
	ldr	x9, [x9, _S6_GMAC_FIFOCONF5@GOTPAGEOFF]
Lloh145:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x25]
	lsl	w8, w22, w8
	ldr	w9, [x26]
	lsl	w9, w22, w9
	orr	w8, w9, w8
	ldr	w9, [x27]
	lsl	w9, w22, w9
	orr	w8, w8, w9
	ldr	w9, [x28]
	lsl	w9, w22, w9
	orr	w8, w8, w9
	ldr	w9, [x24]
	lsl	w9, w22, w9
	orr	w8, w8, w9
	ldr	w9, [x23]
	lsl	w9, w22, w9
	orr	w8, w8, w9
	ldr	w9, [x21]
	lsl	w9, w22, w9
	orr	w0, w8, w9
	ldr	x8, [x19]
Lloh146:
	adrp	x9, _S6_GMAC_FIFOCONF4@GOTPAGE
Lloh147:
	ldr	x9, [x9, _S6_GMAC_FIFOCONF4@GOTPAGEOFF]
Lloh148:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	x0, x19
	mov	w1, #0
	mov	w2, #-1
	mov	w3, #65535
	mov	w4, #-1
	mov	w5, #65535
	bl	_s6gmac_set_dstaddr
	ldr	x8, [x20, #8]
	ldp	w10, w9, [x8, #16]
	orr	w9, w9, w10, lsl #8
	ldp	w11, w10, [x8, #8]
	orr	w9, w9, w10, lsl #16
	orr	w2, w9, w11, lsl #24
	ldp	w8, w9, [x8]
	orr	w3, w9, w8, lsl #8
	mov	x0, x19
	mov	w1, #1
	mov	w4, #-1
	mov	w5, #65535
	bl	_s6gmac_set_dstaddr
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	mov	w3, #256
	mov	w4, #0
	mov	w5, #256
	bl	_s6gmac_set_dstaddr
	mov	x0, x19
	mov	w1, #3
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	bl	_s6gmac_set_dstaddr
Lloh149:
	adrp	x8, _S6_GMAC_HOST_PBLKCTRL_TXENA@GOTPAGE
Lloh150:
	ldr	x8, [x8, _S6_GMAC_HOST_PBLKCTRL_TXENA@GOTPAGEOFF]
Lloh151:
	ldr	w8, [x8]
	lsl	w8, w22, w8
Lloh152:
	adrp	x9, _S6_GMAC_HOST_PBLKCTRL_RXENA@GOTPAGE
Lloh153:
	ldr	x9, [x9, _S6_GMAC_HOST_PBLKCTRL_RXENA@GOTPAGEOFF]
Lloh154:
	ldr	w9, [x9]
	lsl	w9, w22, w9
	orr	w8, w9, w8
Lloh155:
	adrp	x9, _S6_GMAC_HOST_PBLKCTRL_SIZ_128@GOTPAGE
Lloh156:
	ldr	x9, [x9, _S6_GMAC_HOST_PBLKCTRL_SIZ_128@GOTPAGEOFF]
Lloh157:
	ldr	w9, [x9]
Lloh158:
	adrp	x10, _S6_GMAC_HOST_PBLKCTRL_TXBSIZ@GOTPAGE
Lloh159:
	ldr	x10, [x10, _S6_GMAC_HOST_PBLKCTRL_TXBSIZ@GOTPAGEOFF]
Lloh160:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w8, w10
Lloh161:
	adrp	x10, _S6_GMAC_HOST_PBLKCTRL_RXBSIZ@GOTPAGE
Lloh162:
	ldr	x10, [x10, _S6_GMAC_HOST_PBLKCTRL_RXBSIZ@GOTPAGEOFF]
Lloh163:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
Lloh164:
	adrp	x9, _S6_GMAC_HOST_PBLKCTRL_STATENA@GOTPAGE
Lloh165:
	ldr	x9, [x9, _S6_GMAC_HOST_PBLKCTRL_STATENA@GOTPAGEOFF]
Lloh166:
	ldr	w9, [x9]
	lsl	w9, w22, w9
	orr	w8, w8, w9
Lloh167:
	adrp	x9, _S6_GMAC_HOST_PBLKCTRL_STATCLEAR@GOTPAGE
Lloh168:
	ldr	x9, [x9, _S6_GMAC_HOST_PBLKCTRL_STATCLEAR@GOTPAGEOFF]
Lloh169:
	ldr	w9, [x9]
	lsl	w9, w22, w9
	orr	w8, w8, w9
Lloh170:
	adrp	x9, _S6_GMAC_HOST_PBLKCTRL_RGMII@GOTPAGE
Lloh171:
	ldr	x9, [x9, _S6_GMAC_HOST_PBLKCTRL_RGMII@GOTPAGEOFF]
Lloh172:
	ldr	w9, [x9]
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
	lsl	w9, w10, w9
	orr	w0, w8, w9
	ldr	x8, [x19]
Lloh173:
	adrp	x9, _S6_GMAC_HOST_PBLKCTRL@GOTPAGE
Lloh174:
	ldr	x9, [x9, _S6_GMAC_HOST_PBLKCTRL@GOTPAGEOFF]
Lloh175:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_writel
	.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 AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh173, Lloh174, Lloh175
	.loh AdrpLdrGotLdr	Lloh170, Lloh171, Lloh172
	.loh AdrpLdrGotLdr	Lloh167, Lloh168, Lloh169
	.loh AdrpLdrGotLdr	Lloh164, Lloh165, Lloh166
	.loh AdrpLdrGotLdr	Lloh161, Lloh162, Lloh163
	.loh AdrpLdrGotLdr	Lloh158, Lloh159, Lloh160
	.loh AdrpLdrGotLdr	Lloh155, Lloh156, Lloh157
	.loh AdrpLdrGotLdr	Lloh152, Lloh153, Lloh154
	.loh AdrpLdrGotLdr	Lloh149, Lloh150, Lloh151
	.loh AdrpLdrGotLdr	Lloh146, Lloh147, Lloh148
	.loh AdrpLdrGotLdr	Lloh143, Lloh144, Lloh145
	.loh AdrpLdrGotLdr	Lloh140, Lloh141, Lloh142
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh139
	.loh AdrpLdrGotLdr	Lloh134, Lloh135, Lloh136
	.loh AdrpLdrGot	Lloh132, Lloh133
	.loh AdrpLdrGot	Lloh130, Lloh131
	.loh AdrpLdrGot	Lloh128, Lloh129
	.loh AdrpLdrGot	Lloh126, Lloh127
	.loh AdrpLdrGot	Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGot	Lloh119, Lloh120
	.loh AdrpLdrGot	Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh118
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_SUPPORTED_1000baseT_Full,4,2   ; @SUPPORTED_1000baseT_Full
	.comm	_SUPPORTED_1000baseT_Half,4,2   ; @SUPPORTED_1000baseT_Half
	.comm	_S6_GMAC_MACCONF1_SOFTRES,4,2   ; @S6_GMAC_MACCONF1_SOFTRES
	.comm	_S6_GMAC_MACCONF1,8,3           ; @S6_GMAC_MACCONF1
	.comm	_S6_GMAC_MACCONF1_TXENA,4,2     ; @S6_GMAC_MACCONF1_TXENA
	.comm	_S6_GMAC_MACCONF1_RXENA,4,2     ; @S6_GMAC_MACCONF1_RXENA
	.comm	_S6_GMAC_HOST_PBLKCTRL_TXSRES,4,2 ; @S6_GMAC_HOST_PBLKCTRL_TXSRES
	.comm	_S6_GMAC_HOST_PBLKCTRL_RXSRES,4,2 ; @S6_GMAC_HOST_PBLKCTRL_RXSRES
	.comm	_S6_GMAC_HOST_PBLKCTRL,8,3      ; @S6_GMAC_HOST_PBLKCTRL
	.comm	_S6_GMAC_HOST_PBLKCTRL_SIZ_128,4,2 ; @S6_GMAC_HOST_PBLKCTRL_SIZ_128
	.comm	_S6_GMAC_HOST_PBLKCTRL_TXBSIZ,4,2 ; @S6_GMAC_HOST_PBLKCTRL_TXBSIZ
	.comm	_S6_GMAC_HOST_PBLKCTRL_RXBSIZ,4,2 ; @S6_GMAC_HOST_PBLKCTRL_RXBSIZ
	.comm	_S6_GMAC_HOST_PBLKCTRL_STATENA,4,2 ; @S6_GMAC_HOST_PBLKCTRL_STATENA
	.comm	_S6_GMAC_HOST_PBLKCTRL_STATCLEAR,4,2 ; @S6_GMAC_HOST_PBLKCTRL_STATCLEAR
	.comm	_S6_GMAC_HOST_PBLKCTRL_RGMII,4,2 ; @S6_GMAC_HOST_PBLKCTRL_RGMII
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.comm	_S6_GMAC_MACCONF1_LOOPBACK,4,2  ; @S6_GMAC_MACCONF1_LOOPBACK
	.comm	_S6_MAX_FRLEN,4,2               ; @S6_MAX_FRLEN
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_ETH_FCS_LEN,4,2                ; @ETH_FCS_LEN
	.comm	_S6_GMAC_MACMAXFRAMELEN,8,3     ; @S6_GMAC_MACMAXFRAMELEN
	.comm	_S6_GMAC_MACCONF2_FULL,4,2      ; @S6_GMAC_MACCONF2_FULL
	.comm	_S6_GMAC_MACCONF2_PADCRCENA,4,2 ; @S6_GMAC_MACCONF2_PADCRCENA
	.comm	_S6_GMAC_MACCONF2_LENGTHFCHK,4,2 ; @S6_GMAC_MACCONF2_LENGTHFCHK
	.comm	_S6_GMAC_MACCONF2_IFMODE_BYTE,4,2 ; @S6_GMAC_MACCONF2_IFMODE_BYTE
	.comm	_S6_GMAC_MACCONF2_IFMODE_NIBBLE,4,2 ; @S6_GMAC_MACCONF2_IFMODE_NIBBLE
	.comm	_S6_GMAC_MACCONF2_IFMODE,4,2    ; @S6_GMAC_MACCONF2_IFMODE
	.comm	_S6_GMAC_MACCONF2_PREAMBLELEN,4,2 ; @S6_GMAC_MACCONF2_PREAMBLELEN
	.comm	_S6_GMAC_MACCONF2,8,3           ; @S6_GMAC_MACCONF2
	.comm	_S6_GMAC_MACSTATADDR1,8,3       ; @S6_GMAC_MACSTATADDR1
	.comm	_S6_GMAC_MACSTATADDR2,8,3       ; @S6_GMAC_MACSTATADDR2
	.comm	_S6_GMAC_FIFOCONF0_WTMENREQ,4,2 ; @S6_GMAC_FIFOCONF0_WTMENREQ
	.comm	_S6_GMAC_FIFOCONF0_SRFENREQ,4,2 ; @S6_GMAC_FIFOCONF0_SRFENREQ
	.comm	_S6_GMAC_FIFOCONF0_FRFENREQ,4,2 ; @S6_GMAC_FIFOCONF0_FRFENREQ
	.comm	_S6_GMAC_FIFOCONF0_STFENREQ,4,2 ; @S6_GMAC_FIFOCONF0_STFENREQ
	.comm	_S6_GMAC_FIFOCONF0_FTFENREQ,4,2 ; @S6_GMAC_FIFOCONF0_FTFENREQ
	.comm	_S6_GMAC_FIFOCONF0,8,3          ; @S6_GMAC_FIFOCONF0
	.comm	_S6_GMAC_FIFOCONF3_CFGFTTH,4,2  ; @S6_GMAC_FIFOCONF3_CFGFTTH
	.comm	_S6_GMAC_FIFOCONF3_CFGHWMFT,4,2 ; @S6_GMAC_FIFOCONF3_CFGHWMFT
	.comm	_S6_GMAC_FIFOCONF3,8,3          ; @S6_GMAC_FIFOCONF3
	.comm	_S6_GMAC_FIFOCONF_RSV_MASK,4,2  ; @S6_GMAC_FIFOCONF_RSV_MASK
	.comm	_S6_GMAC_FIFOCONF_RSV_RUNT,4,2  ; @S6_GMAC_FIFOCONF_RSV_RUNT
	.comm	_S6_GMAC_FIFOCONF_RSV_CRCERR,4,2 ; @S6_GMAC_FIFOCONF_RSV_CRCERR
	.comm	_S6_GMAC_FIFOCONF_RSV_OK,4,2    ; @S6_GMAC_FIFOCONF_RSV_OK
	.comm	_S6_GMAC_FIFOCONF_RSV_DRIBBLE,4,2 ; @S6_GMAC_FIFOCONF_RSV_DRIBBLE
	.comm	_S6_GMAC_FIFOCONF_RSV_CTRLFRAME,4,2 ; @S6_GMAC_FIFOCONF_RSV_CTRLFRAME
	.comm	_S6_GMAC_FIFOCONF_RSV_PAUSECTRL,4,2 ; @S6_GMAC_FIFOCONF_RSV_PAUSECTRL
	.comm	_S6_GMAC_FIFOCONF_RSV_UNOPCODE,4,2 ; @S6_GMAC_FIFOCONF_RSV_UNOPCODE
	.comm	_S6_GMAC_FIFOCONF_RSV_TRUNCATED,4,2 ; @S6_GMAC_FIFOCONF_RSV_TRUNCATED
	.comm	_S6_GMAC_FIFOCONF5_DROPLT64,4,2 ; @S6_GMAC_FIFOCONF5_DROPLT64
	.comm	_S6_GMAC_FIFOCONF5_CFGBYTM,4,2  ; @S6_GMAC_FIFOCONF5_CFGBYTM
	.comm	_S6_GMAC_FIFOCONF5_RXDROPSIZE,4,2 ; @S6_GMAC_FIFOCONF5_RXDROPSIZE
	.comm	_S6_GMAC_FIFOCONF5,8,3          ; @S6_GMAC_FIFOCONF5
	.comm	_S6_GMAC_FIFOCONF4,8,3          ; @S6_GMAC_FIFOCONF4
	.comm	_S6_GMAC_HOST_PBLKCTRL_TXENA,4,2 ; @S6_GMAC_HOST_PBLKCTRL_TXENA
	.comm	_S6_GMAC_HOST_PBLKCTRL_RXENA,4,2 ; @S6_GMAC_HOST_PBLKCTRL_RXENA
	.comm	_S6_GMAC_MACCONF1_RESRXFUNC,4,2 ; @S6_GMAC_MACCONF1_RESRXFUNC
	.comm	_S6_GMAC_MACCONF1_RESRXMACCTRL,4,2 ; @S6_GMAC_MACCONF1_RESRXMACCTRL
	.comm	_S6_GMAC_MACCONF1_RESTXFUNC,4,2 ; @S6_GMAC_MACCONF1_RESTXFUNC
	.comm	_S6_GMAC_MACCONF1_RESTXMACCTRL,4,2 ; @S6_GMAC_MACCONF1_RESTXMACCTRL
	.comm	_S6_GMAC_MACCONF1_RXFLOWCTRL,4,2 ; @S6_GMAC_MACCONF1_RXFLOWCTRL
	.comm	_S6_GMAC_MACCONF1_SYNCRX,4,2    ; @S6_GMAC_MACCONF1_SYNCRX
	.comm	_S6_GMAC_MACCONF1_SYNCTX,4,2    ; @S6_GMAC_MACCONF1_SYNCTX
	.comm	_S6_GMAC_MACCONF1_TXFLOWCTRL,4,2 ; @S6_GMAC_MACCONF1_TXFLOWCTRL
	.no_dead_strip	_s6gmac_init_device
.subsections_via_symbols
