	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1c_start_mac
_atl1c_start_mac:                       ## @atl1c_start_mac
	.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, %rbx
	leaq	16(%rdi), %r14
	movq	_FULL_DUPLEX@GOTPCREL(%rip), %rax
	movq	(%rdi), %rcx
	movq	8(%rdi), %rdx
	xorl	%esi, %esi
	cmpq	(%rax), %rcx
	sete	%sil
	movl	%esi, 16(%rdi)
	movq	_SPEED_1000@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_1
## %bb.2:
	movq	_atl1c_mac_speed_1000@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_atl1c_mac_speed_10_100@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_REG_TXQ_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-52(%rbp), %rdx
	movq	%r14, %rdi
	callq	_AT_READ_REG
	movq	_REG_RXQ_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	callq	_AT_READ_REG
	movq	_REG_MAC_CTRL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	callq	_AT_READ_REG
	movq	_TXQ_CTRL_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -52(%rbp)
	movq	_RXQ_CTRL_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -48(%rbp)
	movq	_MAC_CTRL_TX_EN@GOTPCREL(%rip), %rax
	movq	_MAC_CTRL_TX_FLOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_MAC_CTRL_RX_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MAC_CTRL_RX_FLOW@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MAC_CTRL_ADD_CRC@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MAC_CTRL_PAD@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MAC_CTRL_BC_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MAC_CTRL_SINGLE_PAUSE_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MAC_CTRL_HASH_ALG_CRC32@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	orl	-44(%rbp), %edi
	movq	_MAC_CTRL_DUPLX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	notl	%ecx
	andl	%edi, %ecx
	orl	%eax, %edi
	cmpl	$0, 16(%rbx)
	cmovel	%ecx, %edi
	movl	%edi, -44(%rbp)
	movq	_MAC_CTRL_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%rbx), %edx
	callq	_FIELD_SETX
	movl	%eax, -44(%rbp)
	movq	_MAC_CTRL_PRMLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	20(%rbx), %edx
	movl	%eax, %edi
	callq	_FIELD_SETX
	movl	%eax, -44(%rbp)
	movl	(%r15), %esi
	movl	-52(%rbp), %edx
	movq	%r14, %rdi
	callq	_AT_WRITE_REG
	movl	(%r12), %esi
	movl	-48(%rbp), %edx
	movq	%r14, %rdi
	callq	_AT_WRITE_REG
	movl	(%r13), %esi
	movl	-44(%rbp), %edx
	movq	%r14, %rdi
	callq	_AT_WRITE_REG
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FULL_DUPLEX,8,3                ## @FULL_DUPLEX
	.comm	_SPEED_1000,8,3                 ## @SPEED_1000
	.comm	_atl1c_mac_speed_1000,4,2       ## @atl1c_mac_speed_1000
	.comm	_atl1c_mac_speed_10_100,4,2     ## @atl1c_mac_speed_10_100
	.comm	_REG_TXQ_CTRL,4,2               ## @REG_TXQ_CTRL
	.comm	_REG_RXQ_CTRL,4,2               ## @REG_RXQ_CTRL
	.comm	_REG_MAC_CTRL,4,2               ## @REG_MAC_CTRL
	.comm	_TXQ_CTRL_EN,4,2                ## @TXQ_CTRL_EN
	.comm	_RXQ_CTRL_EN,4,2                ## @RXQ_CTRL_EN
	.comm	_MAC_CTRL_TX_EN,4,2             ## @MAC_CTRL_TX_EN
	.comm	_MAC_CTRL_TX_FLOW,4,2           ## @MAC_CTRL_TX_FLOW
	.comm	_MAC_CTRL_RX_EN,4,2             ## @MAC_CTRL_RX_EN
	.comm	_MAC_CTRL_RX_FLOW,4,2           ## @MAC_CTRL_RX_FLOW
	.comm	_MAC_CTRL_ADD_CRC,4,2           ## @MAC_CTRL_ADD_CRC
	.comm	_MAC_CTRL_PAD,4,2               ## @MAC_CTRL_PAD
	.comm	_MAC_CTRL_BC_EN,4,2             ## @MAC_CTRL_BC_EN
	.comm	_MAC_CTRL_SINGLE_PAUSE_EN,4,2   ## @MAC_CTRL_SINGLE_PAUSE_EN
	.comm	_MAC_CTRL_HASH_ALG_CRC32,4,2    ## @MAC_CTRL_HASH_ALG_CRC32
	.comm	_MAC_CTRL_DUPLX,4,2             ## @MAC_CTRL_DUPLX
	.comm	_MAC_CTRL_SPEED,4,2             ## @MAC_CTRL_SPEED
	.comm	_MAC_CTRL_PRMLEN,4,2            ## @MAC_CTRL_PRMLEN
	.no_dead_strip	_atl1c_start_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1c_start_mac
