	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function falcon_reconfigure_port
_falcon_reconfigure_port:               ## @falcon_reconfigure_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_ef4_nic_rev
	movq	_EF4_REV_FALCON_B0@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setg	%dil
	callq	_WARN_ON
	movq	%rbx, %rdi
	callq	_LOOPBACK_INTERNAL
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_falcon_loopback_link_poll
	jmp	LBB0_3
LBB0_2:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	callq	*8(%rax)
LBB0_3:
	movq	%rbx, %rdi
	callq	_falcon_stop_nic_stats
	movq	%rbx, %rdi
	callq	_falcon_deconfigure_mac_wrapper
	movq	%rbx, %rdi
	callq	_falcon_reset_macs
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	%rbx, %rdi
	callq	_falcon_reconfigure_xmac
	movl	%eax, %edi
	callq	_BUG_ON
	movq	%rbx, %rdi
	callq	_falcon_start_nic_stats
	movq	%rbx, %rdi
	callq	_ef4_link_status_changed
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EF4_REV_FALCON_B0,8,3          ## @EF4_REV_FALCON_B0
	.no_dead_strip	_falcon_reconfigure_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function falcon_reconfigure_port
_falcon_reconfigure_port:               ; @falcon_reconfigure_port
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_ef4_nic_rev
Lloh0:
	adrp	x8, _EF4_REV_FALCON_B0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EF4_REV_FALCON_B0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, gt
	bl	_WARN_ON
	mov	x0, x19
	bl	_LOOPBACK_INTERNAL
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_falcon_loopback_link_poll
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
LBB0_3:
	mov	x0, x19
	bl	_falcon_stop_nic_stats
	mov	x0, x19
	bl	_falcon_deconfigure_mac_wrapper
	mov	x0, x19
	bl	_falcon_reset_macs
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	mov	x0, x19
	bl	_falcon_reconfigure_xmac
	bl	_BUG_ON
	mov	x0, x19
	bl	_falcon_start_nic_stats
	mov	x0, x19
	bl	_ef4_link_status_changed
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EF4_REV_FALCON_B0,8,3          ; @EF4_REV_FALCON_B0
	.no_dead_strip	_falcon_reconfigure_port
.subsections_via_symbols
