	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_link_start                  ## -- Begin function t4_link_start
	.p2align	4, 0x90
_t4_link_start:                         ## @t4_link_start
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r14d
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	_FW_PORT_MDI_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_PORT_MDI
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	$0, 32(%r12)
	movl	(%r12), %r13d
	movq	_PAUSE_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r13d, %eax
	je	LBB0_2
## %bb.1:
	movq	_FW_PORT_CAP_FC_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	movq	_PAUSE_TX@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r13d
	je	LBB0_4
## %bb.3:
	movq	_FW_PORT_CAP_FC_TX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
LBB0_4:
	orl	%eax, %r13d
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_FW_PORT_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_CMD_OP
	movl	%eax, %r15d
	movq	_FW_CMD_REQUEST@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_FW_CMD_EXEC@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	%r14d, %edi
	callq	_FW_PORT_CMD_PORTID
	orl	%eax, %r15d
	movl	%r15d, %edi
	callq	_htonl
	movq	%rax, -56(%rbp)
	movq	_FW_PORT_ACTION_L1_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_PORT_CMD_ACTION
	movl	%eax, %ebx
	movq	-56(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-72(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	callq	_FW_LEN16
	orl	%eax, %ebx
	movl	%ebx, %edi
	callq	_htonl
	movq	%rax, -64(%rbp)
	movl	4(%r12), %edi
	movq	_FW_PORT_CAP_ANEG@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_5
## %bb.7:
	movq	16(%r12), %rax
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	orl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	orl	24(%r12), %r13d
	movl	%r13d, %edi
	jmp	LBB0_6
LBB0_5:
	movq	_ADVERT_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	orl	%r13d, %edi
LBB0_6:
	callq	_htonl
	movq	_PAUSE_TX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_PAUSE_RX@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	%rax, -72(%rbp)
	andl	(%r12), %ecx
	movl	%ecx, 8(%r12)
	jmp	LBB0_10
LBB0_9:
	orl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	orl	28(%r12), %r13d
	movl	%r13d, %edi
	callq	_htonl
	movq	%rax, -72(%rbp)
LBB0_10:
	leaq	-72(%rbp), %rdx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	$24, %ecx
	xorl	%r8d, %r8d
	callq	_t4_wr_mbox
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_PORT_MDI_AUTO,4,2           ## @FW_PORT_MDI_AUTO
	.comm	_PAUSE_RX,4,2                   ## @PAUSE_RX
	.comm	_FW_PORT_CAP_FC_RX,4,2          ## @FW_PORT_CAP_FC_RX
	.comm	_PAUSE_TX,4,2                   ## @PAUSE_TX
	.comm	_FW_PORT_CAP_FC_TX,4,2          ## @FW_PORT_CAP_FC_TX
	.comm	_FW_PORT_CMD,4,2                ## @FW_PORT_CMD
	.comm	_FW_CMD_REQUEST,4,2             ## @FW_CMD_REQUEST
	.comm	_FW_CMD_EXEC,4,2                ## @FW_CMD_EXEC
	.comm	_FW_PORT_ACTION_L1_CFG,4,2      ## @FW_PORT_ACTION_L1_CFG
	.comm	_FW_PORT_CAP_ANEG,4,2           ## @FW_PORT_CAP_ANEG
	.comm	_ADVERT_MASK,4,2                ## @ADVERT_MASK
	.comm	_AUTONEG_DISABLE,8,3            ## @AUTONEG_DISABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_link_start                  ; -- Begin function t4_link_start
	.p2align	2
_t4_link_start:                         ; @t4_link_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _FW_PORT_MDI_AUTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_PORT_MDI_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_FW_PORT_MDI
	mov	x22, x0
	str	xzr, [x21, #32]
	ldr	w8, [x21]
Lloh3:
	adrp	x24, _PAUSE_RX@GOTPAGE
Lloh4:
	ldr	x24, [x24, _PAUSE_RX@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh5:
	adrp	x10, _FW_PORT_CAP_FC_RX@GOTPAGE
Lloh6:
	ldr	x10, [x10, _FW_PORT_CAP_FC_RX@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w9, wzr, w10, eq
Lloh8:
	adrp	x25, _PAUSE_TX@GOTPAGE
Lloh9:
	ldr	x25, [x25, _PAUSE_TX@GOTPAGEOFF]
	ldr	w10, [x25]
Lloh10:
	adrp	x11, _FW_PORT_CAP_FC_TX@GOTPAGE
Lloh11:
	ldr	x11, [x11, _FW_PORT_CAP_FC_TX@GOTPAGEOFF]
Lloh12:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w8, wzr, w11, eq
	orr	w26, w8, w9
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh13:
	adrp	x8, _FW_PORT_CMD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FW_PORT_CMD@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_FW_CMD_OP
Lloh16:
	adrp	x8, _FW_CMD_REQUEST@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FW_CMD_REQUEST@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh19:
	adrp	x9, _FW_CMD_EXEC@GOTPAGE
Lloh20:
	ldr	x9, [x9, _FW_CMD_EXEC@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w27, w8, w9
	mov	x0, x23
	bl	_FW_PORT_CMD_PORTID
	orr	w0, w27, w0
	bl	_htonl
	str	x0, [sp, #40]
Lloh22:
	adrp	x8, _FW_PORT_ACTION_L1_CFG@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FW_PORT_ACTION_L1_CFG@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_FW_PORT_CMD_ACTION
	mov	x23, x0
	ldur	q0, [sp, #24]
	str	q0, [sp]
	ldr	x8, [sp, #40]
	str	x8, [sp, #16]
	mov	x0, sp
	bl	_FW_LEN16
	orr	w0, w0, w23
	bl	_htonl
	str	x0, [sp, #32]
	ldr	w8, [x21, #4]
Lloh25:
	adrp	x9, _FW_PORT_CAP_ANEG@GOTPAGE
Lloh26:
	ldr	x9, [x9, _FW_PORT_CAP_ANEG@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x21, #16]
Lloh28:
	adrp	x9, _AUTONEG_DISABLE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x21, #24]
	orr	w9, w26, w22
	orr	w0, w9, w8
	b	LBB0_4
LBB0_3:
Lloh31:
	adrp	x9, _ADVERT_MASK@GOTPAGE
Lloh32:
	ldr	x9, [x9, _ADVERT_MASK@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	and	w8, w9, w8
	orr	w0, w8, w26
LBB0_4:
	bl	_htonl
	str	x0, [sp, #24]
	ldr	w8, [x21]
	ldr	w9, [x24]
	ldr	w10, [x25]
	orr	w9, w10, w9
	and	w8, w9, w8
	str	w8, [x21, #8]
	b	LBB0_6
LBB0_5:
	ldr	w8, [x21, #28]
	orr	w9, w26, w22
	orr	w0, w9, w8
	bl	_htonl
	str	x0, [sp, #24]
LBB0_6:
	add	x2, sp, #24
	mov	x0, x20
	mov	x1, x19
	mov	w3, #24
	mov	x4, #0
	bl	_t4_wr_mbox
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_PORT_MDI_AUTO,4,2           ; @FW_PORT_MDI_AUTO
	.comm	_PAUSE_RX,4,2                   ; @PAUSE_RX
	.comm	_FW_PORT_CAP_FC_RX,4,2          ; @FW_PORT_CAP_FC_RX
	.comm	_PAUSE_TX,4,2                   ; @PAUSE_TX
	.comm	_FW_PORT_CAP_FC_TX,4,2          ; @FW_PORT_CAP_FC_TX
	.comm	_FW_PORT_CMD,4,2                ; @FW_PORT_CMD
	.comm	_FW_CMD_REQUEST,4,2             ; @FW_CMD_REQUEST
	.comm	_FW_CMD_EXEC,4,2                ; @FW_CMD_EXEC
	.comm	_FW_PORT_ACTION_L1_CFG,4,2      ; @FW_PORT_ACTION_L1_CFG
	.comm	_FW_PORT_CAP_ANEG,4,2           ; @FW_PORT_CAP_ANEG
	.comm	_ADVERT_MASK,4,2                ; @ADVERT_MASK
	.comm	_AUTONEG_DISABLE,8,3            ; @AUTONEG_DISABLE
.subsections_via_symbols