_atl1c_start_mac:                       ; @atl1c_start_mac
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _FULL_DUPLEX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FULL_DUPLEX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w8, eq
	str	w8, [x19, #16]!
	ldur	x8, [x19, #-8]
Lloh3:
	adrp	x9, _SPEED_1000@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SPEED_1000@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _atl1c_mac_speed_1000@GOTPAGE
Lloh7:
	ldr	x10, [x10, _atl1c_mac_speed_1000@GOTPAGEOFF]
Lloh8:
	adrp	x11, _atl1c_mac_speed_10_100@GOTPAGE
Lloh9:
	ldr	x11, [x11, _atl1c_mac_speed_10_100@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh10:
	adrp	x20, _REG_TXQ_CTRL@GOTPAGE
Lloh11:
	ldr	x20, [x20, _REG_TXQ_CTRL@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #8
	mov	x0, x19
	bl	_AT_READ_REG
Lloh12:
	adrp	x21, _REG_RXQ_CTRL@GOTPAGE
Lloh13:
	ldr	x21, [x21, _REG_RXQ_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #4
	mov	x0, x19
	bl	_AT_READ_REG
Lloh14:
	adrp	x22, _REG_MAC_CTRL@GOTPAGE
Lloh15:
	ldr	x22, [x22, _REG_MAC_CTRL@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #12
	mov	x0, x19
	bl	_AT_READ_REG
Lloh16:
	adrp	x8, _TXQ_CTRL_EN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TXQ_CTRL_EN@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	orr	w8, w9, w8
	str	w8, [sp, #8]
Lloh19:
	adrp	x8, _RXQ_CTRL_EN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RXQ_CTRL_EN@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w9, [sp, #4]
	orr	w8, w9, w8
	str	w8, [sp, #4]
Lloh22:
	adrp	x8, _MAC_CTRL_TX_EN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MAC_CTRL_TX_EN@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _MAC_CTRL_TX_FLOW@GOTPAGE
Lloh26:
	ldr	x9, [x9, _MAC_CTRL_TX_FLOW@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	adrp	x10, _MAC_CTRL_RX_EN@GOTPAGE
Lloh29:
	ldr	x10, [x10, _MAC_CTRL_RX_EN@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh30:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh31:
	adrp	x9, _MAC_CTRL_RX_FLOW@GOTPAGE
Lloh32:
	ldr	x9, [x9, _MAC_CTRL_RX_FLOW@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh34:
	adrp	x9, _MAC_CTRL_ADD_CRC@GOTPAGE
Lloh35:
	ldr	x9, [x9, _MAC_CTRL_ADD_CRC@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
Lloh37:
	adrp	x10, _MAC_CTRL_PAD@GOTPAGE
Lloh38:
	ldr	x10, [x10, _MAC_CTRL_PAD@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh39:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh40:
	adrp	x9, _MAC_CTRL_BC_EN@GOTPAGE
Lloh41:
	ldr	x9, [x9, _MAC_CTRL_BC_EN@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh43:
	adrp	x9, _MAC_CTRL_SINGLE_PAUSE_EN@GOTPAGE
Lloh44:
	ldr	x9, [x9, _MAC_CTRL_SINGLE_PAUSE_EN@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
Lloh46:
	adrp	x10, _MAC_CTRL_HASH_ALG_CRC32@GOTPAGE
Lloh47:
	ldr	x10, [x10, _MAC_CTRL_HASH_ALG_CRC32@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh48:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w9, [sp, #12]
	orr	w8, w8, w9
	ldr	w9, [x19]
Lloh49:
	adrp	x10, _MAC_CTRL_DUPLX@GOTPAGE
Lloh50:
	ldr	x10, [x10, _MAC_CTRL_DUPLX@GOTPAGEOFF]
Lloh51:
	ldr	w10, [x10]
	bic	w11, w8, w10
	orr	w8, w10, w8
	cmp	w9, #0
	csel	w0, w11, w8, eq
	str	w0, [sp, #12]
Lloh52:
	adrp	x8, _MAC_CTRL_SPEED@GOTPAGE
Lloh53:
	ldr	x8, [x8, _MAC_CTRL_SPEED@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
	bl	_FIELD_SETX
	str	w0, [sp, #12]
Lloh55:
	adrp	x8, _MAC_CTRL_PRMLEN@GOTPAGE
Lloh56:
	ldr	x8, [x8, _MAC_CTRL_PRMLEN@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	bl	_FIELD_SETX
	str	w0, [sp, #12]
	ldr	w1, [x20]
	ldr	w2, [sp, #8]
	mov	x0, x19
	bl	_AT_WRITE_REG
	ldr	w1, [x21]
	ldr	w2, [sp, #4]
	mov	x0, x19
	bl	_AT_WRITE_REG
	ldr	w1, [x22]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_AT_WRITE_REG
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FULL_DUPLEX,8,3                ; @FULL_DUPLEX
	.comm	_SPEED_1000,8,3                 ; @SPEED_1000
	.comm	_atl1c_mac_speed_1000,4,2       ; @atl1c_mac_speed_1000
	.comm	_atl1c_mac_speed_10_100,4,2     ; @atl1c_mac_speed_10_100
	.comm	_REG_TXQ_CTRL,4,2               ; @REG_TXQ_CTRL
	.comm	_REG_RXQ_CTRL,4,2               ; @REG_RXQ_CTRL
	.comm	_REG_MAC_CTRL,4,2               ; @REG_MAC_CTRL
	.comm	_TXQ_CTRL_EN,4,2                ; @TXQ_CTRL_EN
	.comm	_RXQ_CTRL_EN,4,2                ; @RXQ_CTRL_EN
	.comm	_MAC_CTRL_TX_EN,4,2             ; @MAC_CTRL_TX_EN
	.comm	_MAC_CTRL_TX_FLOW,4,2           ; @MAC_CTRL_TX_FLOW
	.comm	_MAC_CTRL_RX_EN,4,2             ; @MAC_CTRL_RX_EN
	.comm	_MAC_CTRL_RX_FLOW,4,2           ; @MAC_CTRL_RX_FLOW
	.comm	_MAC_CTRL_ADD_CRC,4,2           ; @MAC_CTRL_ADD_CRC
	.comm	_MAC_CTRL_PAD,4,2               ; @MAC_CTRL_PAD
	.comm	_MAC_CTRL_BC_EN,4,2             ; @MAC_CTRL_BC_EN
	.comm	_MAC_CTRL_SINGLE_PAUSE_EN,4,2   ; @MAC_CTRL_SINGLE_PAUSE_EN
	.comm	_MAC_CTRL_HASH_ALG_CRC32,4,2    ; @MAC_CTRL_HASH_ALG_CRC32
	.comm	_MAC_CTRL_DUPLX,4,2             ; @MAC_CTRL_DUPLX
	.comm	_MAC_CTRL_SPEED,4,2             ; @MAC_CTRL_SPEED
	.comm	_MAC_CTRL_PRMLEN,4,2            ; @MAC_CTRL_PRMLEN
	.no_dead_strip	_atl1c_start_mac
.subsections_via_symbols
